1 2 // Merge in the client-visible compile-time environment. 3 window.process = { 4 ...window.process, 5 env: { 6 ...window.process?.env, 7 ...({"CI_COMMIT":"1f0db7f827f1d79edb03b7ca557f6729e7da95cb","CI_PIPELINE_ID":"4aaa4592-c12d-4dbe-81c7-aae7c092e38e","GOOGLE_CLOUD_PROJECT":"marketing-web-platform","DEPLOYMENT_TYPE":"production","NODE_ENV":"production","PREVIEW":"false","SITE_CONFIG":"snap"}) 8 } 9 }; 10 11 // Stop crashing when certain node libraries are imported. 12 window.global = window.global ?? {}; 13 14import{a as TM,b as We,c as Ln,d as FM}from"./chunks/chunk-YJEQAVLU.mjs";import{a as Hk,b as xt,c as kM,d as MM,e as ls,f as NM,g as EM,h as RM}from"./chunks/chunk-M3OGNGPP.mjs";import{a as Xl}from"./chunks/chunk-7V5IYON5.mjs";import{$ as O,A as Cn,B as Fd,C as ds,D as Bd,E as $M,F as LM,G as $d,H as HM,I as ui,J as VM,K as OM,L as Ld,M as yi,N as us,P as GM,Q as ys,R as Z,S as Tr,T as zM,U as UM,V as WM,W as QM,X as qM,Y as Wa,Z as KM,_ as vt,a as bd,aa as jM,b as _k,ba as YM,c as wk,ca as cp,d as sb,da as Hd,e as Dk,ea as Vd,f as Pk,fa as Ae,g as es,ga as XM,h as bn,ha as JM,i as Nk,ia as ZM,j as Ek,ja as ke,k as Sd,ka as e0,l as hd,la as t0,m as R,ma as Be,n as Va,na as Qa,o as Zl,oa as Hn,p as Rk,pa as Ar,q as Cd,qa,r as Xe,ra as ge,s as pp,sa as Je,t as AM,u as Ft,v as Ed,w as BM,x as Ua,y as sQ,z as Rd}from"./chunks/chunk-75275FIQ.mjs";import{A as vM,B as IM,C as He,D as ia,E as Dd,F as Vo,G as eo,a as xr,b as te,c as mM,d as _d,e as wd,f as Te,g as ap,h as gM,i as Ye,j as $n,k as fM,l as rp,m as ip,n as sp,o as lp,p as ub,q as yb,r as mb,s as gb,t as fb,u as bb,v as bM,w as SM,x as hM,y as CM,z as xM}from"./chunks/chunk-RAWFKP4D.mjs";import{a as Sb,b as Nd,c as to,d as ms,e as o0,j as hb}from"./chunks/chunk-CMUW3F64.mjs";import{a as PM}from"./chunks/chunk-SXNTNO3F.mjs";import{a as Pd,b as ps,c as kr,d as cs,e as wM,f as Ht,g as Mr}from"./chunks/chunk-HDJWQ64U.mjs";import"./chunks/chunk-FSGK63SD.mjs";import{a as sa,b as n0}from"./chunks/chunk-OAOK2W2U.mjs";import"./chunks/chunk-HM4GBHPA.mjs";import{a as _M}from"./chunks/chunk-YQ5KKLWY.mjs";import{a as Pe}from"./chunks/chunk-W3YDKMDV.mjs";import"./chunks/chunk-THU2VYMJ.mjs";import{a as vk,b as fd,c as Ik,d as kk,e as Mk,f as Tk,g as Ak,h as Ze,i as Ct,j as rt,k as dM,l as hn,m as Zo}from"./chunks/chunk-LZAIB4VZ.mjs";import{b as Oa,c as ta,d as Jo}from"./chunks/chunk-DZQDTFCB.mjs";import"./chunks/chunk-ZMBY44O3.mjs";import{a as iQ}from"./chunks/chunk-KIPVS6L3.mjs";import{a as DM}from"./chunks/chunk-SBPRIA5M.mjs";import{a as Cr}from"./chunks/chunk-CIM67FP5.mjs";import{$ as To,A as ep,Aa as is,B as ht,Ba as ra,C as a,Ca as uo,D as Zt,Da as Tt,E as oa,Ea as qt,F as Vk,Fa as Md,G as Ok,Ga as tM,H as zk,Ha as oM,I as na,Ia as nM,Ja as aM,K as Uk,Ka as rM,La as iM,Ma as sM,N as Ga,Na as lM,O as ct,Oa as pM,P as Wk,Q as Qk,Qa as vr,R as Mo,Ra as Td,S as vd,Sa as Ad,T as qk,Ta as cb,U as Qt,Ua as Ir,V as N,Va as np,W as H,Wa as za,X as tp,Xa as cM,Y as qe,Z as Kk,Za as yM,_ as Mt,a as ik,aa as Sn,b as P,ba as jk,c as Io,ca as co,d as tQ,da as ci,e as oQ,ea as os,f as sk,fa as Yk,g as lk,ga as Id,ha as pb,i as pk,ia as Xk,ja as ns,ka as Ao,m as Ho,ma as aa,n as h,na as Bn,o as Fk,oa as as,p as Xo,pa as op,q as c,qa as q,r as ts,ra as rQ,sa as ue,t as Bk,ta as i,u as $k,ua as x,v as ko,va as Jk,w as lb,wa as Zk,xa as eM,ya as rs,z as Lk,za as kd}from"./chunks/chunk-643YAMI5.mjs";import{a as ss,b as uM,c as di,e as db}from"./chunks/chunk-B5LUKU2Z.mjs";import{C as xd,F as Gk,a as ud,b as uk,d as yd,h as yk,i as hr,j as md,o as fk,p as gd,q as bk,r as Sk,u as hk,w as Ck,x as xk}from"./chunks/chunk-DEYQT3IT.mjs";import{A as gk,B as Yo,b as xe,d as T,f as we,m as ck,n as nQ,o as Jl,p as dk,y as mk,z as aQ}from"./chunks/chunk-5FWEU5MQ.mjs";var i0=xe((Zae,uQ)=>{uQ.exports={warning:"\u062A\u062D\u0630\u064A\u0631",message:`\u0644\u0627 \u062A\u062F\u062E\u0644 \u0631\u0645\u0632\u064B\u0627 \u0644\u0627 \u062A\u0641\u0647\u0645\u0647 \u0623\u0648 \u062A\u0644\u0635\u0642\u0647. 15\u0642\u062F \u064A\u0633\u0645\u062D \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0648\u062D\u062F\u0629 \u0627\u0644\u062A\u062D\u0643\u0645 \u0647\u0630\u0647 \u0644\u0644\u0645\u0639\u062A\u062F\u064A\u0646 \u0628\u0627\u0646\u062A\u062D\u0627\u0644 \u0634\u062E\u0635\u064A\u062A\u0643 \u0648\u0633\u0631\u0642\u0629 \u0645\u0639\u0644\u0648\u0645\u0627\u062A\u0643 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0647\u062C\u0645\u0629 \u062A\u0633\u0645\u0649 "\u0627\u0644\u0647\u062C\u0648\u0645 \u0627\u0644\u0630\u0627\u062A\u064A XSS".`}});var s0=xe((ere,yQ)=>{yQ.exports={warning:"\u09B8\u09A4\u09B0\u09CD\u0995\u09C0\u0995\u09B0\u09A3!",message:`\u0986\u09AA\u09A8\u09BF \u09AC\u09C1\u099D\u09A4\u09C7 \u09AA\u09BE\u09B0\u099B\u09C7 \u09A8\u09BE \u098F\u09AE\u09A8 \u0995\u09CB\u09A1 \u09B2\u09BF\u0996\u09AC\u09C7 \u09A8\u09BE \u09AC\u09BE \u09AA\u09C7\u09B8\u09CD\u099F \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE\u0964 16\u098F\u0987 \u0995\u09A8\u09B8\u09CB\u09B2\u099F\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u0995\u09CD\u09B0\u09AE\u09A3\u0995\u09BE\u09B0\u09C0\u09B0\u09BE \u0986\u09AA\u09A8\u09BE\u09B0 \u099B\u09A6\u09CD\u09AE\u09AC\u09C7\u09B6 \u09A7\u09BE\u09B0\u09A3 \u0995\u09B0\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7 \u098F\u09AC\u0982 Self
16-XSS \u09A8\u09BE\u09AE\u0995 \u0986\u0995\u09CD\u09B0\u09AE\u09A3 \u09AA\u09A6\u09CD\u09A7\u09A4\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A4\u09A5\u09CD\u09AF \u099A\u09C1\u09B0\u09BF \u0995\u09B0\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7\u0964`}});var l0=xe((tre,mQ)=>{mQ.exports={warning:"\u09B8\u09A4\u09B0\u09CD\u0995\u09A4\u09BE!",message:`\u0986\u09AA\u09A8\u09BF \u09AC\u09C1\u099D\u09A4\u09C7 \u09AA\u09BE\u09B0\u099B\u09C7 \u09A8\u09BE \u098F\u09AE\u09A8 \u0995\u09CB\u09A1 \u09B2\u09BF\u0996\u09AC\u09C7\u09A8 \u09A8\u09BE \u09AC\u09BE \u09AA\u09C7\u09B8\u09CD\u099F \u0995\u09B0\u09AC\u09C7\u09A8 \u09A8\u09BE\u0964 17\u098F\u0987 \u0995\u09A8\u09B8\u09CB\u09B2\u099F\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u0995\u09CD\u09B0\u09AE\u09A3\u0995\u09BE\u09B0\u09C0\u09B0\u09BE \u0986\u09AA\u09A8\u09BE\u09B0 \u099B\u09A6\u09CD\u09AE\u09AC\u09C7\u09B6 \u09A8\u09BF\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7 \u098F\u09AC\u0982 Self-XSS \u09A8\u09BE\u09AE\u09C7 \u098F\u0995\u099F\u09BF \u0986\u0995\u09CD\u09B0\u09AE\u09A3 \u09AA\u09A6\u09CD\u09A7\u09A4\u09BF \u09AC\u09CD\u09AF\u09AC\u09B9\u09BE\u09B0 \u0995\u09B0\u09C7 \u0986\u09AA\u09A8\u09BE\u09B0 \u09A4\u09A5\u09CD\u09AF \u09B9\u09BE\u09A4\u09BF\u09DF\u09C7 \u09A8\u09BF\u09A4\u09C7 \u09AA\u09BE\u09B0\u09C7\u0964`}});var p0=xe((ore,gQ)=>{gQ.exports={warning:"ADVARSEL!",message:`Undlad at indtaste eller inds\xE6tte kode, som du ikke forst\xE5r. 18Brug af denne konsol kan s\xE6tte hackere i stand til at efterligne dig og stj\xE6le dine oplysninger ved hj\xE6lp af et angreb ved navn Self-XSS.`}});var c0=xe((nre,fQ)=>{fQ.exports={warning:"WARNUNG!",message:`Gib oder f\xFCge keinen Code ein, den du nicht verstehst. 19Diese Konsole erm\xF6glicht es Angreifern, sich als du auszugeben und deine Daten mithilfe eines Angriffs namens Self-XSS zu stehlen.`}});var d0=xe((are,bQ)=>{bQ.exports={warning:"\u03A0\u03A1\u039F\u03A3\u039F\u03A7\u0397!",message:`\u039C\u03B7\u03BD \u03B5\u03B9\u03C3\u03AC\u03B3\u03B5\u03B9\u03C2 \u03AE \u03BA\u03AC\u03BD\u03B5\u03B9\u03C2 \u03B5\u03C0\u03B9\u03BA\u03CC\u03BB\u03BB\u03B7\u03C3\u03B7 \u03BA\u03C9\u03B4\u03B9\u03BA\u03CE\u03BD \u03C0\u03BF\u03C5 \u03B4\u03B5\u03BD \u03BA\u03B1\u03C4\u03B1\u03BD\u03BF\u03B5\u03AF\u03C2. 20\u0397 \u03C7\u03C1\u03AE\u03C3\u03B7 \u03B1\u03C5\u03C4\u03AE\u03C2 \u03C4\u03B7\u03C2 \u03BA\u03BF\u03BD\u03C3\u03CC\u03BB\u03B1\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03B9\u03B8\u03B1\u03BD\u03CC \u03BD\u03B1 \u03B5\u03C0\u03B9\u03C4\u03C1\u03AD\u03C8\u03B5\u03B9 \u03C3\u03C4\u03BF\u03C5\u03C2 \u03B5\u03B9\u03C3\u03B2\u03BF\u03BB\u03B5\u03AF\u03C2 \u03BD\u03B1 \u03C0\u03C1\u03BF\u03C3\u03C0\u03BF\u03B9\u03B7\u03B8\u03BF\u03CD\u03BD \u03CC\u03C4\u03B9 \u03B5\u03AF\u03C3\u03B1\u03B9 \u03B5\u03C3\u03CD \u03BA\u03B1\u03B9 \u03BD\u03B1 \u03BA\u03BB\u03AD\u03C8\u03BF\u03C5\u03BD \u03C4\u03B9\u03C2 \u03C0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2 \u03C3\u03BF\u03C5 \u03BC\u03AD\u03C3\u03C9 \u03BC\u03B9\u03B1\u03C2 \u03B5\u03C0\u03AF\u03B8\u03B5\u03C3\u03B7\u03C2 \u03C0\u03BF\u03C5 \u03BB\u03AD\u03B3\u03B5\u03C4\u03B1\u03B9 Self-XSS.`}});var u0=xe((rre,SQ)=>{SQ.exports={warning:"WARNING!",message:`Do not enter or paste code that you do not understand. 21Using this console could allow attackers to impersonate you and steal your information using an attack called Self-XSS.`}});var y0=xe((ire,hQ)=>{hQ.exports={warning:"WARNING!",message:`Do not enter or paste code that you do not understand. 22Using this console may allow attackers to impersonate you and steal your information using an attack called Self-XSS.`}});var m0=xe((sre,CQ)=>{CQ.exports={warning:"\xA1ADVERTENCIA!",message:`No ingreses ni pegues c\xF3digo que no entiendas. 23Si us\xE1s esta consola, los atacantes podr\xEDan hacerse pasar por vos y robar tu informaci\xF3n por medio de un ataque llamado Self-XSS.`}});var g0=xe((lre,xQ)=>{xQ.exports={warning:"\xA1ADVERTENCIA!",message:`No introduzcas ni pegues c\xF3digos que no comprendas. 24Si usas esta consola, los atacantes podr\xEDan suplantar tu identidad y robar tu informaci\xF3n mediante un ataque llamado Self-XSS.`}});var f0=xe((pre,vQ)=>{vQ.exports={warning:"\xA1ADVERTENCIA!",message:`No escribas o pegues c\xF3digo que no entiendas. 25Usar esta consola podr\xEDa permitir que personas malintencionadas roben tu identidad y tu informaci\xF3n usando un ataque llamado Self-XSS.`}});var b0=xe((cre,IQ)=>{IQ.exports={warning:"\xA1ADVERTENCIA!",message:`No ingreses ni pegues c\xF3digo que no entiendes. 26Si usas esta consola, puedes permitir que los atacantes se hagan pasar por ti y roben tu informaci\xF3n con un ataque conocido como Self-XSS.`}});var S0=xe((dre,kQ)=>{kQ.exports={warning:"VAROITUS!",message:`\xC4l\xE4 anna tai liit\xE4 t\xE4h\xE4n koodia, jota et ymm\xE4rr\xE4. 27T\xE4m\xE4n konsolin k\xE4ytt\xE4minen saattaa johtaa XSS-hy\xF6kk\xE4ykseen, jolloin hy\xF6kk\xE4\xE4j\xE4t pystyv\xE4t esiintym\xE4\xE4n sinuna ja varastamaan tietosi.`}});var h0=xe((ure,MQ)=>{MQ.exports={warning:"BABALA!",message:`Huwag maglagay o mag-paste ng code na hindi mo naiintindihan 28Ang paggamit sa console na ito ay puwedeng magbigay-daan sa mga attacker na magpanggap bilang ikaw at nakawin ang iyong impormasyon gam
28it ang isang attack na tinatawag na Self-XSS.`}});var C0=xe((yre,TQ)=>{TQ.exports={warning:"ATTENTION\xA0!",message:`Ne saisissez pas ou ne collez pas de code que vous ne comprenez pas. 29L'utilisation de cette console risque de permettre aux hackers de se faire passer pour vous et de voler vos informations au moyen d'une attaque appel\xE9e Self-XSS.`}});var x0=xe((mre,AQ)=>{AQ.exports={warning:"\u0A9A\u0AC7\u0AA4\u0AB5\u0AA3\u0AC0!",message:`\u0AA4\u0AAE\u0AC7 \u0AB8\u0AAE\u0A9C\u0AA4\u0ABE \u0AA8 \u0AB9\u0ACB \u0A8F\u0AB5\u0ACB \u0A95\u0ACB\u0AA1 \u0AB2\u0A96\u0AB6\u0ACB \u0A95\u0AC7 \u0AAA\u0AC7\u0AB8\u0ACD\u0A9F \u0A95\u0AB0\u0AB6\u0ACB \u0AA8\u0AB9\u0AC0\u0A82. 30\u0A86 \u0A95\u0AA8\u0ACD\u0AB8\u0ACB\u0AB2\u0AA8\u0ACB \u0A89\u0AAA\u0AAF\u0ACB\u0A97 \u0A95\u0AB0\u0AB5\u0ABE\u0AA5\u0AC0 \u0AB9\u0AC1\u0AAE\u0AB2\u0ABE\u0A96\u0ACB\u0AB0\u0ACB \u0AB8\u0AC7\u0AB2\u0ACD\u0AAB-XSS \u0AA8\u0ABE\u0AAE\u0AA8\u0ABE \u0AB9\u0AC1\u0AAE\u0AB2\u0ABE\u0AA8\u0ACB \u0A89\u0AAA\u0AAF\u0ACB\u0A97 \u0A95\u0AB0\u0AC0\u0AA8\u0AC7 \u0AA4\u0AAE\u0AC7 \u0AB9\u0ACB\u0AB5\u0ABE\u0AA8\u0AC1\u0A82 \u0A85\u0AA8\u0AC1\u0A95\u0AB0\u0AA3 \u0A95\u0AB0\u0AC0 \u0AB6\u0A95\u0AC7 \u0A9B\u0AC7 \u0A85\u0AA8\u0AC7 \u0AA4\u0AAE\u0ABE\u0AB0\u0AC0 \u0AAE\u0ABE\u0AB9\u0ABF\u0AA4\u0AC0 \u0A9A\u0ACB\u0AB0\u0AC0 \u0AB6\u0A95\u0AC7 \u0A9B\u0AC7.`}});var v0=xe((gre,_Q)=>{_Q.exports={warning:"\u091A\u0947\u0924\u093E\u0935\u0928\u0940!",message:`\u0915\u094B\u0908 \u0910\u0938\u093E \u0915\u094B\u0921 \u0926\u0930\u094D\u091C \u092F\u093E \u092A\u0947\u0938\u094D\u091F \u0928 \u0915\u0930\u0947\u0902 \u091C\u094B \u0906\u092A\u0915\u0940 \u0938\u092E\u091D \u0938\u0947 \u092A\u0930\u0947 \u0939\u094B\u0964 31\u0907\u0938 \u0915\u0902\u0938\u094B\u0932 \u0915\u093E \u0907\u0938\u094D\u0924\u0947\u092E\u093E\u0932 \u0915\u0930\u0928\u0947 \u0938\u0947 \u0939\u092E\u0932\u093E\u0935\u0930 Self-XSS \u0915\u0939\u0947 \u091C\u093E\u0928\u0947 \u0935\u093E\u0932\u0947 \u0939\u092E\u0932\u0947 \u0915\u093E \u0907\u0938\u094D\u0924\u0947\u092E\u093E\u0932 \u0915\u0930\u0924\u0947 \u0939\u0941\u090F \u0906\u092A\u0915\u093E \u092D\u0947\u0937 \u0927\u093E\u0930\u0923 \u0915\u0930\u0915\u0947 \u0906\u092A\u0915\u0940 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u091A\u0941\u0930\u093E \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964`}});var I0=xe((fre,wQ)=>{wQ.exports={warning:"PERINGATAN!",message:`Jangan memasukkan atau menempelkan kode yang tidak Anda pahami. 32Menggunakan konsol ini dapat memberikan akses kepada penyerang untuk menyamar sebagai Anda dan mencuri informasi menggunakan serangan yang disebut Self-XSS.`}});var k0=xe((bre,DQ)=>{DQ.exports={warning:"ATTENZIONE!",message:`Non inserire o incollare codici che non conosci. 33L'utilizzo di questa console potrebbe consentire a utenti malintenzionati di assumere la tua identit\xE0 e rubare le tue informazioni tramite un attacco chiamato Self-XSS.`}});var M0=xe((Sre,PQ)=>{PQ.exports={warning:"\u8B66\u544A\uFF01",message:`\u4E0D\u660E\u306A\u30B3\u30FC\u30C9\u3092\u5165\u529B\u307E\u305F\u306F\u8CBC\u308A\u4ED8\u3051\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002 34\u3053\u306E\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u4F7F\u7528\u3059\u308B\u3068\u3001\u653B\u6483\u8005\u304CSelf-XSS\u3068\u3044\u3046\u653B\u6483\u3092\u4F7F\u7528\u3057\u3066\u3042\u306A\u305F\u306B\u306A\u308A\u3059\u307E\u3057\u3001\u60C5\u5831\u3092\u76D7\u3080\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002`}});var T0=xe((hre,NQ)=>{NQ.exports={warning:"\u0C8E\u0C9A\u0CCD\u0C9A\u0CB0\u0CBF\u0C95\u0CC6!",message:`\u0CA8\u0CBF\u0CAE\u0C97\u0CC6 \u0C85\u0CB0\u0CCD\u0CA5\u0CB5\u0CBE\u0C97\u0CA6 \u0C95\u0CCB\u0CA1\u0CCD \u0C85\u0CA8\u0CCD\u0CA8\u0CC1 \u0CA8\u0CAE\u0CC2\u0CA6\u0CBF\u0CB8\u0CAC\u0CC7\u0CA1\u0CBF \u0C85\u0CA5\u0CB5\u0CBE \u0C85\u0C82\u0C9F\u0CBF\u0CB8\u0CAC\u0CC7\u0CA1\u0CBF. 35\u0C88 \u0C95\u0CA8\u0CCD\u0CB8\u0CCB\u0CB2\u0CCD \u0CAC\u0CB3\u0CB8\u0CC1\u0CB5\u0CC1\u0CA6\u0CB0\u0CBF\u0C82\u0CA6 \u0CA6\u0CBE\u0CB3\u0CBF\u0C95\u0CCB\u0CB0\u0CB0\u0CC1 \u0CA8\u0CBF\u0CAE\u0CCD\u0CAE\u0C82\u0CA4\u0CC6 \u0CB8\u0CCB\u0C97\u0CC1 \u0CB9\u0CBE\u0C95\u0CB2\u0CC1 \u0CAE\u0CA4\u0CCD\u0CA4\u0CC1 Self-XSS \u0C8E\u0CA8\u0CCD\u0CA8\u0CC1\u0CB5 \u0C92\u0C82\u0CA6\u0CC1 \u0CA6\u0CBE\u0CB3\u0CBF\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0CAC\u0CB3\u0CB8\u0CBF\u0C95\u0CCA\u0C82\u0CA1\u0CC1 \u0CA8\u0CBF\u0CAE\u0CCD\u0CAE \u0CAE\u0CBE\u0CB9\u0CBF\u0CA4\u0CBF\u0CAF\u0CA8\u0CCD\u0CA8\u0CC1 \u0C95\u0CA6\u0CBF\u0CAF\u0CB2\u0CC1 \u0C85\u0CB5\u0C95\u0CBE\u0CB6 \u0CAE\u0CBE\u0CA1\u0CBF\u0C95\u0CCA\u0CA1\u0CAC\u0CB9\u0CC1\u0CA6\u0CC1.`}});var A0=xe((Cre,EQ)=>{EQ.exports={warning:"\uACBD\uACE0!",message:`\uBAA8\uB974\uB294 \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uAC70\uB098 \uBD99\uC5EC\uB123\uC9C0 \uB9C8\uC138\uC694. 36\uC774 \uCF58\uC194\uC744 \uC0AC\uC6A9\uD558\uBA74 \uD574\uCEE4\uAC00 Self-XSS\uB77C\uACE0 \uBD88\uB9AC\uB294 \uACF5\uACA9\uC744 \uC0AC\uC6A9\uD574 \uD68C\uC6D0\uB2D8\uC744 \uC0AC\uCE6D\uD558\uC5EC \uAC1C\uC778 \uC815\uBCF4\uB97C \uD6D4\uCCD0 \uAC08 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4.`}});var _0=xe((xre,RQ)=>{RQ.exports={warning:"\u0D2E\u0D41\u0D28\u0D4D\u0D28\u0D31\u0D3F\u0D2F\u0D3F\u0D2A\u0D4D\u0D2A\u0D4D!",message:`\u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D7E\u0D15\u0D4D\u0D15\u0D4D \u0D2E\u0D28\u0D38\u0D4D\u0D38\u0D3F\u0D32\u0D3E\u0D15\u0D3E\u0D24\u0D4D\u0D24 \u0D15\u0D4B\u0D21\u0D4D \u0D28\u0D7D\u0D15\u0D41\u0D15\u0D2F\u0D4B \u0D12\u0D1F\u0D4D\u0D1F\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D15\u0D2F\u0D4B \u0D1A\u0D46\u0D2F\u0D4D\u0D2F\u0D30\u0D41\u0D24\u0D4D. 37\u0D08 \u0D15\u0D7A\u0D38\u0D4B\u0D7E \u0D09\u0D2A\u0D2F\u0D4B\u0D1
377\u0D3F\u0D15\u0D4D\u0D15\u0D41\u0D28\u0D4D\u0D28\u0D24\u0D3F\u0D32\u0D42\u0D1F\u0D46, Self-XSS \u0D0E\u0D28\u0D4D\u0D28\u0D4D \u0D05\u0D31\u0D3F\u0D2F\u0D2A\u0D4D\u0D2A\u0D46\u0D1F\u0D41\u0D28\u0D4D\u0D28 \u0D06\u0D15\u0D4D\u0D30\u0D2E\u0D23\u0D02 \u0D35\u0D34\u0D3F \u0D05\u0D31\u0D4D\u0D31\u0D3E\u0D15\u0D4D\u0D15\u0D7C\u0D2E\u0D3E\u0D7C\u0D15\u0D4D\u0D15\u0D4D \u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D33\u0D41\u0D1F\u0D46 \u0D35\u0D3F\u0D35\u0D30\u0D19\u0D4D\u0D19\u0D7E \u0D2E\u0D4B\u0D37\u0D4D\u0D1F\u0D3F\u0D15\u0D4D\u0D15\u0D3E\u0D28\u0D41\u0D02 \u0D28\u0D3F\u0D19\u0D4D\u0D19\u0D33\u0D3E\u0D2F\u0D3F \u0D06\u0D7E\u0D2E\u0D3E\u0D31\u0D3E\u0D1F\u0D4D\u0D1F\u0D02 \u0D28\u0D1F\u0D24\u0D4D\u0D24\u0D3E\u0D28\u0D41\u0D02 \u0D15\u0D34\u0D3F\u0D2F\u0D41\u0D02.`}});var w0=xe((vre,FQ)=>{FQ.exports={warning:"\u091A\u0947\u0924\u093E\u0935\u0923\u0940!",message:`\u0924\u0941\u092E\u094D\u0939\u093E\u0932\u093E \u0938\u092E\u091C\u0924 \u0928\u0938\u0947\u0932 \u0905\u0938\u093E \u0915\u094B\u0921 \u092A\u094D\u0930\u0935\u093F\u0937\u094D\u091F \u0915\u093F\u0902\u0935\u093E \u092A\u0947\u0938\u094D\u091F \u0915\u0930\u0942 \u0928\u0915\u093E. 38\u0939\u093E \u0915\u0902\u0938\u094B\u0932 \u0935\u093E\u092A\u0930\u0923\u094D\u092F\u093E\u0928\u0947 \u0906\u0915\u094D\u0930\u092E\u0923\u0915\u0930\u094D\u0924\u094D\u092F\u093E\u0902\u0928\u093E Self-XSS \u0928\u093E\u0935\u093E\u091A\u093E \u0906\u0915\u094D\u0930\u092E\u0923 \u0935\u093E\u092A\u0930\u0942\u0928 \u0924\u0941\u092E\u091A\u0940 \u0924\u094B\u0924\u092F\u093E\u0917\u093F\u0930\u0940 \u0915\u0930\u0923\u094D\u092F\u093E\u091A\u0940 \u0906\u0923\u093F \u0924\u0941\u092E\u091A\u0940 \u092E\u093E\u0939\u093F\u0924\u0940 \u091A\u094B\u0930\u0923\u094D\u092F\u093E\u091A\u0940 \u0905\u0928\u0941\u092E\u0924\u0940 \u092E\u093F\u0933\u0942 \u0936\u0915\u0924\u0947.`}});var D0=xe((Ire,BQ)=>{BQ.exports={warning:"AMARAN!",message:`Jangan masukkan atau tampal kod yang anda tidak faham. 39Penggunaan konsol ini membenarkan penyerang untuk menyamar sebagai anda dan mencuri maklumat anda menggunakan serangan yang dipanggil XSS-Kendiri (Self-XSS)`}});var P0=xe((kre,$Q)=>{$Q.exports={warning:"ADVARSEL!",message:`Ikke skriv inn eller lim inn kode som du ikke forst\xE5r. 40Hvis du bruker denne konsollen, kan du gi uvedkommende anledning til \xE5 etterligne deg og stjele informasjon gjennom s\xE5kalte XSS-angrep.`}});var N0=xe((Mre,LQ)=>{LQ.exports={warning:"WAARSCHUWING!",message:`Voer geen code in en plak geen code die je niet begrijpt. 41Met deze console kunnen aanvallers zich mogelijk als jou voordoen en gegevens stelen via een aanval die Self-XSS heet.`}});var E0=xe((Tre,HQ)=>{HQ.exports={warning:"\u0A1A\u0A47\u0A24\u0A3E\u0A35\u0A28\u0A40!",message:`\u0A09\u0A39 \u0A15\u0A4B\u0A21 \u0A26\u0A3E\u0A16\u0A32 \u0A1C\u0A3E\u0A02 \u0A2A\u0A47\u0A38\u0A1F \u0A28\u0A3E \u0A15\u0A30\u0A4B \u0A1C\u0A3F\u0A38 \u0A26\u0A40 \u0A24\u0A41\u0A39\u0A3E\u0A28\u0A42\u0A70 \u0A38\u0A2E\u0A1D \u0A28\u0A39\u0A40\u0A02 \u0A39\u0A48\u0964 42\u0A07\u0A38 \u0A15\u0A70\u0A38\u0A4B\u0A32 \u0A26\u0A40 \u0A35\u0A30\u0A24\u0A4B\u0A02 \u0A15\u0A30\u0A28 \u0A28\u0A3E\u0A32 \u0A39\u0A2E\u0A32\u0A3E\u0A35\u0A30 \u0A24\u0A41\u0A39\u0A3E\u0A21\u0A40 \u0A2A\u0A1B\u0A3E\u0A23 \u0A2C\u0A23\u0A3E \u0A38\u0A15\u0A26\u0A47 \u0A39\u0A28 \u0A05\u0A24\u0A47 Self-XSS \u0A28\u0A3E\u0A2E\u0A15 \u0A39\u0A2E\u0A32\u0A47 \u0A26\u0A40 \u0A35\u0A30\u0A24\u0A4B\u0A02 \u0A15\u0A30\u0A15\u0A47 \u0A24\u0A41\u0A39\u0A3E\u0A21\u0A40 \u0A1C\u0A3E\u0A23\u0A15\u0A3E\u0A30\u0A40 \u0A1A\u0A4B\u0A30\u0A40 \u0A15\u0A30 \u0A38\u0A15\u0A26\u0A47 \u0A39\u0A28\u0964`}});var R0=xe((Are,VQ)=>{VQ.exports={warning:"OSTRZE\u017BENIE!",message:`Nie wpisuj ani nie wklejaj kodu, kt\xF3rego nie rozumiesz. 43U\u017Cywanie tej konsoli mo\u017Ce umo\u017Cliwia\u0107 osobom, kt\xF3re wykorzystuj\u0105 atak Self-XSS, podszywanie si\u0119 pod Ciebie i wykradanie informacji.`}});var F0=xe((_re,OQ)=>{OQ.exports={warning:"AVISO!",message:`N\xE3o insira nem cole c\xF3digos que voc\xEA n\xE3o entende. 44O uso deste console pode permitir que invasores se passem por voc\xEA e roubem suas informa\xE7\xF5es usando um ataque chamado Self-XSS.`}});var B0=xe((wre,GQ)=>{GQ.exports={warning:"AVISO!",message:`N\xE3o introduzas nem coles c\xF3digo que n\xE3o compreendes. 45A utiliza\xE7\xE3o desta consola pode permitir que atacantes se fa\xE7am passar por ti e roubem as tuas informa\xE7\xF5es atrav\xE9s de um ataque chamado Self-XSS.`}});var $0=xe((Dre,zQ)=>{zQ.exports={warning:"AVERTIZARE!",message:`Nu introdu sau lipi cod pe care nu \xEEl \xEEn\u021Belegi. 46Dac\u0103 folose\u0219ti aceast\u0103 consol\u0103, le po\u021Bi permite atacatorilor s\u0103 \xEE\u021Bi fure identitatea \u0219i informa\u021Biile printr-un atac denumit Self-XSS.`}});var L0=xe((Pre,UQ)=>{UQ.exports={warning:"\u0412\u041D\u0418\u041C\u0410\u041D\u0418\u0415!",message:`\u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0438 \u043D\u0435 \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u043A\u043E\u0434, \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043D\u0435 \u043F\u043E\u043D\u0438\u043C\u0430\u0435\u0442\u0435.
47\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442\u044C \u0437\u043B\u043E\u0443\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u0438\u043A\u0430\u043C \u0432\u044B\u0434\u0430\u0442\u044C \u0441\u0435\u0431\u044F \u0437\u0430 \u0432\u0430\u0441 \u0438 \u0443\u043A\u0440\u0430\u0441\u0442\u044C \u0432\u0430\u0448\u0443 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0430\u0442\u0430\u043A\u0438 \u0442\u0438\u043F\u0430 Self-XSS.`}});var H0=xe((Nre,WQ)=>{WQ.exports={warning:"VARNING!",message:`Ange inte eller klistra in kod du inte f\xF6rst\xE5r. 48N\xE4r du anv\xE4nder den h\xE4r konsolen kan hackare h\xE4rma din identitet eller stj\xE4la din information med en attack som heter Self-XSS.`}});var V0=xe((Ere,QQ)=>{QQ.exports={warning:"\u0B8E\u0B9A\u0BCD\u0B9A\u0BB0\u0BBF\u0B95\u0BCD\u0B95\u0BC8!",message:`\u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BC1\u0B95\u0BCD\u0B95\u0BC1\u0BAA\u0BCD \u0BAA\u0BC1\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BCD\u0B9F\u0BC8 \u0B89\u0BB3\u0BCD\u0BB3\u0BBF\u0B9F\u0BBE\u0BA4\u0BC0\u0BB0\u0BCD\u0B95\u0BB3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BA4\u0BC1 \u0B92\u0B9F\u0BCD\u0B9F\u0BBE\u0BA4\u0BC0\u0BB0\u0BCD\u0B95\u0BB3\u0BCD. 49\u0B87\u0BA8\u0BCD\u0BA4\u0B95\u0BCD \u0B95\u0B9F\u0BCD\u0B9F\u0BC1\u0BAA\u0BCD\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0BA4\u0BCD \u0BA4\u0BBF\u0BB0\u0BC8\u0BAF\u0BC8(Console\u0B90)\u0BAA\u0BCD \u0BAA\u0BAF\u0BA9\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0BB5\u0BA4\u0BA9\u0BCD \u0BAE\u0BC2\u0BB2\u0BAE\u0BCD,\u0BA4\u0BC0\u0B99\u0BCD\u0B95\u0BBF\u0BB4\u0BC8\u0BAA\u0BCD\u0BAA\u0BB5\u0BB0\u0BCD\u0B95\u0BB3\u0BCD Self-XSS \u0B8E\u0BA9\u0BAA\u0BCD\u0BAA\u0B9F\u0BC1\u0BAE\u0BCD \u0BA4\u0BBE\u0B95\u0BCD\u0B95\u0BC1\u0BA4\u0BB2\u0BC8\u0BAA\u0BCD \u0BAA\u0BAF\u0BA9\u0BCD\u0BAA\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4\u0BBF \u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BC8\u0BAA\u0BCD\u0BAA\u0BCB\u0BB2\u0BCD \u0BA8\u0B9F\u0BBF\u0B95\u0BCD\u0B95\u0BB5\u0BC1\u0BAE\u0BCD \u0B89\u0B99\u0BCD\u0B95\u0BB3\u0BCD \u0BA4\u0B95\u0BB5\u0BB2\u0BCD\u0B95\u0BB3\u0BC8\u0BA4\u0BCD \u0BA4\u0BBF\u0BB0\u0BC1\u0B9F\u0BB5\u0BC1\u0BAE\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BAF\u0BC1\u0BAE\u0BCD.`}});var O0=xe((Rre,qQ)=>{qQ.exports={warning:"\u0C39\u0C46\u0C1A\u0C4D\u0C1A\u0C30\u0C3F\u0C15!",message:`\u0C2E\u0C40\u0C15\u0C41 \u0C05\u0C30\u0C4D\u0C25\u0C02 \u0C15\u0C3E\u0C28\u0C3F \u0C15\u0C4B\u0C21\u0C4D\u200C\u0C28\u0C3F \u0C0E\u0C02\u0C1F\u0C30\u0C4D \u0C32\u0C47\u0C26\u0C3E \u0C2A\u0C47\u0C38\u0C4D\u0C1F\u0C4D \u0C1A\u0C47\u0C2F\u0C15\u0C02\u0C21\u0C3F. 50\u0C08 \u0C15\u0C28\u0C4D\u0C38\u0C4B\u0C32\u0C4D\u200C\u0C28\u0C3F \u0C09\u0C2A\u0C2F\u0C4B\u0C17\u0C3F\u0C02\u0C1A\u0C21\u0C02 \u0C35\u0C32\u0C28 \u0C26\u0C3E\u0C21\u0C3F \u0C1A\u0C47\u0C38\u0C47\u0C35\u0C3E\u0C30\u0C41 \u0C2E\u0C3F\u0C2E\u0C4D\u0C2E\u0C32\u0C4D\u0C28\u0C3F \u0C05\u0C28\u0C41\u0C15\u0C30\u0C3F\u0C38\u0C4D\u0C24\u0C42 \u0C2E\u0C30\u0C3F\u0C2F\u0C41 Self-XSS \u0C05\u0C28\u0C47 \u0C26\u0C3E\u0C21\u0C3F\u0C28\u0C3F \u0C09\u0C2A\u0C2F\u0C4B\u0C17\u0C3F\u0C02\u0C1A\u0C3F \u0C2E\u0C40 \u0C38\u0C2E\u0C3E\u0C1A\u0C3E\u0C30\u0C3E\u0C28\u0C4D\u0C28\u0C3F \u0C26\u0C4A\u0C02\u0C17\u0C3F\u0C32\u0C3F\u0C02\u0C1A\u0C35\u0C1A\u0C4D\u0C1A\u0C41.`}});var G0=xe((Fre,KQ)=>{KQ.exports={warning:"\u0E04\u0E33\u0E40\u0E15\u0E37\u0E2D\u0E19!",message:`\u0E2D\u0E22\u0E48\u0E32\u0E43\u0E2A\u0E48\u0E2B\u0E23\u0E37\u0E2D\u0E27\u0E32\u0E07\u0E23\u0E2B\u0E31\u0E2A\u0E17\u0E35\u0E48\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E40\u0E02\u0E49\u0E32\u0E43\u0E08\u0E25\u0E07\u0E44\u0E1B 51\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E04\u0E2D\u0E19\u0E42\u0E0B\u0E25\u0E19\u0E35\u0E49\u0E2D\u0E32\u0E08\u0E17\u0E33\u0E43\u0E2B\u0E49\u0E1C\u0E39\u0E49\u0E42\u0E08\u0E21\u0E15\u0E35\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2D\u0E1A\u0E2D\u0E49\u0E32\u0E07\u0E27\u0E48\u0E32\u0E40\u0E1B\u0E47\u0E19\u0E04\u0E38\u0E13 \u0E41\u0E25\u0E30\u0E02\u0E42\u0E21\u0E22\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E42\u0E14\u0E22\u0E43\u0E0A\u0E49\u0E01\u0E32\u0E23\u0E42\u0E08\u0E21\u0E15\u0E35\u0E17\u0E35\u0E48\u0E40\u0E23\u0E35\u0E22\u0E01\u0E27\u0E48\u0E32 Self-XSS`}});var z0=xe((Bre,jQ)=>{jQ.exports={warning:"D\u0130KKAT!",message:`Anlamad\u0131\u011F\u0131n\u0131z kodu girmeyin veya yap\u0131\u015Ft\u0131rmay\u0131n. 52Bu konsolu kullanmak, sald\u0131rganlar\u0131n sizi taklit etmesine ve Self-XSS adl\u0131 bir sald\u0131r\u0131 kullanarak bilgilerinizi \xE7almas\u0131na izin verebilir.`}});var U0=xe(($re,YQ)=>{YQ.exports={warning:"\u0627\u0646\u062A\u0628\u0627\u06C1!",message:`\u0627\u06CC\u0633\u0627 \u06A9\u0648\u0688 \u062F\u0631\u062C \u06CC\u0627 \u067E\u06CC\u0633\u0679 \u
520646\u06C1 \u06A9\u0631\u06CC\u06BA \u062C\u0648 \u0622\u067E \u0633\u0645\u062C\u06BE\u062A\u06D2 \u0646\u06C1 \u06C1\u0648\u06BA\u06D4 53\u06CC\u06C1 \u06A9\u0646\u0633\u0648\u0644 \u0627\u0633\u062A\u0639\u0645\u0627\u0644 \u06A9\u0631\u0646\u06D2 \u0633\u06D2 \u062D\u0645\u0644\u06C1 \u0622\u0648\u0631\u0648\u06BA \u06A9\u0648 Self-XSS \u0646\u0627\u0645\u06CC \u062D\u0645\u0644\u06D2 \u06A9\u06D2 \u0630\u0631\u06CC\u0639\u06D2 \u0622\u067E \u06A9\u06CC \u0646\u0642\u0627\u0644\u06CC \u0627\u0648\u0631 \u0622\u067E \u06A9\u06CC \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0686\u0631\u0627\u0646\u06D2 \u06A9\u0627 \u0645\u0648\u0642\u0639 \u0645\u0644 \u0633\u06A9\u062A\u0627 \u06C1\u06D2\u06D4`}});var W0=xe((Lre,XQ)=>{XQ.exports={warning:"C\u1EA2NH B\xC1O!",message:`\u0110\u1EEBng nh\u1EADp hay d\xE1n m\xE3 m\xE0 b\u1EA1n kh\xF4ng hi\u1EC3u r\xF5. 54N\u1EBFu b\u1EA1n s\u1EED d\u1EE5ng console n\xE0y, nh\u1EEFng k\u1EBB t\u1EA5n c\xF4ng c\xF3 th\u1EC3 m\u1EA1o nh\u1EADn b\u1EA1n, r\u1ED3i \u0111\xE1nh c\u1EAFp th\xF4ng tin c\u1EE7a b\u1EA1n b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng ph\u01B0\u01A1ng ph\xE1p t\u1EA5n c\xF4ng Self-XSS.`}});var Q0=xe((Hre,JQ)=>{JQ.exports={warning:"\u8B66\u544A\uFF01",message:`\u8BF7\u52FF\u8F93\u5165\u6216\u7C98\u8D34\u4F60\u4E0D\u4E86\u89E3\u7684\u4EE3\u7801\u3002 55\u5982\u679C\u4F7F\u7528\u6B64\u63A7\u5236\u53F0\uFF0C\u53EF\u80FD\u4F1A\u8BA9\u653B\u51FB\u8005\u80FD\u591F\u4F7F\u7528\u79F0\u4E3A Self-XSS \u7684\u653B\u51FB\u6A21\u4EFF\u4F60\u548C\u7A83\u53D6\u4F60\u7684\u4FE1\u606F\u3002`}});var q0=xe((Vre,ZQ)=>{ZQ.exports={warning:"\u8B66\u544A\uFF01",message:`\u8ACB\u52FF\u8F38\u5165\u6216\u8CBC\u4E0A\u4F60\u4E0D\u4E86\u89E3\u7684\u4EE3\u78BC\u3002 56\u4F7F\u7528\u6B64\u64CD\u4F5C\u4ECB\u9762\u53EF\u80FD\u6703\u8B93\u653B\u64CA\u8005\u5047\u5192\u4F60\u7684\u8EAB\u5206\uFF0C\u4E26\u4F7F\u7528 Self-XSS \u653B\u64CA\u65B9\u5F0F\u4F86\u7ACA\u53D6\u4F60\u7684\u8CC7\u8A0A\u3002`}});var K0=xe(xb=>{"use strict";Object.defineProperty(xb,"__esModule",{value:!0});var eq=i0(),tq=s0(),oq=l0(),nq=p0(),aq=c0(),rq=d0(),iq=u0(),sq=y0(),lq=m0(),pq=g0(),cq=f0(),dq=b0(),uq=S0(),yq=h0(),mq=C0(),gq=x0(),fq=v0(),bq=I0(),Sq=k0(),hq=M0(),Cq=T0(),xq=A0(),vq=_0(),Iq=w0(),kq=D0(),Mq=P0(),Tq=N0(),Aq=E0(),_q=R0(),wq=F0(),Dq=B0(),Pq=$0(),Nq=L0(),Eq=H0(),Rq=V0(),Fq=O0(),Bq=G0(),$q=z0(),Lq=U0(),Hq=W0(),Vq=Q0(),Oq=q0(),Gq={"ar-aa":eq,"bn-bd":tq,"bn-in":oq,"da-dk":nq,"de-de":aq,"el-gr":rq,"en-gb":iq,"en-us":sq,"es-ar":lq,"es-es":pq,"es-mx":cq,es:dq,"fi-fi":uq,"fil-ph":yq,"fr-fr":mq,"gu-in":gq,"hi-in":fq,"id-id":bq,"it-it":Sq,"ja-jp":hq,"kn-in":Cq,"ko-kr":xq,"ml-in":vq,"mr-in":Iq,"ms-my":kq,"nb-no":Mq,"nl-nl":Tq,"pa-in":Aq,"pl-pl":_q,"pt-br":wq,"pt-pt":Dq,"ro-ro":Pq,"ru-ru":Nq,"sv-se":Eq,"ta-in":Rq,"te-in":Fq,"th-th":Bq,"tr-tr":$q,"ur-pk":Lq,"vi-vn":Hq,"zh-cn":Vq,"zh-tw":Oq};xb.default=Gq});var Y0=xe(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.printWarning=void 0;var vb=K0(),j0="en-us";function zq(e){e===void 0&&(e=j0),e=e&&e.toLowerCase();var t=vb.default[e]?vb.default[e]:vb.default[j0];console.log("%c"+t.warning,"font-size: 30px; color: #F61F1F; background-color: #FFFF00;"),console.log("%c"+t.message,"font-size: 16px; color: #464656; background-color: #FFF;")}Od.printWarning=zq});var J0=xe(Ib=>{"use strict";var X0=Cr();Ib.createRoot=X0.createRoot,Ib.hydrateRoot=X0.hydrateRoot;var zre});var xN=xe(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});var Np,ph=P(),it=(Np=ph)&&typeof Np=="object"&&"default"in Np?Np.default:Np;function CN(e,t){return(CN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o})(e,t)}function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(function(e,t){t===void 0&&(t={});var o=t.insertAt;if(typeof document<"u"){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",o==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}})('.multiSelectContainer,.multiSelectContainer *,.multiSelectContainer :after,.multiSelectContainer :before{box-sizing:border-box}.multiSelectContainer{position:relative;text-align:left;width:100%}.disable_ms{opacity:.5;pointer-events:none}.display-none{display:none}
56.searchWrapper{border:1px solid #ccc;border-radius:4px;min-height:22px;padding:5px;position:relative}.multiSelectContainer input{background:transparent;border:none;margin-top:3px}.multiSelectContainer input:focus{outline:none}.chip{align-items:center;background:#0096fb;border-radius:11px;color:#fff;display:inline-flex;font-size:13px;line-height:19px;margin-bottom:5px;margin-right:5px;padding:4px 10px}.chip,.singleChip{white-space:nowrap}.singleChip{background:none;border-radius:none;color:inherit}.singleChip i{display:none}.closeIcon{cursor:pointer;float:right;height:13px;margin-left:5px;width:13px}.optionListContainer{background:#fff;border-radius:4px;margin-top:1px;position:absolute;width:100%;z-index:2}.multiSelectContainer ul{border:1px solid #ccc;border-radius:4px;display:block;margin:0;max-height:250px;overflow-y:auto;padding:0}.multiSelectContainer li{padding:10px}.multiSelectContainer li:hover{background:#0096fb;color:#fff;cursor:pointer}.checkbox{margin-right:10px}.disableSelection{opacity:.5;pointer-events:none}.highlightOption{background:#0096fb;color:#fff}.displayBlock{display:block}.displayNone{display:none}.notFound{display:block;padding:10px}.singleSelect{padding-right:20px}li.groupHeading{color:#908e8e;padding:5px 15px;pointer-events:none}li.groupChildEle{padding-left:30px}.icon_down_dir{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:14px}.icon_down_dir:before{content:"\\e803"}.custom-close{display:flex}');var hN={circle:"data:image/svg+xml,%3Csvg%20height%3D%22512px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512px%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M256%2C33C132.3%2C33%2C32%2C133.3%2C32%2C257c0%2C123.7%2C100.3%2C224%2C224%2C224c123.7%2C0%2C224-100.3%2C224-224C480%2C133.3%2C379.7%2C33%2C256%2C33z%20%20%20%20M364.3%2C332.5c1.5%2C1.5%2C2.3%2C3.5%2C2.3%2C5.6c0%2C2.1-0.8%2C4.2-2.3%2C5.6l-21.6%2C21.7c-1.6%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3L256%2C289.8%20%20%20l-75.4%2C75.7c-1.5%2C1.6-3.6%2C2.3-5.6%2C2.3c-2%2C0-4.1-0.8-5.6-2.3l-21.6-21.7c-1.5-1.5-2.3-3.5-2.3-5.6c0-2.1%2C0.8-4.2%2C2.3-5.6l75.7-76%20%20%20l-75.9-75c-3.1-3.1-3.1-8.2%2C0-11.3l21.6-21.7c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l75.7%2C74.7l75.7-74.7%20%20%20c1.5-1.5%2C3.5-2.3%2C5.6-2.3c2.1%2C0%2C4.1%2C0.8%2C5.6%2C2.3l21.6%2C21.7c3.1%2C3.1%2C3.1%2C8.2%2C0%2C11.3l-75.9%2C75L364.3%2C332.5z%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",circle2:"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2096%2096%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M48%2C0A48%2C48%2C0%2C1%2C0%2C96%2C48%2C48.0512%2C48.0512%2C0%2C0%2C0%2C48%2C0Zm0%2C84A36%2C36%2C0%2C1%2C1%2C84%2C48%2C36.0393%2C36.0393%2C0%2C0%2C1%2C48%2C84Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M64.2422%2C31.7578a5.9979%2C5.9979%2C0%2C0%2C0-8.4844%2C0L48%2C39.5156l-7.7578-7.7578a5.9994%2C5.9994%2C0%2C0%2C0-8.4844%2C8.4844L39.5156%2C48l-7.7578%2C7.7578a5.9994%2C5.9994%2C0%2C1%2C0%2C8.4844%2C8.4844L48%2C56.4844l7.7578%2C7.7578a5.9994%2C5.9994%2C0%2C0%2C0%2C8.4844-8.4844L56.4844%2C48l7.7578-7.7578A5.9979%2C5.9979%2C0%2C0%2C0%2C64.2422%2C31.7578Z%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",close:"data:image/svg+xml,%3Csvg%20height%3D%22135.467mm%22%20style%3D%22shape-rendering%3AgeometricPrecision%3B%20text-rendering%3AgeometricPrecision%3B%20image-rendering%3AoptimizeQuality%3B%20fill-rule%3Aevenodd%3B%20clip-rule%3Aevenodd%22%20viewBox%3D%220%200%2013547%2013547%22%20width%3D%22135.467mm%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20%20%20%20%20.fil0%20%7Bfill%3Anone%7D%20%20%20%20%20%20%20%20%20%20%20%20.fil1%20%7Bfill%3A%23fff%7D%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Ebene_x0020_1%22%3E%20%20%20%20%20%20%20%20%3Cpolygon%20class%3D%22fil0%22%20points%3D%220%2C0%2013547%2C0%2013547%2C13547%200%2C13547%20%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22fil1%22%20d%3D%22M714%2012832l12118%200%200%20-12117%20-12118%200%200%2012117zm4188%20-2990l1871%20-1871%201871%201871%201197%20-1197%20-1871%20-1871%201871%20-1871%20-1197%20-1197%20-1871%201871%20-1871%20-1871%20-1197%201197%201871%201871%20-1871%201871%201197%201197z%22%2F%3
56E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",cancel:"data:image/svg+xml,%3Csvg%20height%3D%22512px%22%20id%3D%22Layer_1%22%20style%3D%22enable-background%3Anew%200%200%20512%20512%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512px%22%20xml%3Aspace%3D%22preserve%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%20%20%20%20%20%20%20.st0%7B%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%23fff%3B%20%20%20%20%20%20%20%20%7D%20%3C%2Fstyle%3E%20%20%20%20%3Cpath%20class%3D%22st0%22%20d%3D%22M443.6%2C387.1L312.4%2C255.4l131.5-130c5.4-5.4%2C5.4-14.2%2C0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7%2C0-7.2%2C1.5-9.8%2C4%20%20L256%2C197.8L124.9%2C68.3c-2.6-2.6-6.1-4-9.8-4c-3.7%2C0-7.2%2C1.5-9.8%2C4L68%2C105.9c-5.4%2C5.4-5.4%2C14.2%2C0%2C19.6l131.5%2C130L68.4%2C387.1%20%20c-2.6%2C2.6-4.1%2C6.1-4.1%2C9.8c0%2C3.7%2C1.4%2C7.2%2C4.1%2C9.8l37.4%2C37.6c2.7%2C2.7%2C6.2%2C4.1%2C9.8%2C4.1c3.5%2C0%2C7.1-1.3%2C9.8-4.1L256%2C313.1l130.7%2C131.1%20%20c2.7%2C2.7%2C6.2%2C4.1%2C9.8%2C4.1c3.5%2C0%2C7.1-1.3%2C9.8-4.1l37.4-37.6c2.6-2.6%2C4.1-6.1%2C4.1-9.8C447.7%2C393.2%2C446.2%2C389.7%2C443.6%2C387.1z%22%2F%3E%3C%2Fsvg%3E"};function yj(e){var t,o,n=ph.useRef(null);return o=e.outsideClick,ph.useEffect((function(){function r(s){t.current&&!t.current.contains(s.target)&&o()}return document.addEventListener("mousedown",r),function(){document.removeEventListener("mousedown",r)}}),[t=n]),it.createElement("div",{ref:n},e.children)}var lh=(function(e){var t,o;function n(s){var l;return(l=e.call(this,s)||this).state={inputValue:"",options:s.options,filteredOptions:s.options,unfilteredOptions:s.options,selectedValues:Object.assign([],s.selectedValues),preSelectedValues:Object.assign([],s.selectedValues),toggleOptionsList:!1,highlightOption:s.avoidHighlightFirstOption?-1:0,showCheckbox:s.showCheckbox,keepSearchTerm:s.keepSearchTerm,groupedObject:[],closeIconType:hN[s.closeIcon]||hN.circle},l.optionTimeout=null,l.searchWrapper=it.createRef(),l.searchBox=it.createRef(),l.onChange=l.onChange.bind(It(l)),l.onKeyPress=l.onKeyPress.bind(It(l)),l.onFocus=l.onFocus.bind(It(l)),l.onBlur=l.onBlur.bind(It(l)),l.renderMultiselectContainer=l.renderMultiselectContainer.bind(It(l)),l.renderSelectedList=l.renderSelectedList.bind(It(l)),l.onRemoveSelectedItem=l.onRemoveSelectedItem.bind(It(l)),l.toggelOptionList=l.toggelOptionList.bind(It(l)),l.onArrowKeyNavigation=l.onArrowKeyNavigation.bind(It(l)),l.onSelectItem=l.onSelectItem.bind(It(l)),l.filterOptionsByInput=l.filterOptionsByInput.bind(It(l)),l.removeSelectedValuesFromOptions=l.removeSelectedValuesFromOptions.bind(It(l)),l.isSelectedValue=l.isSelectedValue.bind(It(l)),l.fadeOutSelection=l.fadeOutSelection.bind(It(l)),l.isDisablePreSelectedValues=l.isDisablePreSelectedValues.bind(It(l)),l.renderGroupByOptions=l.renderGroupByOptions.bind(It(l)),l.renderNormalOption=l.renderNormalOption.bind(It(l)),l.listenerCallback=l.listenerCallback.bind(It(l)),l.resetSelectedValues=l.resetSelectedValues.bind(It(l)),l.getSelectedItems=l.getSelectedItems.bind(It(l)),l.getSelectedItemsCount=l.getSelectedItemsCount.bind(It(l)),l.hideOnClickOutside=l.hideOnClickOutside.bind(It(l)),l.onCloseOptionList=l.onCloseOptionList.bind(It(l)),l.isVisible=l.isVisible.bind(It(l)),l}o=e,(t=n).prototype=Object.create(o.prototype),t.prototype.constructor=t,CN(t,o);var r=n.prototype;return r.initialSetValue=function(){var s=this.props,l=s.groupBy,p=this.state.options;s.showCheckbox||s.singleSelect||this.removeSelectedValuesFromOptions(!1),l&&this.groupByOptions(p)},r.resetSelectedValues=function(){var s=this,l=this.state.unfilteredOptions;return new Promise((function(p){s.setState({selectedValues:[],preSelectedValues:[],options:l,filteredOptions:l},(function(){p(),s.initialSetValue()}))}))},r.getSelectedItems=function(){return this.state.selectedValues},r.getSelectedItemsCount=function(){return this.state.selectedValues.length},r.componentDidMount=function(){this.initialSetValue(),this.searchWrapper.current.addEventListener("click",this.listenerCallback)},r.componentDidUpdate=function(s){var l=this.props,p=l.options,d=l.selectedValues,u=s.selectedValues;JSON.stringify(s.options)!==JSON.stringify(p)&&this.setState({options:p,filteredOptions:p,unfilteredOptions:p},this.initialSetValue),JSON.stringify(u)!==JSON.stringify(d)&&this.setState({selectedValues:Object.assign([],d),preSelectedValues:Object.assign([],d)},this.initialSetValue)},r.listenerCallback=function(){this.searchBox.current.focus()},r.componentWillUnmount=function(){this.optionTimeout&&clearTimeout(this.optionTimeout),this.searchWra
56pper.current.removeEventListener("click",this.listenerCallback)},r.removeSelectedValuesFromOptions=function(s){var l=this.props,p=l.isObject,d=l.displayValue,u=l.groupBy,y=this.state,m=y.selectedValues,g=m===void 0?[]:m,f=y.unfilteredOptions;if(!s&&u&&this.groupByOptions(y.options),g.length||s){if(p){var b=f.filter((function(C){return g.findIndex((function(I){return I[d]===C[d]}))===-1}));return u&&this.groupByOptions(b),void this.setState({options:b,filteredOptions:b},this.filterOptionsByInput)}var S=f.filter((function(C){return g.indexOf(C)===-1}));this.setState({options:S,filteredOptions:S},this.filterOptionsByInput)}},r.groupByOptions=function(s){var l=this.props.groupBy,p=s.reduce((function(d,u){var y=u[l]||"Others";return d[y]=d[y]||[],d[y].push(u),d}),Object.create({}));this.setState({groupedObject:p})},r.onChange=function(s){var l=this.props.onSearch;this.setState({inputValue:s.target.value},this.filterOptionsByInput),l&&l(s.target.value)},r.onKeyPress=function(s){var l=this.props.onKeyPressFn;l&&l(s,s.target.value)},r.filterOptionsByInput=function(){var s,l=this,p=this.state,d=p.inputValue,u=this.props,y=u.displayValue;s=p.filteredOptions.filter(u.isObject?function(m){return l.matchValues(m[y],d)}:function(m){return l.matchValues(m,d)}),this.groupByOptions(s),this.setState({options:s})},r.matchValues=function(s,l){return this.props.caseSensitiveSearch?s.indexOf(l)>-1:s.toLowerCase?s.toLowerCase().indexOf(l.toLowerCase())>-1:s.toString().indexOf(l)>-1},r.onArrowKeyNavigation=function(s){var l=this.state,p=l.options,d=l.highlightOption,u=l.toggleOptionsList,y=l.selectedValues;if(s.keyCode!==8||l.inputValue||this.props.disablePreSelectedValues||!y.length||this.onRemoveSelectedItem(y.length-1),p.length){if(s.keyCode===38)this.setState(d>0?function(m){return{highlightOption:m.highlightOption-1}}:{highlightOption:p.length-1});else if(s.keyCode===40)this.setState(d<p.length-1?function(m){return{highlightOption:m.highlightOption+1}}:{highlightOption:0});else if(s.key==="Enter"&&p.length&&u){if(d===-1)return;this.onSelectItem(p[d])}}},r.onRemoveSelectedItem=function(s){var l,p=this,d=this.state.selectedValues,u=this.props,y=u.onRemove,m=u.showCheckbox,g=u.displayValue;l=u.isObject?d.findIndex((function(f){return f[g]===s[g]})):d.indexOf(s),d.splice(l,1),y(d,s),this.setState({selectedValues:d},(function(){m||p.removeSelectedValuesFromOptions(!0)})),this.props.closeOnSelect||this.searchBox.current.focus()},r.onSelectItem=function(s){var l=this,p=this.state.selectedValues,d=this.props,u=d.selectionLimit,y=d.onSelect,m=d.singleSelect,g=d.showCheckbox;if(this.state.keepSearchTerm||this.setState({inputValue:""}),m)return this.onSingleSelect(s),void y([s],s);this.isSelectedValue(s)?this.onRemoveSelectedItem(s):u!=p.length&&(p.push(s),y(p,s),this.setState({selectedValues:p},(function(){g?l.filterOptionsByInput():l.removeSelectedValuesFromOptions(!0)})),this.props.closeOnSelect||this.searchBox.current.focus())},r.onSingleSelect=function(s){this.setState({selectedValues:[s],toggleOptionsList:!1})},r.isSelectedValue=function(s){var l=this.props,p=l.displayValue,d=this.state.selectedValues;return l.isObject?d.filter((function(u){return u[p]===s[p]})).length>0:d.filter((function(u){return u===s})).length>0},r.renderOptionList=function(){var s=this.props,l=s.groupBy,p=s.style,d=s.emptyRecordMsg,u=s.loadingMessage,y=u===void 0?"loading...":u,m=this.state.options;return s.loading?it.createElement("ul",{className:"optionContainer",style:p.optionContainer},typeof y=="string"&&it.createElement("span",{style:p.loadingMessage,className:"notFound"},y),typeof y!="string"&&y):it.createElement("ul",{className:"optionContainer",style:p.optionContainer},m.length===0&&it.createElement("span",{style:p.notFound,className:"notFound"},d),l?this.renderGroupByOptions():this.renderNormalOption())},r.renderGroupByOptions=function(){var s=this,l=this.props,p=l.isObject,d=p!==void 0&&p,u=l.displayValue,y=l.showCheckbox,m=l.style,g=l.singleSelect,f=this.state.groupedObject;return Object.keys(f).map((function(b){return it.createElement(it.Fragment,{key:b},it.createElement("li",{className:"groupHeading",style:m.groupHeading},b),f[b].map((function(S,C){var I=s.isSelectedValue(S);return it.createElement("li",{key:"option"+C,style:m.option,className:"groupChildEle option "+(I?"selected":"")+" "+(s.fadeOutSelection(S)?"disableSelection":"")+" "+(s.isDisablePreSelectedValues(S)?"disableSelection":""),onClick:function(){return s.onSelectItem(S)}},y&&!g&&it.createElement("input",{type:"checkbox",className:"checkbox",readOnly:!0,checked:I}),s.props.optionValueDecorator(d?S[u]:(S||"").toString(),S))})))}))},r.renderNormalOption=function(){var s=this,l=this.props,p=l.isObject,d=p!==void 0&&p,u=l.displayValue,y=l.showCheckbox,m=l.style,g=l.singleSelect,f=this.state.highlightOption;return this.state.options.map((function(b,S){var C=s.isSelectedValue(b);return it.createElement("li",{key:"option"+S,style:m.option,className:"option "+(C?"selected":"")+" "+(f===S?"highlightOption highlight":"")+" "+(s.fadeOutSelection(b)?"disableSelection":"")+" "+(s.isDisablePreSelectedValues(b)?"disableSelection":""),onClick:function(){return s.onSelectItem(b)}},y&&!g&&it.createElement("input",{type:"checkbox",readOnly:!0,className:"checkbox",checked:C}),s.props.optionValueDecorator(d?b[u]:(b||"").toString(),b))}))},r.renderSelectedList=function(){var s=this,l=this.props,p=l.isObject,d=p!==void 0&&p,u=l.displayValue,y=l.style,m=l.singleSelect,g=l.customCloseIcon,f=this.state,b=f.closeIconType;return f.selectedValues.map((function(S,C){return it.createElement("span",{className:"chip "+(m&&"singleChip")+" "+(s.isDisablePreSelectedValues(S)&&"disableSelection"),key:C,style:y.chips},s.props.selectedValueDecorator(d?S[u]:(S||"").toString(),S),!s.isDisablePreSelectedValues(S)&&(g?it.createElement("i",{className:"custom-close",onClick:function(){return s.onRemoveSelectedItem(S)}},g):it.createElement("img",{className:"icon_cancel closeIcon",src:b,onClick:function(){return s.onRemoveSelectedItem(S)}})))}))},r.isDisablePreSelectedValues=function(s){var l=this.props,p=l.displayValue,d=this.state.preSelectedValues;return!(!l.disablePreSelectedValues||!d.length)&&(l.isObject?d.filter((function(u){return u[p]===s[p]})).length>0:d.filter((function(u){return u===s})).length>0)},r.fadeOutSelection=function(s){var l=this.props,p=l.selectionLimit;if(!l.singleSelect){var d=this.state.selectedValues;return p!=-1&&p==d.length&&(p==d.length?!l.showCheckbox||!this.isSelectedValue(s):void 0)}},r.toggelOptionList=function(){this.setState({toggleOptionsList:!this.state.toggleOptionsList,highlightOption:this.props.avoidHighlightFirstOption?-1:0})},r.onCloseOptionList=function(){this.setState({toggleOptionsList:!1,highlightOption:this.props.avoidHighlightFirstOption?-1:0,inputValue:""})},r.onFocus=function(){this.state.toggleOptionsList?clearTimeout(this.optionTimeout):this.toggelOptionList()},r.onBlur=function(){this.setState({inputValue:""},this.filterOptionsByInput),this.optionTimeout=setTimeout(this.onCloseOptionList,250)},r.isVisible=function(s){return!!s&&!!(s.offsetWidth||s.offsetHeight||s.getClientRects().length)},r.hideOnClickOutside=function(){var s=this,l=document.getElementsByClassName("multiselect-container")[0];document.addEventListener("click",(function(p){l&&!l.contains(p.target)&&s.isVisible(l)&&s.toggelOptionList()}))},r.renderMultiselectContainer=function(){var s=this.state,l=s.inputValue,p=s.toggleOptionsList,d=s.selectedValues,u=this.props,y=u.placeholder,m=u.style,g=u.singleSelect,f=u.id,b=u.name,S=u.hidePlaceholder,C=u.disable,I=u.showArrow,k=u.customArrow;return it.createElement("div",{className:"multiselect-container multiSelectContainer "+(C?"disable_ms":"")+" "+(u.className||""),id:f||"multiselectContainerReact",style:m.multiselectContainer}
56,it.createElement("div",{className:"search-wrapper searchWrapper "+(g?"singleSelect":""),ref:this.searchWrapper,style:m.searchBox,onClick:g?this.toggelOptionList:function(){}},!u.hideSelectedList&&this.renderSelectedList(),it.createElement("input",{type:"text",ref:this.searchBox,className:"searchBox "+(g&&d.length?"display-none":""),id:(f||"search")+"_input",name:(b||"search_name")+"_input",onChange:this.onChange,onKeyPress:this.onKeyPress,value:l,onFocus:this.onFocus,onBlur:this.onBlur,placeholder:g&&d.length||S&&d.length?"":y,onKeyDown:this.onArrowKeyNavigation,style:m.inputField,autoComplete:"off",disabled:g||C}),(g||I)&&it.createElement(it.Fragment,null,k?it.createElement("span",{className:"icon_down_dir"},k):it.createElement("img",{src:"data:image/svg+xml,%3Csvg%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20width%3D%2232%22%20%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%20%20%3Cg%20id%3D%22background%22%3E%20%20%20%20%20%20%20%20%3Crect%20fill%3D%22none%22%20height%3D%2232%22%20width%3D%2232%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20id%3D%22arrow_x5F_down%22%3E%20%20%20%20%20%20%20%20%3Cpolygon%20points%3D%222.002%2C10%2016.001%2C24%2030.002%2C10%20%20%22%2F%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E",className:"icon_cancel icon_down_dir"}))),it.createElement("div",{className:"optionListContainer "+(p?"displayBlock":"displayNone"),onMouseDown:function(v){v.preventDefault()}},this.renderOptionList()))},r.render=function(){return it.createElement(yj,{outsideClick:this.onCloseOptionList},this.renderMultiselectContainer())},n})(it.Component);lh.defaultProps={options:[],disablePreSelectedValues:!1,selectedValues:[],isObject:!0,displayValue:"model",showCheckbox:!1,selectionLimit:-1,placeholder:"Select",groupBy:"",style:{},emptyRecordMsg:"No Options Available",onSelect:function(){},onRemove:function(){},onKeyPressFn:function(){},closeIcon:"circle2",singleSelect:!1,caseSensitiveSearch:!1,id:"",name:"",closeOnSelect:!0,avoidHighlightFirstOption:!1,hidePlaceholder:!1,showArrow:!1,keepSearchTerm:!1,customCloseIcon:"",className:"",customArrow:void 0,selectedValueDecorator:function(e){return e},optionValueDecorator:function(e){return e}},sy.Multiselect=lh,sy.default=lh});var IN=xe((yxe,vN)=>{"use strict";vN.exports=xN()});var eE=xe((_Ie,ZN)=>{"use strict";var Oj=typeof Element<"u",Gj=typeof Map=="function",zj=typeof Set=="function",Uj=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function fy(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,r;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!fy(e[n],t[n]))return!1;return!0}var s;if(Gj&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(n=s.next()).done;)if(!t.has(n.value[0]))return!1;for(s=e.entries();!(n=s.next()).done;)if(!fy(n.value[1],t.get(n.value[0])))return!1;return!0}if(zj&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(n=s.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Uj&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(r=Object.keys(e),o=r.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[n]))return!1;if(Oj&&e instanceof Element)return!1;for(n=o;n--!==0;)if(!((r[n]==="_owner"||r[n]==="__v"||r[n]==="__o")&&e.$$typeof)&&!fy(e[r[n]],t[r[n]]))return!1;return!0}return e!==e&&t!==t}ZN.exports=function(t,o){try{return fy(t,o)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}});var oE=xe((wIe,tE)=>{"use strict";var Wj=function(e,t,o,n,r,s,l,p){if(!e){var d;if(t===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[o,n,r,s,l,p],y=0;d=new Error(t.replace(/%s/g,function(){return u[y++]})),d.name="Invariant Violation"}throw d.framesToPop=1,d}};tE.exports=Wj});var aE=xe((DIe,nE)=>{"use strict";nE.exports=function(t,o,n,r){var s=n?n.call(r,t,o):void 0;if(s!==void 0)return!!s;
56if(t===o)return!0;if(typeof t!="object"||!t||typeof o!="object"||!o)return!1;var l=Object.keys(t),p=Object.keys(o);if(l.length!==p.length)return!1;for(var d=Object.prototype.hasOwnProperty.bind(o),u=0;u<l.length;u++){var y=l[u];if(!d(y))return!1;var m=t[y],g=o[y];if(s=n?n.call(r,m,g,y):void 0,s===!1||s===void 0&&m!==g)return!1}return!0}});var fE=xe(($Ie,gE)=>{"use strict";var Os=1e3,Gs=Os*60,zs=Gs*60,Ii=zs*24,rY=Ii*7,iY=Ii*365.25;gE.exports=function(e,t){t=t||{};var o=typeof e;if(o==="string"&&e.length>0)return sY(e);if(o==="number"&&isFinite(e))return t.long?pY(e):lY(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function sY(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var o=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return o*iY;case"weeks":case"week":case"w":return o*rY;case"days":case"day":case"d":return o*Ii;case"hours":case"hour":case"hrs":case"hr":case"h":return o*zs;case"minutes":case"minute":case"mins":case"min":case"m":return o*Gs;case"seconds":case"second":case"secs":case"sec":case"s":return o*Os;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}function lY(e){var t=Math.abs(e);return t>=Ii?Math.round(e/Ii)+"d":t>=zs?Math.round(e/zs)+"h":t>=Gs?Math.round(e/Gs)+"m":t>=Os?Math.round(e/Os)+"s":e+"ms"}function pY(e){var t=Math.abs(e);return t>=Ii?xy(e,t,Ii,"day"):t>=zs?xy(e,t,zs,"hour"):t>=Gs?xy(e,t,Gs,"minute"):t>=Os?xy(e,t,Os,"second"):e+" ms"}function xy(e,t,o,n){var r=t>=o*1.5;return Math.round(e/o)+" "+n+(r?"s":"")}});var SE=xe((LIe,bE)=>{"use strict";function cY(e){o.debug=o,o.default=o,o.coerce=d,o.disable=l,o.enable=r,o.enabled=p,o.humanize=fE(),o.destroy=u,Object.keys(e).forEach(y=>{o[y]=e[y]}),o.names=[],o.skips=[],o.formatters={};function t(y){let m=0;for(let g=0;g<y.length;g++)m=(m<<5)-m+y.charCodeAt(g),m|=0;return o.colors[Math.abs(m)%o.colors.length]}o.selectColor=t;function o(y){let m,g=null,f,b;function S(...C){if(!S.enabled)return;let I=S,k=Number(new Date),v=k-(m||k);I.diff=v,I.prev=m,I.curr=k,m=k,C[0]=o.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let A=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(D,M)=>{if(D==="%%")return"%";A++;let _=o.formatters[M];if(typeof _=="function"){let F=C[A];D=_.call(I,F),C.splice(A,1),A--}return D}),o.formatArgs.call(I,C),(I.log||o.log).apply(I,C)}return S.namespace=y,S.useColors=o.useColors(),S.color=o.selectColor(y),S.extend=n,S.destroy=o.destroy,Object.defineProperty(S,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(f!==o.namespaces&&(f=o.namespaces,b=o.enabled(y)),b),set:C=>{g=C}}),typeof o.init=="function"&&o.init(S),S}function n(y,m){let g=o(this.namespace+(typeof m>"u"?":":m)+y);return g.log=this.log,g}function r(y){o.save(y),o.namespaces=y,o.names=[],o.skips=[];let m=(typeof y=="string"?y:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let g of m)g[0]==="-"?o.skips.push(g.slice(1)):o.names.push(g)}function s(y,m){let g=0,f=0,b=-1,S=0;for(;g<y.length;)if(f<m.length&&(m[f]===y[g]||m[f]==="*"))m[f]==="*"?(b=f,S=g,f++):(g++,f++);else if(b!==-1)f=b+1,S++,g=S;else return!1;for(;f<m.length&&m[f]==="*";)f++;return f===m.length}function l(){let y=[...o.names,...o.skips.map(m=>"-"+m)].join(",");return o.enable(""),y}function p(y){for(let m of o.skips)if(s(y,m))return!1;for(let m of o.names)if(s(y,m))return!0;return!1}function d(y){return y instanceof Error?y.stack||y.message:y}function u(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o.enable(o.load()),o}bE.exports=cY});var hE=xe((on,vy)=>{"use strict";on.formatArgs=uY;on.save=yY;on.load=mY;on.useColors=dY;on.storage=gY();on.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();on.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33
56CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function dY(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function uY(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+vy.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let o=0,n=0;e[0].replace(/%[a-zA-Z%]/g,r=>{r!=="%%"&&(o++,r==="%c"&&(n=o))}),e.splice(n,0,t)}on.log=console.debug||console.log||(()=>{});function yY(e){try{e?on.storage.setItem("debug",e):on.storage.removeItem("debug")}catch{}}function mY(){let e;try{e=on.storage.getItem("debug")||on.storage.getItem("DEBUG")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function gY(){try{return localStorage}catch{}}vy.exports=SE()(on);var{formatters:fY}=vy.exports;fY.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var vE=xe((HIe,xE)=>{"use strict";var CE=hE()("jsonp");xE.exports=hY;var bY=0;function SY(){}function hY(e,t,o){typeof t=="function"&&(o=t,t={}),t||(t={});var n=t.prefix||"__jp",r=t.name||n+bY++,s=t.param||"callback",l=t.timeout!=null?t.timeout:6e4,p=encodeURIComponent,d=document.getElementsByTagName("script")[0]||document.head,u,y;l&&(y=setTimeout(function(){m(),o&&o(new Error("Timeout"))},l));function m(){u.parentNode&&u.parentNode.removeChild(u),window[r]=SY,y&&clearTimeout(y)}function g(){window[r]&&m()}return window[r]=function(f){CE("jsonp got",f),m(),o&&o(null,f)},e+=(~e.indexOf("?")?"&":"?")+s+"="+p(r),e=e.replace("?&","?"),CE('jsonp req "%s"',e),u=document.createElement("script"),u.src=e,d.parentNode.insertBefore(u,d),g}});var _C=xe(b5=>{"use strict";var Js=function(){return Js=Object.assign||function(t){for(var o,n=1,r=arguments.length;n<r;n++){o=arguments[n];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},Js.apply(this,arguments)},Ma=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function KX(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ve={},Di={};Object.defineProperty(Di,"__esModule",{value:!0});Di.BLOCKS=void 0;var s5;(function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"})(s5||(Di.BLOCKS=s5={}));var Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.INLINES=void 0;var l5;(function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"})(l5||(Zs.INLINES=l5={}));var ic={};Object.defineProperty(ic,"__esModule",{value:!0});ic.MARKS=void 0;var p5;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="str
56ikethrough"})(p5||(ic.MARKS=p5={}));var u5={};(function(e){var t=Ma&&Ma.__spreadArray||function(l,p,d){if(d||arguments.length===2)for(var u=0,y=p.length,m;u<y;u++)(m||!(u in p))&&(m||(m=Array.prototype.slice.call(p,0,u)),m[u]=p[u]);return l.concat(m||Array.prototype.slice.call(p))},o;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var n=Di,r=Zs,s=ic;e.TOP_LEVEL_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(o={},o[n.BLOCKS.OL_LIST]=[n.BLOCKS.LIST_ITEM],o[n.BLOCKS.UL_LIST]=[n.BLOCKS.LIST_ITEM],o[n.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,o[n.BLOCKS.QUOTE]=[n.BLOCKS.PARAGRAPH],o[n.BLOCKS.TABLE]=[n.BLOCKS.TABLE_ROW],o[n.BLOCKS.TABLE_ROW]=[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],o[n.BLOCKS.TABLE_CELL]=[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST],o[n.BLOCKS.TABLE_HEADER_CELL]=[n.BLOCKS.PARAGRAPH],o),e.HEADINGS=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([n.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,r.INLINES.HYPERLINK,r.INLINES.ENTRY_HYPERLINK,r.INLINES.ASSET_HYPERLINK,r.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[s.MARKS.BOLD,s.MARKS.CODE,s.MARKS.ITALIC,s.MARKS.UNDERLINE]})(u5);var y5={};Object.defineProperty(y5,"__esModule",{value:!0});var m5={};Object.defineProperty(m5,"__esModule",{value:!0});var gm={};Object.defineProperty(gm,"__esModule",{value:!0});gm.EMPTY_DOCUMENT=void 0;var c5=Di;gm.EMPTY_DOCUMENT={nodeType:c5.BLOCKS.DOCUMENT,data:{},content:[{nodeType:c5.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var sc={};Object.defineProperty(sc,"__esModule",{value:!0});sc.isInline=XX;sc.isBlock=JX;sc.isText=ZX;var jX=Di,YX=Zs;function g5(e,t){for(var o=0,n=Object.keys(e);o<n.length;o++){var r=n[o];if(t===e[r])return!0}return!1}function XX(e){return g5(YX.INLINES,e.nodeType)}function JX(e){return g5(jX.BLOCKS,e.nodeType)}function ZX(e){return e.nodeType==="text"}function eJ(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var AC={};Object.defineProperty(AC,"__esModule",{value:!0});AC.getSchemaWithNodeType=tJ;function tJ(e){try{return eJ("./generated/".concat(e,".json"))}catch{throw new Error('Schema for nodeType "'.concat(e,'" was not found.'))}}(function(e){var t=Ma&&Ma.__createBinding||(Object.create?(function(m,g,f,b){b===void 0&&(b=f);var S=Object.getOwnPropertyDescriptor(g,f);(!S||("get"in S?!g.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return g[f]}}),Object.defineProperty(m,b,S)}):(function(m,g,f,b){b===void 0&&(b=f),m[b]=g[f]})),o=Ma&&Ma.__setModuleDefault||(Object.create?(function(m,g){Object.defineProperty(m,"default",{enumerable:!0,value:g})}):function(m,g){m.default=g}),n=Ma&&Ma.__exportStar||function(m,g){for(var f in m)f!=="default"&&!Object.prototype.hasOwnProperty.call(g,f)&&t(g,m,f)}
56,r=Ma&&Ma.__importStar||function(m){if(m&&m.__esModule)return m;var g={};if(m!=null)for(var f in m)f!=="default"&&Object.prototype.hasOwnProperty.call(m,f)&&t(g,m,f);return o(g,m),g};Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaWithNodeType=e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var s=Di;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}});var l=Zs;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return l.INLINES}});var p=ic;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return p.MARKS}}),n(u5,e),n(y5,e),n(m5,e);var d=gm;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return d.EMPTY_DOCUMENT}});var u=r(sc);e.helpers=u;var y=AC;Object.defineProperty(e,"getSchemaWithNodeType",{enumerable:!0,get:function(){return y.getSchemaWithNodeType}})})(Ve);var oJ=/["'&<>]/,nJ=aJ;function aJ(e){var t=""+e,o=oJ.exec(t);if(!o)return t;var n,r="",s=0,l=0;for(s=o.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}l!==s&&(r+=t.substring(l,s)),l=s+1,r+=n}return l!==s?r+t.substring(l,s):r}var rc=KX(nJ),ut,sr,rJ=function(e){return'"'.concat(e.replace(/"/g,"""),'"')},iJ=(ut={},ut[Ve.BLOCKS.PARAGRAPH]=function(e,t){return"<p>".concat(t(e.content),"</p>")},ut[Ve.BLOCKS.HEADING_1]=function(e,t){return"<h1>".concat(t(e.content),"</h1>")},ut[Ve.BLOCKS.HEADING_2]=function(e,t){return"<h2>".concat(t(e.content),"</h2>")},ut[Ve.BLOCKS.HEADING_3]=function(e,t){return"<h3>".concat(t(e.content),"</h3>")},ut[Ve.BLOCKS.HEADING_4]=function(e,t){return"<h4>".concat(t(e.content),"</h4>")},ut[Ve.BLOCKS.HEADING_5]=function(e,t){return"<h5>".concat(t(e.content),"</h5>")},ut[Ve.BLOCKS.HEADING_6]=function(e,t){return"<h6>".concat(t(e.content),"</h6>")},ut[Ve.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return"<div>".concat(t(e.content),"</div>")},ut[Ve.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return"<div>".concat(t(e.content),"</div>")},ut[Ve.BLOCKS.UL_LIST]=function(e,t){return"<ul>".concat(t(e.content),"</ul>")},ut[Ve.BLOCKS.OL_LIST]=function(e,t){return"<ol>".concat(t(e.content),"</ol>")},ut[Ve.BLOCKS.LIST_ITEM]=function(e,t){return"<li>".concat(t(e.content),"</li>")},ut[Ve.BLOCKS.QUOTE]=function(e,t){return"<blockquote>".concat(t(e.content),"</blockquote>")},ut[Ve.BLOCKS.HR]=function(){return"<hr/>"},ut[Ve.BLOCKS.TABLE]=function(e,t){return"<table>".concat(t(e.content),"</table>")},ut[Ve.BLOCKS.TABLE_ROW]=function(e,t){return"<tr>".concat(t(e.content),"</tr>")},ut[Ve.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return"<th>".concat(t(e.content),"</th>")},ut[Ve.BLOCKS.TABLE_CELL]=function(e,t){return"<td>".concat(t(e.content),"</td>")},ut[Ve.INLINES.ASSET_HYPERLINK]=function(e){return TC(Ve.INLINES.ASSET_HYPERLINK,e)},ut[Ve.INLINES.ENTRY_HYPERLINK]=function(e){return TC(Ve.INLINES.ENTRY_HYPERLINK,e)},ut[Ve.INLINES.RESOURCE_HYPERLINK]=function(e){return d5(Ve.INLINES.RESOURCE_HYPERLINK,e)},ut[Ve.INLINES.EMBEDDED_ENTRY]=function(e){return TC(Ve.INLINES.EMBEDDED_ENTRY,e)},ut[Ve.INLINES.EMBEDDED_RESOURCE]=function(e){return d5(Ve.INLINES.EMBEDDED_RESOURCE,e)},ut[Ve.INLINES.HYPERLINK]=function(e,t){var o=typeof e.data.uri=="string"?e.data.uri:"";return"<a href=".concat(rJ(o),">").concat(t(e.content),"</a>")},ut),sJ=(sr={},sr[Ve.MARKS.BOLD]=function(e){return"<b>".concat(e,"</b>")},sr[Ve.MARKS.ITALIC]=function(e){return"<i>".concat(e,"</i>")},sr[Ve.MARKS.UNDERLINE]=function(e){return"<u>".concat(e,"</u>")},sr[Ve.MARKS.CODE]=function(e){return"<code>".concat(e,"</code>")},sr[Ve.MARKS.SUPERSCRIPT]=function(e){return"<sup>".concat(e,"</sup>")},sr[Ve.MARKS.SUBSCRIPT]=function(e){return"<sub>".concat(e,"</sub>")},sr[Ve.MARKS.STRIKETHROUGH]=function(e){return"<s>".concat(e,"</s>")},sr),TC=function(e,t){return"<span>type: ".concat(rc(e)," id: ").concat(rc(t.data.target.sys.id),"</span>")},d5=function(e,t){return"<span>type: ".concat(rc(e)," urn: ").concat(rc(t.data.target.sys.urn),"</span>")};function lJ(e,t){return t===void 0&&(t={}),!e||!e.content?"":f5(e.content,{renderNode:Js(Js({},iJ),t.renderNode),renderMark:Js(Js({},sJ),t.renderMark),preserveWhitespace:t.preserveWhitespace})}function f5(e,t){var o=t.renderNode,n=t.renderMark,r=t.preserveWhitespace;return e.map(function(s){return pJ(s,{renderNode:o,renderMark:n,preserveWhitespace:r})}).join("")}function pJ(e,t){var o=t.renderNode,n=t.renderMark,r=t.preserveWhitespace;if(Ve.helpers.isText(e)){var s=rc(e.value);return r&&(s=s.replace(/\n/g,"<br/>").replace(/ {2,}/g,function(p){return" ".repeat(p.length)})),e.marks.length>0?e.marks.reduce(function(p,d){return n[d.type]?n[d.type](p):p},s):s}else{var l=function(p){return f5(p,{renderMark:n,renderNode:o,preserveWhitespace:r})};return!e.nodeType||!o[e.nodeType]?"":o[e.nodeType](e,l)}}b5.documentToHtmlString=lJ});var NL=xe((y$e,PL)=>{"use strict";var JJ={}.toString;PL.exports=Array.isArray||function(e){return JJ.call(e)=="[object Array]"}});var BL=xe((m$e,ol)=>{"use strict";var $m=NL();ol.exports=FL;ol.exports.parse=ex;ol.exports.compile=tZ;ol.exports.tokensToFunction=EL;ol.exports.tokensToRegExp=RL;var ZJ=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function ex(e,t){for(var o=[],n=0,r=0,s="",l=t&&t.delimiter||"/",p;(p=ZJ.exec(e))!=null;){var d=p[0],u=p[1],y=p.index;if(s+=e.slice(r,y),r=y+d.length,u){s+=u[1];continue}var m=e[r],g=p[2],f=p[3],b=p[4],S=p[5],C=p[6],I=p[7];s&&(o.push(s),s="");var k=g!=null&&m!=null&&m!==g,v=C==="+"||C==="*",A=C==="?"||C==="*",w=g||l,D=b||S,M=g||(typeof o[o.length-1]=="string"?o[o.length-1]:"");o.push({name:f||n++,prefix:g||"",delimiter:w,optional:A,repeat:v,partial:k,asterisk:!!I,pattern:D?aZ(D):I?".*":eZ(w,M)})}return r<e.length&&(s+=e.substr(r)),s&&o.push(s),o}function eZ(e,t){return!t||t.indexOf(e)>-1?"[^"+Ni(e)+"]+?":Ni(t)+"|(?:(?!"+Ni(t)+")[^"+Ni(e)+"])+?"}function tZ(e,t){return EL(ex(e,t),t)}function oZ(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function nZ(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function EL(e,t){for(var o=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(o[n]=new RegExp("^(?:"+e[n].pattern+")$",ox(t)));return function(r,s){for(var l="",p=r||{},d=s||{},u=d.pretty?oZ:encodeURIComponent,y=0;y<e.length;y++){var m=e[y];if(typeof m=="string"){l+=m;continue}var g=p[m.name],f;if(g==null)if(m.optional){m.partial&&(l+=m.prefix);continue}else throw new TypeError('Expected "'+m.name+'" to be defined');if($m(g)){if(!m.repeat)throw new TypeError('Expected "'+m.name+'" to not repeat, but received `'+JSON.stringify(g)+"`");if(g.length===0){if(m.optional)continue;throw new TypeError('Expected "'+m.name+'" to not be empty')}for(var b=0;b<g.length;b++){if(f=u(g[b]),!o[y].test(f))throw new TypeError('Expected all "'+m.name+'" to match "'+m.pattern+'", but received `'+JSON.stringify(f)+"`");l+=(b===0?m.prefix:m.delimiter)+f}continue}if(f=m.asterisk?nZ(g):u(g),!o[y].test(f))throw new TypeError('Expected "'+m.name+'" to match "'+m.pattern+'", but received "'+f+'"');l+=m.prefix+f}return l}}function Ni(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function aZ(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function tx(e,t){return e.keys=t,e}function ox(e){return e&&e.sensitive?"":"i"}function rZ(e,t){var o=e.source.match(/\((?!\?)/g);if(o)for(var n=0;n<o.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return tx(e,t)}function iZ(e,t,o){for(var n=[],r=0;r<e.length;r++)n.push(FL(e[r],t,o).source);var s=new RegExp("(?:"+n.join("|")+")",ox(o));return tx(s,t)}function sZ(e,t,o){return RL(ex(e,o),t,o)}function RL(e,t,o){$m(t)||(o=t||o,t=[]),o=o||{};for(var n=o.strict,r=o.end!==!1,s="",l=0;l<e.length;l++){var p=e[l];
56if(typeof p=="string")s+=Ni(p);else{var d=Ni(p.prefix),u="(?:"+p.pattern+")";t.push(p),p.repeat&&(u+="(?:"+d+u+")*"),p.optional?p.partial?u=d+"("+u+")?":u="(?:"+d+"("+u+"))?":u=d+"("+u+")",s+=u}}var y=Ni(o.delimiter||"/"),m=s.slice(-y.length)===y;return n||(s=(m?s.slice(0,-y.length):s)+"(?:"+y+"(?=$))?"),r?s+="$":s+=n&&m?"":"(?="+y+"|$)",tx(new RegExp("^"+s,ox(o)),t)}function FL(e,t,o){return $m(t)||(o=t||o,t=[]),o=o||{},e instanceof RegExp?rZ(e,t):$m(e)?iZ(e,t,o):sZ(e,t,o)}});var rg=xe(Px=>{"use strict";Object.defineProperty(Px,"__esModule",{value:!0});function see(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var wx=P(),je=see(wx),pl=function(){return pl=Object.assign||function(t){for(var o,n=1,r=arguments.length;n<r;n++){o=arguments[n];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(t[s]=o[s])}return t},pl.apply(this,arguments)},Pa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yr(e,t){return t={exports:{}},e(t,t.exports),t.exports}var fe=yr(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0;var o;(function(n){n.DOCUMENT="document",n.PARAGRAPH="paragraph",n.HEADING_1="heading-1",n.HEADING_2="heading-2",n.HEADING_3="heading-3",n.HEADING_4="heading-4",n.HEADING_5="heading-5",n.HEADING_6="heading-6",n.OL_LIST="ordered-list",n.UL_LIST="unordered-list",n.LIST_ITEM="list-item",n.HR="hr",n.QUOTE="blockquote",n.EMBEDDED_ENTRY="embedded-entry-block",n.EMBEDDED_ASSET="embedded-asset-block",n.EMBEDDED_RESOURCE="embedded-resource-block",n.TABLE="table",n.TABLE_ROW="table-row",n.TABLE_CELL="table-cell",n.TABLE_HEADER_CELL="table-header-cell"})(o||(t.BLOCKS=o={}))});ur(fe);var k7e=fe.BLOCKS,Zr=yr(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.INLINES=void 0;var o;(function(n){n.HYPERLINK="hyperlink",n.ENTRY_HYPERLINK="entry-hyperlink",n.ASSET_HYPERLINK="asset-hyperlink",n.RESOURCE_HYPERLINK="resource-hyperlink",n.EMBEDDED_ENTRY="embedded-entry-inline",n.EMBEDDED_RESOURCE="embedded-resource-inline"})(o||(t.INLINES=o={}))});ur(Zr);var M7e=Zr.INLINES,Li=yr(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MARKS=void 0;var o;(function(n){n.BOLD="bold",n.ITALIC="italic",n.UNDERLINE="underline",n.CODE="code",n.SUPERSCRIPT="superscript",n.SUBSCRIPT="subscript"})(o||(t.MARKS=o={}))});ur(Li);var T7e=Li.MARKS,Xn=yr(function(e,t){var o=Pa&&Pa.__spreadArray||function(r,s,l){if(l||arguments.length===2)for(var p=0,d=s.length,u;p<d;p++)(u||!(p in s))&&(u||(u=Array.prototype.slice.call(s,0,p)),u[p]=s[p]);return r.concat(u||Array.prototype.slice.call(s))},n;Object.defineProperty(t,"__esModule",{value:!0}),t.V1_MARKS=t.V1_NODE_TYPES=t.TEXT_CONTAINERS=t.HEADINGS=t.CONTAINERS=t.VOID_BLOCKS=t.TABLE_BLOCKS=t.LIST_ITEM_BLOCKS=t.TOP_LEVEL_BLOCKS=void 0,t.TOP_LEVEL_BLOCKS=[fe.BLOCKS.PARAGRAPH,fe.BLOCKS.HEADING_1,fe.BLOCKS.HEADING_2,fe.BLOCKS.HEADING_3,fe.BLOCKS.HEADING_4,fe.BLOCKS.HEADING_5,fe.BLOCKS.HEADING_6,fe.BLOCKS.OL_LIST,fe.BLOCKS.UL_LIST,fe.BLOCKS.HR,fe.BLOCKS.QUOTE,fe.BLOCKS.EMBEDDED_ENTRY,fe.BLOCKS.EMBEDDED_ASSET,fe.BLOCKS.EMBEDDED_RESOURCE,fe.BLOCKS.TABLE],t.LIST_ITEM_BLOCKS=[fe.BLOCKS.PARAGRAPH,fe.BLOCKS.HEADING_1,fe.BLOCKS.HEADING_2,fe.BLOCKS.HEADING_3,fe.BLOCKS.HEADING_4,fe.BLOCKS.HEADING_5,fe.BLOCKS.HEADING_6,fe.BLOCKS.OL_LIST,fe.BLOCKS.UL_LIST,fe.BLOCKS.HR,fe.BLOCKS.QUOTE,fe.BLOCKS.EMBEDDED_ENTRY,fe.BLOCKS.EMBEDDED_ASSET,fe.BLOCKS.EMBEDDED_RESOURCE],t.TABLE_BLOCKS=[fe.BLOCKS.TABLE,fe.BLOCKS.TABLE_ROW,fe.BLOCKS.TABLE_CELL,fe.BLOCKS.TABLE_HEADER_CELL],t.VOID_BLOCKS=[fe.BLOCKS.HR,fe.BLOCKS.EMBEDDED_ENTRY,fe.BLOCKS.EMBEDDED_ASSET,fe.BLOCKS.EMBEDDED_RESOURCE],t.CONTAINERS=(n={},n[fe.BLOCKS.OL_LIST]=[fe.BLOCKS.LIST_ITEM],n[fe.BLOCKS.UL_LIST]=[fe.BLOCKS.LIST_ITEM],n[fe.BLOCKS.LIST_ITEM]=t.LIST_ITEM_BLOCKS,n[fe.BLOCKS.QUOTE]=[fe.BLOCKS.PARAGRAPH],n[fe.BLOCKS.TABLE]=[fe.BLOCKS.TABLE_ROW],n[fe.BLOCKS.TABLE_ROW]=[fe.BLOCKS.TABLE_CELL,fe.BLOCKS.TABLE_HEADER_CELL],n[fe.BLOCKS.TABLE_CELL]=[fe.BLOCKS.PARAGRAPH],n[fe.BLOCKS.TABLE_HEADER_CELL]=[fe.BLOCKS.PARAGRAPH],n),t.HEADINGS=[fe.BLOCKS.HEADING_1,fe.BLOCKS.HEADING_2,fe.BLOCKS.HEADING_3,fe.BLOCKS.HEADING_4,fe.BLOCKS.HEADING_5,fe.BLOCKS.HEADING_6],t.TEXT_CONTAINERS=o([fe.BLOCKS.PARAGRAPH],t.HEADINGS,!0),t.V1_NODE_TYPES=[fe.BLOCKS.DOCUMENT,fe.BLOCKS.PARAGRAPH,fe.BLOCKS.HEADING_1,fe.BLOCKS.HEADING_2,fe.BLOCKS.HEADING_3,fe.BLOCKS.HEADING_4,fe.BLOCKS.HEADING_5,fe.BLOCKS.HEADING_6,fe.BLOCKS.OL_LIST,fe.BLOCKS.UL_LIST,fe.BLOCKS.LIST_ITEM,fe.BLOCKS.HR,fe.BLOCKS.QUOTE,fe.BLOCKS.EMBEDDED_ENTRY,fe.BLOCKS.EMBEDDED_ASSET,Zr.INLINES.HYPERLINK,Zr.INLINES.ENTRY_HYPERLINK,Zr.INLINES.ASSET_HYPERLINK,Zr.INLINES.EMBEDDED_ENTRY,"text"],t.V1_MARKS=[Li.MARKS.BOLD,Li.MARKS.CODE,Li.MARKS.ITALIC,Li.MARKS.UNDERLINE]});ur(Xn);var A7e=Xn.V1_MARKS,_7e=Xn.V1_NODE_TYPES,w7e=Xn.TEXT_CONTAINERS,D7e=Xn.HEADINGS,P7e=Xn.CONTAINERS,N7e=Xn.VOID_BLOCKS,E7e=Xn.TABLE_BLOCKS,R7e=Xn.LIST_ITEM_BLOCKS,F7e=Xn.TOP_LEVEL_BLOCKS,I8=yr(function(e,t){Object.defineProperty(t,"__esMo
56dule",{value:!0})});ur(I8);var k8=yr(function(e,t){Object.defineProperty(t,"__esModule",{value:!0})});ur(k8);var Dx=yr(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DOCUMENT=void 0,t.EMPTY_DOCUMENT={nodeType:fe.BLOCKS.DOCUMENT,data:{},content:[{nodeType:fe.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}});ur(Dx);var B7e=Dx.EMPTY_DOCUMENT,Tc=yr(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isText=t.isBlock=t.isInline=void 0;function o(l,p){for(var d=0,u=Object.keys(l);d<u.length;d++){var y=u[d];if(p===l[y])return!0}return!1}function n(l){return o(Zr.INLINES,l.nodeType)}t.isInline=n;function r(l){return o(fe.BLOCKS,l.nodeType)}t.isBlock=r;function s(l){return l.nodeType==="text"}t.isText=s});ur(Tc);var $7e=Tc.isText,L7e=Tc.isBlock,H7e=Tc.isInline,cl=yr(function(e,t){var o=Pa&&Pa.__createBinding||(Object.create?(function(p,d,u,y){y===void 0&&(y=u);var m=Object.getOwnPropertyDescriptor(d,u);(!m||("get"in m?!d.__esModule:m.writable||m.configurable))&&(m={enumerable:!0,get:function(){return d[u]}}),Object.defineProperty(p,y,m)}):(function(p,d,u,y){y===void 0&&(y=u),p[y]=d[u]})),n=Pa&&Pa.__setModuleDefault||(Object.create?(function(p,d){Object.defineProperty(p,"default",{enumerable:!0,value:d})}):function(p,d){p.default=d}),r=Pa&&Pa.__exportStar||function(p,d){for(var u in p)u!=="default"&&!Object.prototype.hasOwnProperty.call(d,u)&&o(d,p,u)},s=Pa&&Pa.__importStar||function(p){if(p&&p.__esModule)return p;var d={};if(p!=null)for(var u in p)u!=="default"&&Object.prototype.hasOwnProperty.call(p,u)&&o(d,p,u);return n(d,p),d};Object.defineProperty(t,"__esModule",{value:!0}),t.helpers=t.EMPTY_DOCUMENT=t.MARKS=t.INLINES=t.BLOCKS=void 0,Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return fe.BLOCKS}}),Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return Zr.INLINES}}),Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return Li.MARKS}}),r(Xn,t),r(I8,t),r(k8,t),Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return Dx.EMPTY_DOCUMENT}});var l=s(Tc);t.helpers=l});ur(cl);var lee=cl.helpers,V7e=cl.EMPTY_DOCUMENT,ll=cl.MARKS,Yn=cl.INLINES,Kt=cl.BLOCKS;function pee(e,t){return wx.isValidElement(e)&&e.key===null?wx.cloneElement(e,{key:t}):e}function cee(e,t){return e.map(function(o,n){return pee(M8(o,t),n)})}function M8(e,t){var o=t.renderNode,n=t.renderMark,r=t.renderText,s=t.preserveWhitespace;if(lee.isText(e)){var l=r?r(e.value):e.value;if(s){l=l.replace(/ {2,}/g,function(y){return"\xA0".repeat(y.length)});var p=l.split(` 57`),d=[];p.forEach(function(y,m){d.push(y),m!==p.length-1&&d.push(je.createElement("br",null))}),l=d}return e.marks.reduce(function(y,m){return n[m.type]?n[m.type](y):y},l)}else{var u=cee(e.content,t);return!e.nodeType||!o[e.nodeType]?je.createElement(je.Fragment,null,u):o[e.nodeType](e,u)}}var st,Jr,dee=(st={},st[Kt.DOCUMENT]=function(e,t){return t},st[Kt.PARAGRAPH]=function(e,t){return je.createElement("p",null,t)},st[Kt.HEADING_1]=function(e,t){return je.createElement("h1",null,t)},st[Kt.HEADING_2]=function(e,t){return je.createElement("h2",null,t)},st[Kt.HEADING_3]=function(e,t){return je.createElement("h3",null,t)},st[Kt.HEADING_4]=function(e,t){return je.createElement("h4",null,t)},st[Kt.HEADING_5]=function(e,t){return je.createElement("h5",null,t)},st[Kt.HEADING_6]=function(e,t){return je.createElement("h6",null,t)},st[Kt.EMBEDDED_ENTRY]=function(e,t){return je.createElement("div",null,t)},st[Kt.EMBEDDED_RESOURCE]=function(e,t){return je.createElement("div",null,t)},st[Kt.UL_LIST]=function(e,t){return je.createElement("ul",null,t)},st[Kt.OL_LIST]=function(e,t){return je.createElement("ol",null,t)},st[Kt.LIST_ITEM]=function(e,t){return je.createElement("li",null,t)},st[Kt.QUOTE]=function(e,t){return je.createElement("blockquote",null,t)},st[Kt.HR]=function(){return je.createElement("hr",null)},st[Kt.TABLE]=function(e,t){return je.createElement("table",null,je.createElement("tbody",null,t))},st[Kt.TABLE_ROW]=function(e,t){return je.createElement("tr",null,t)},st[Kt.TABLE_HEADER_CELL]=function(e,t){return je.createElement("th",
57null,t)},st[Kt.TABLE_CELL]=function(e,t){return je.createElement("td",null,t)},st[Yn.ASSET_HYPERLINK]=function(e){return _x(Yn.ASSET_HYPERLINK,e)},st[Yn.ENTRY_HYPERLINK]=function(e){return _x(Yn.ENTRY_HYPERLINK,e)},st[Yn.RESOURCE_HYPERLINK]=function(e){return v8(Yn.RESOURCE_HYPERLINK,e)},st[Yn.EMBEDDED_ENTRY]=function(e){return _x(Yn.EMBEDDED_ENTRY,e)},st[Yn.EMBEDDED_RESOURCE]=function(e,t){return v8(Yn.EMBEDDED_RESOURCE,e)},st[Yn.HYPERLINK]=function(e,t){return je.createElement("a",{href:e.data.uri},t)},st),uee=(Jr={},Jr[ll.BOLD]=function(e){return je.createElement("b",null,e)},Jr[ll.ITALIC]=function(e){return je.createElement("i",null,e)},Jr[ll.UNDERLINE]=function(e){return je.createElement("u",null,e)},Jr[ll.CODE]=function(e){return je.createElement("code",null,e)},Jr[ll.SUPERSCRIPT]=function(e){return je.createElement("sup",null,e)},Jr[ll.SUBSCRIPT]=function(e){return je.createElement("sub",null,e)},Jr);function _x(e,t){return je.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function v8(e,t){return je.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}function yee(e,t){return t===void 0&&(t={}),e?M8(e,{renderNode:pl(pl({},dee),t.renderNode),renderMark:pl(pl({},uee),t.renderMark),renderText:t.renderText,preserveWhitespace:t.preserveWhitespace}):null}Px.documentToReactComponents=yee});var $W=xe((X_t,BW)=>{"use strict";var sd={simple:function(e){return e.length?e.join("�"):"�"},json:function(e){if(!e.length)return"�";for(var t=[],o=e.length-1;o>=0;o--)t.push(JSON.stringify(e[o]));return t.join("�")}};function Fae(e){return e.forEach(function(t){if(typeof t=="string"&&!sd.hasOwnProperty(t))throw new Error('promise-memoize: unknown value "'+t+'" in resolve option')}),function(t){var o=Math.min(e.length,t.length);if(!o)return"�";for(var n=[],r=0;r<o;r++)typeof e[r]=="string"?n.push(sd[e[r]]([t[r]])):n.push(e[r](t[r]));return n.join("�")}}BW.exports=function(t){if(typeof t>"u")return sd.simple;if(typeof t=="string"&&sd.hasOwnProperty(t))return sd[t];if(Array.isArray(t))return Fae(t);if(Object.prototype.toString.call(t)==="[object Function]")return t;throw new Error("promise-memoize: invalid resolve option")}});var GW=xe((J_t,OW)=>{"use strict";var Bae=$W();function $ae(){return!0}function Lae(){return!1}function LW(e){return e.then($ae,Lae)}function Hae(e){return e}function Vae(e){throw e}function HW(e){return e.then(Hae,Vae)}function Oae(e,t){return{result:e,args:t,expire_id:0,prefetch_id:0,need_prefetch:!1}}function nb(e,t){e[t]&&(clearTimeout(e[t].expire_id),clearTimeout(e[t].prefetch_id),delete e[t])}function Gae(e,t){e[t]&&(e[t].need_prefetch=!0)}function zae(e){var t=e[0],o=e[1],n=e[2],r=e[3];if(o[n]){if(t){if(!r.maxAge)return;o[n].expire_id=setTimeout(nb,r.maxAge,o,n),o[n].prefetch_id=setTimeout(Gae,r.maxAge*.7,o,n),o[n].expire_id.unref&&o[n].expire_id.unref(),o[n].prefetch_id.unref&&o[n].prefetch_id.unref();return}if(!r.maxErrorAge){nb(o,n);return}o[n].expire_id=setTimeout(nb,r.maxErrorAge,o,n),o[n].expire_id.unref&&o[n].expire_id.unref()}}function VW(e,t,o){var n=e[t].result.constructor;n.all([LW(e[t].result),e,t,o]).then(zae)}function Uae(e){var t=e[0],o=e[1],n=e[2],r=e[3],s=e[4][0];o[n]&&t&&(o[n].result=s,clearTimeout(o[n].expire_id),VW(o,n,r))}function Wae(e,t,o){var n=HW(o.fn.apply(null,e[t].args)),r=n.constructor;e[t].need_prefetch=!1,r.all([LW(n),e,t,o,[n]]).then(Uae)}OW.exports=function(t,o){var n={},r=o||{},s=Bae(r.resolve),l={fn:t,maxAge:r.maxAge||0,maxErrorAge:r.maxErrorAge||0};function p(){for(var d=new Array(arguments.length),u=0;u<d.length;u++)d[u]=arguments[u];var y=s(d);return n[y]?n[y].need_prefetch&&Wae(n,y,l):(n[y]=Oae(HW(l.fn.apply(null,d)),l.maxAge||l.maxErrorAge?d:null),VW(n,y,l)),n[y].result}return p.clear=function(){var d=Object.keys(n);return d.forEach(function(u){nb(n,u)}),d.length},p}});var UW=xe((Z_t,zW)=>{"use strict";zW.exports=GW()});var lQ=Object.defineProperty,Ka=(e,t)=>lQ(e,"name",{value:t,configurable:!0}),gs,Cb=(gs=class{constructor(t){this.onDataListeners=new Map,this.onErrorListeners=new Map,this.unsettledPromises=new Map,this.settledPromiseCount=0,this.register=Ka(o=>{let n=this.clock();if(this.resultCache.has(o.dataId)){let s=this.resultCache.get(o.dataId);if(s.expiryTime>=n)return s.error?{error:s.error,hasLoaded:!0,isLoading:!1}:{data:s.data,hasLoaded:!0,isLoading:!1};this.delete(o.dataId)}if(this.onDataListeners.has(o.dataId)||this.onDataListeners.set(o.dataId,new Set),this.onErrorListeners.has(o.dataId)||this.onErrorListeners.set(o.dataId,new Set),o.onData&&this.onDataListeners.get(o.dataId).add(o.onData),o.onError&&this.onErrorListeners.get(o.dataId).add(o.onError),this.unsettledPromises.has(o.dataId))return{hasLoaded:!1,isLoading:!0};let r=o.dataAsync();return this.unsettledPromises.set(o.dataId,r),r.then(s=>{this.resultCache.set(o.dataId,{data:s,expiryTime:this.clock()+(o.ttlMs??this.defaultExpiryTimeMs)});let l=this.onDataListeners.get(o.dataId);for(let p of l)try{p(s)}catch(d){try{this.errorHandler(d)}catch{}}l.clear()}).catch(s=>{this.resultCache.set(o.dataId,{error:s,expiryTime:this.clock()+(o.ttlMs??this.defaultExpiryTimeMs)});let l=this.onErrorListeners.get(o.dataId);for(let p of l)try{p(s)}catch(d){try{this.errorHandler(d)}catch{}}l.clear()}).finally(()=>{this.unsettledPromises.delete(o.dataId),this.settledPromiseCount++}),{isLoading:!0,hasLoaded:!1}},"register"),this.countUnsettledPromises=Ka(()=>this.unsettledPromises.size,"countUnsettledPromises"),this.countSettledPromises=Ka(()=>this.settledPromiseCount,"countSettledPromises"),this.unawaitedPromiseKeys=Ka(()=>[...this.unsettledPromises.keys()],"unawaitedPromiseKeys"),this.allUnawaitedPromises=Ka(async()=>{await Promise.allSettled(this.unsettledPromises.values())},"allUnawaitedPromises"),this.getCache=Ka(()=>(this.cleanCache(),this.resultCache),"getCache"),this.cleanCache=Ka(()=>{let o=0;return this.resultCache.forEach((n,r)=>{n.expiryTime<this.clock()&&(this.delete(r),o++)}),o},"cleanCache"),this.delete=Ka(o=>{this.resultCache.delete(o),this.onDataListeners.delete(o),this.onErrorListeners.delete(o)},"delete"),this.clock=t.clock??Date.now,this.resultCache=t.cache??new Map,this.defaultExpiryTimeMs=t.defaultExpiryTimeMs??3e4,this.errorHandler=t.errorHandler??console.error}},Ka(gs,"AsyncDataController"),gs),a0=new Cb({clock:Date.now});var pQ=Object.defineProperty,cQ=(e,t)=>pQ(e,"name",{value:t,configurable:!0}),dQ={platformVersion:"platformVersion",architecture:"architecture",bitness:"bitness",model:"model",fullBrowsers:"fullVersionList"},fs,r0=(fs=class extends vk{constructor(t=window){super({}),this.featuresWindow=t}computeLowEntropyHints(){let t=Ak(this.featuresWindow.navigator.userAgent);return{browsers:this.featuresWindow.navigator.userAgentData?.brands?.map(n=>({brand:Mk(n.brand),majorVersion:Number(kk(n.version))}))??t.browsers,platform:Tk(this.featuresWindow.navigator.userAgentData?.platform)??t.platform,isMobile:this.featuresWindow.navigator.userAgentData?.mobile??t.isMobile,saveData:this.featuresWindow.navigator.connection?.saveData??t.isMobile,isSnapchatWebview:t.isSnapchatWebview}}async computeHighEntropyHintsAsync(...t){let o=await this.featuresWindow.navigator.userAgentData?.getHighEntropyValues(t.map(l=>
57dQ[l]).filter(Boolean)),n=this.featuresWindow.matchMedia("(prefers-reduced-motion: reduce)").matches,r=this.featuresWindow.matchMedia("(prefers-color-scheme: dark)").matches,s=this.featuresWindow.matchMedia("(prefers-color-scheme: light)").matches;return{viewportWidth:this.featuresWindow.innerWidth,viewportHeight:this.featuresWindow.innerHeight,fullBrowsers:o?.fullVersionList?.map(l=>({brand:l.brand,fullVersion:l.version})),model:o?.model,downlinkMbps:this.featuresWindow.navigator.connection?.downlink,devicePixelRatio:this.featuresWindow.devicePixelRatio,connection:this.featuresWindow.navigator.connection?.effectiveType,architecture:o?.architecture,bitness:o?.bitness?Number(o?.bitness):void 0,reduceMotion:n,colorScheme:r?"dark":s?"light":void 0,platformVersion:o?.platformVersion}}},cQ(fs,"ClientBrowserFeature"),fs);var jW=T(Y0()),rb=T(J0());var ja=T(P(),1),Uq=Object.defineProperty,Wq=(e,t)=>Uq(e,"name",{value:t,configurable:!0}),kb=(0,ja.createContext)({controller:a0});function cn(e){let{controller:t}=(0,ja.useContext)(kb),[o,n]=(0,ja.useState)(0),r=(0,ja.useCallback)(l=>{e.onData?.(l),n(p=>p+1)},[n,e.onData]),s=(0,ja.useCallback)(l=>{e.onError?.(l),n(p=>p+1)},[n,e.onError]);return e.skip?{hasLoaded:!0,isLoading:!1}:t.register({...e,onError:s,onData:r})}Wq(cn,"useAsyncData");var dn={Click:"Click",Warning:"Warning",LocaleSelect:"LocaleSelect"};var pT=T(P());var re={Left:"Left",Start:"Start",Center:"Center",End:"End",Right:"Right"},en={Top:"Top",Middle:"Middle",Bottom:"Bottom"},mi={TopRight:"TopRight",TopLeft:"TopLeft",TopCenter:"TopCenter",BottomLeft:"BottomLeft",BottomRight:"BottomRight",BottomCenter:"BottomCenter"};var Gd={Normal:"Normal",Fixed:"Fixed"};var zd="[locale specific font fallback]",Z0={"bn-BD":"Noto Sans Bengali","bn-IN":"Noto Sans Bengali","zh-Hans":"Noto Sans SC","zh-Hant":"Noto Sans TC","hi-IN":"Noto Sans Devanagari","mr-IN":"Noto Sans Devanagari","gu-IN":"Noto Sans Gujarati","ja-JP":"Noto Sans Japanese","kn-IN":"Noto Sans Kannada","ko-KR":"Noto Sans KR","ml-IN":"Noto Sans Malayalam",pa:"Noto Sans Gurmukhi","ta-IN":"Noto Sans Tamil","te-IN":"Noto Sans Telugu"},eT={"--h1-font-family":`Program OT, Helvetica Heading, Tahoma Heading, ${zd}, Arial, sans-serif`,"--h2-font-family":`Program OT, Helvetica Heading, Tahoma Heading, ${zd}, Arial, sans-serif`};var Ya={M100:c` 58 font-size: 36px; 59 line-height: 42px; 60 font-weight: 600; 61 `,M200:c` 62 font-size: 32px; 63 line-height: 40px; 64 font-weight: 600; 65 `,M300:c` 66 font-size: 24px; 67 line-height: 28px; 68 font-weight: 500; 69 `,M400:c` 70 font-size: 20px; 71 font-weight: 600; 72 line-height: 23px; 73 `,M500:c` 74 font-size: 18px; 75 font-weight: 400; 76 line-height: 28px; 77 `,M600:c` 78 font-size: 16px; 79 font-weight: 500; 80 line-height: 19px; 81 `,M700:c` 82 font-size: 12px; 83 font-weight: 600; 84 line-height: 14px; 85 `},sie={H100:c` 86 font-size: 64px; 87 font-weight: 600; 88 line-height: 70px; 89 ${N} { 90 ${Ya.M100} 91 } 92 `,H200:c` 93 font-size: 48px; 94 font-weight: 600; 95 line-height: 64px; 96 ${N} { 97 ${Ya.M200} 98 } 99 `,H300:c` 100 font-size: 28px; 101 font-weight: 500; 102 line-height: 34px; 103 ${N} { 104 ${Ya.M300} 105 } 106 `,H400:c` 107 font-size: 24px; 108 font-weight: 500; 109 line-height: 29px; 110 ${N} { 111 ${Ya.M400} 112 } 113 `,H500:c` 114 font-size: 20px; 115 font-weight: 500; 116 line-height: 28px; 117 ${N} { 118 ${Ya.M500} 119 } 120 `,H600:c` 121 font-size: 16px; 122 font-weight: 500; 123 line-height: 19px; 124 ${N} { 125 ${Ya.M600} 126 } 127 `,H700:c` 128 font-size: 12px; 129 font-weight: 600; 130 line-height: 14px; 131 ${N} { 132 ${Ya.M700} 133 } 134 `},lie={P100:c` 135 font-size: 16px; 136 font-weight: 400; 137 line-height: 26px; 138 `};var tT=c` 139 overflow: -moz-scrollbars-none; /* Hide scroll bar in Firefox */ 140 -ms-overflow-style: none; /* Hide scroll bar in IE */ 141 ::-webkit-scrollbar {
142 width: 0 !important; /* Hide scrollbar in Webkit browsers */ 143 } 144`;var Mb=e=>{switch(e){case re.Center:return"center";case re.Start:case re.Left:return"start";case re.End:case re.Right:return"end";default:throw new Error(`specified alignment: ${e} is not accounted for!`)}},la=e=>{switch(e){case re.Center:return"center";case re.Start:case re.Left:return"flex-start";case re.End:case re.Right:return"flex-end";default:throw new Error(`specified alignment: ${e} is not accounted for!`)}},gi=Object.values(re),mie=Object.fromEntries(gi.map(e=>[e,c` 145 text-align: ${Mb(e)}; 146 `])),Tb=Object.fromEntries(gi.map(e=>[e,c` 147 align-items: ${la(e)}; 148 `])),gie=Object.fromEntries(gi.map(e=>[e,c` 149 justify-items: ${la(e)}; 150 `])),dp=Object.fromEntries(gi.map(e=>[e,c` 151 justify-content: ${la(e)}; 152 `])),fie=Object.fromEntries(gi.map(e=>[e,c` 153 ${N} { 154 justify-content: ${la(e)}; 155 } 156 `])),_r=Object.fromEntries(gi.map(e=>[e,c` 157 text-align: ${Mb(e)}; 158 align-items: ${la(e)}; 159 justify-items: ${la(e)}; 160 justify-content: ${la(e)}; 161 `])),wr=Object.fromEntries(gi.map(e=>[e,c` 162 ${N} { 163 text-align: ${Mb(e)}; 164 align-items: ${la(e)}; 165 justify-items: ${la(e)}; 166 justify-content: ${la(e)}; 167 } 168 `]));var oT=T(P()),Ud=(0,oT.createContext)(void 0);var Wd=e=>{if(!(!e||Number.isNaN(e.getTime())))return e.toISOString().substring(0,10)};var Qq=(e,t="")=>e.replace(zd,t).replace(/,\s*,/g,","),qq=e=>Uk.includes(e),Kq=(e,t)=>{let o={};for(let n of Object.keys(e))if(qq(n)){let r=e[n]??"";o[n]=Qq(r,t)}return o},nT=(e,t,o)=>{if(!t)return;let n=Z0[e];if(!n||!o)return t;let r=Kq(o,n);return as(t,{name:`${t.name}Localized${e}`,fontFamily:[...t.fontFamily,n],"sdsm-default":{name:t["sdsm-default"].name,legacyName:t["sdsm-default"].legacyName,sdsm:{...t["sdsm-default"].sdsm,...r}}})};var Ne=e=>e?Bn(e):void 0;var Ab=/^(?:[a-z]+:)?\/\//i,Qd=(e,t)=>{if(!e||!Ab.test(e))return e;try{let o=new URL(e);return Object.entries(t).forEach(([n,r])=>{o.searchParams.set(n,r)}),o.toString()}catch{return}};var qd=T(P());function aT(e){let[t,o]=(0,qd.useState)(!0);return(0,qd.useEffect)(()=>{let n=()=>o(!1),r=()=>o(!0);return e?(window.addEventListener("blur",n),window.addEventListener("focus",r)):(window.removeEventListener("blur",n),window.removeEventListener("focus",n)),()=>{window.removeEventListener("blur",n),window.removeEventListener("focus",n)}},[e]),{isFocused:t}}var Yd=(e,t)=>a(`--block-vertical-padding-${e.toLowerCase()}-${t}`),Kd=e=>c` 169 /* Desktop in nonMobileMediaQuery so overrides win over denseLayoutBoundaryCss padding-block. */ 170 ${H} { 171 padding-top: ${Yd(e,"desktop")}; 172 } 173 174 ${N} { 175 padding-top: ${Yd(e,"mobile")}; 176 } 177`,jd=e=>c` 178 /* Desktop in nonMobileMediaQuery so overrides win over denseLayoutBoundaryCss padding-block. */ 179 ${H} { 180 padding-bottom: ${Yd(e,"desktop")}; 181 } 182 183 ${N} { 184 padding-bottom: ${Yd(e,"mobile")}; 185 } 186`,jq={None:Kd("None"),Small:Kd("Small"),Medium:Kd("Medium"),Large:Kd("Large")},Yq={None:jd("None"),Small:jd("Small"),Medium:jd("Medium"),Large:jd("Large")};function rT({topSpacing:e,bottomSpacing:t}){return h(e!==void 0&&jq[e],t!==void 0&&Yq[t])||void 0}var iT=T(P()),Xd=(0,iT.createContext)({multipleOpen:!1,openIds:[],setOpenIds:()=>null});var sT=c` 187 padding-bottom: ${a("--spacing-l")}; 188`,lT=c` 189 border-bottom: 1px solid ${a("--accordion-header-divider-border-color")}; 190 color: ${a("--accordion-header-color")}; 191 margin-block: 0; 192 padding: ${a("--accordion-header-padding")} 0; 193 194 ${H} { 195 font-size: ${a("--accordion-header-desktop-font-size")}; 196 font-weight: ${a("--accordion-header-desktop-font-weight")}; 197 line-height: ${a("--accordion-header-desktop-font-line-height")}; 198 } 199 200 ${N} { 201 font-size: ${a("--accordion-header-mobile-font-size")}; 202 font-weight: ${a("--accordion-header-mobile-font-weight")}; 203 line-height: ${a("--accordion-header-mobile-font-line-height")}; 204 } 205`;var cT=({children:e,multipleOpen:t=!1,title:o,titleDataset:n,openIdsOverride:r,setOpenIdsOverride:s,className:l})=>{q("sdsm-accordion");let[p,d]=(0,pT.useState)([]);return i(Xd.Provider,{value:{multipleOpen:t,openIds:r??p,setOpenIds:s??d},children:x("div",{"data-testid":"accordion",className:h("sdsm-accordion",sT,l),children:[o?i("h4",{className:lT,...te(n),children:o}):null,e]}
205)})};var _o=T(P());var bs=T(P());var Xq={initialValue:"off",onToggle:ko,transitionDurationMs:250},Jd=e=>{let{initialValue:t,onToggle:o,transitionDurationMs:n}={...Xq,...e},[r,s]=(0,bs.useState)(t),l=(0,bs.useCallback)((y,m)=>{y!==m&&(s(y),o(y,m))},[o,s]);(0,bs.useEffect)(()=>{let y;return r==="turning-off"&&(y=setTimeout(l.bind(void 0,"off","turning-off"),n)),r==="turning-on"&&(y=setTimeout(l.bind(void 0,"on","turning-on"),n)),()=>{y&&clearTimeout(y)}},[r,n,l]);let p=()=>{r==="off"&&l("turning-on",r)},d=()=>{r==="on"&&l("turning-off",r)};return{state:r,toggle:(y="toggle")=>{y==="on"?p():y==="off"?d():r==="turning-off"||r==="off"?p():d()}}};var Dr=T(P());var _b=Xo` 206 0% { 207 opacity: 0; 208 } 209 100% { 210 opacity: 1; 211 } 212`,wb=Xo` 213 0% { 214 opacity: 1; 215 } 216 100% { 217 opacity: 0; 218 } 219`,Zd=e=>["duration","curve","delay","iterationCount","direction","fillMode","playState"].map(n=>e[n]).filter(n=>!!n).join(" "),dT=(e={duration:"250ms",curve:"ease-out"})=>c` 220 animation: ${_b} ${Zd(e)}; 221`,uT=(e={duration:"250ms",curve:"ease-out"})=>c` 222 animation: ${wb} ${Zd(e)}; 223`;var Db="cubic-bezier(0.4, 0.0, 0.2, 1)",Pb="cubic-bezier(0.0, 0.0, 0.2, 1)",yT=(e={duration:"250ms",curve:Db})=>c` 224 @keyframes slideUp { 225 0% { 226 transform: translateY(0); 227 } 228 100% { 229 transform: translateY(-100vh); 230 } 231 } 232 233 animation: slideUp ${Zd(e)}; 234`,mT=(e={duration:"250ms",curve:Pb})=>c` 235 @keyframes slideDown { 236 0% { 237 transform: translateY(-100vh); 238 } 239 100% { 240 transform: translateY(0); 241 } 242 } 243 244 animation: slideDown ${Zd(e)}; 245`;var eu="--animation-duration",gT=c` 246 -webkit-box-orient: vertical; 247 -webkit-line-clamp: 3; 248 display: -webkit-box; 249 flex: 1; 250 min-width: 0; 251 overflow: hidden; 252 text-overflow: ellipsis; 253`,fT=c` 254 & > summary { 255 cursor: pointer; 256 /* Prevents selection when rapidly expanding and collapsing the content */ 257 user-select: none; 258 } 259 260 scroll-margin: 40px; 261 262 /* Prevents keyboard selection of focusable elements that the panel is collapsed. */ 263 &[data-state='off'] > summary + * { 264 visibility: hidden; 265 } 266`,bT=c` 267 &[data-state='turning-on'] > summary + * { 268 animation: ${_b} var(${eu}) ease-out; 269 } 270 271 &[data-state='turning-off'] > summary + * { 272 animation: ${wb} var(${eu}) ease-out; 273 } 274`,ST=c` 275 justify-self: center; 276 width: 12px; 277 height: 12px; 278 279 transform: rotate(0deg); /* 'up' */ 280 transition: transform 250ms; 281 282 details[data-state='on'] > summary > &, 283 details[data-state='turning-on'] > summary > & { 284 transform: rotate(180deg); /* 'down', ccw */ 285 } 286 287 *[dir='rtl'] details[data-state='on'] > summary > &, 288 *[dir='rtl'] details[data-state='turning-on'] > summary > & { 289 transform: rotate(-180deg); /* 'down', clockwise */ 290 } 291 position: absolute; 292 right: 0; 293 294 /* stylelint-disable-next-line no-descending-specificity */ 295 *[dir='rtl'] & { 296 right: unset; 297 left: 0; 298 } 299`,hT=c` 300 margin: 0; 301 position: relative; /* To position the chveron absolutely. */ 302 303 /* In webkit the arrow is rendered as a list icon; so we hide that, too. */ 304 /* We add our own arrow so we need to hid the default one. */ 305 ::-webkit-details-marker { 306 display: none; 307 } 308 list-style-type: none; 309 310 display: flex; 311 align-items: center; 312`;var un=({showChevron:e=!0,chevronProps:t,onToggle:o,summaryOnClick:n,summary:r,summaryProps:s,children:l,className:p,fadeInAnimation:d=!0,transitionDurationMs:u,open:y,detailsRef:m,summaryRef:g,disableScrollToOnOpen:f,forceOpenAttribute:b,...S})=>{let C=!ht(y);q("sdsm-detail-summary");let I=(0,Dr.useRef)(),k=(0,Dr.useRef)(null),v=(0,Dr.useCallback)(V=>{m&&(m.current=V),k.current=V},[m]),{state:A,toggle:w}=Jd({initialValue:C&&y?"on":"off",transitionDurationMs:u});(0,Dr.useEffect)(()=>{C&&w(y?"on":"off")},[C,y,w]),(0,Dr.useEffect)(()=>{C||!o||o(A==="on"?"on":"off")},[o,A,C]);let D=V=>{n?.(V),V.preventDefault(),C?o?.(y?"off":"on"):w(),f||(clearTimeout(I.current),(C?!y:!k?.current?.open)&&(I.current=setTimeout(()=>{k?.current?.scrollIntoView({behavior:"smooth",block:"nearest"})},u)))},M=b||A!=="off",{className:_,dataset:F,...$}=s??{},B=V=>{if(typeof V=="string")return V};return x("details",{ref:v,className:h("sdsm-detail-summary",fT,p,{[bT]:d}),open:M,"data-state":A,...S,style:{...S.style,[eu]:`${u??250}ms`},children:[x("summary",{ref:g,role:"button",tabIndex:0,title:B(r),className:h(hT,_),onClick:D,...te(F),...$,children:[r?i("span",{className:gT,children:r}):null,e&&i(Te,{className:h(ST,t?.className),name:"chevron-down",fill:t?.fill})]}),l]})};un.displayName="DetailsSummary";var CT=c`
313 border-bottom: 1px solid ${a("--accordion-divider-border-color")}; 314 scroll-margin: 40px; 315 overflow-y: hidden; 316 overflow-x: auto; 317 318 ${H} { 319 font-size: ${a("--accordion-item-body-desktop-font-size")}; 320 line-height: ${a("--accordion-item-body-desktop-font-line-height")}; 321 } 322 323 ${N} { 324 font-size: ${a("--accordion-item-body-mobile-font-size")}; 325 line-height: ${a("--accordion-item-body-mobile-font-line-height")}; 326 } 327 328 /* Body content — everything after the summary. Applies padding via motif var. 329 Also targets legacy <section> wrapper used by some DetailsSummary consumers. */ 330 > :not(summary) { 331 padding: ${a("--accordion-item-body-padding")}; 332 333 .${"sdsm-hyperlink"} { 334 color: ${a("--accordion-item-body-link-color")}; 335 font-size: inherit; 336 font-weight: ${a("--accordion-item-body-link-font-weight")}; 337 line-height: inherit; 338 339 &:hover { 340 color: ${a("--accordion-item-body-link-hover-color")}; 341 } 342 } 343 } 344 345 section { 346 margin-bottom: 0; 347 } 348`,xT=c` 349 align-items: center; 350 color: ${a("--accordion-item-color")}; 351 cursor: pointer; 352 display: flex; 353 justify-content: space-between; 354 margin: 0; 355 padding: ${a("--accordion-item-padding")}; 356 padding-inline-end: 52px; 357 user-select: none; 358 359 ${H} { 360 font-size: ${a("--accordion-item-desktop-font-size")}; 361 font-weight: ${a("--accordion-item-desktop-font-weight")}; 362 line-height: ${a("--accordion-item-desktop-font-line-height")}; 363 } 364 365 ${N} { 366 font-size: ${a("--accordion-item-mobile-font-size")}; 367 font-weight: ${a("--accordion-item-mobile-font-weight")}; 368 line-height: ${a("--accordion-item-mobile-font-line-height")}; 369 } 370 371 /* Prevents keyboard selection of focusable elements that the panel is collapsed. */ 372 &[data-state='off'] + * { 373 visibility: hidden; 374 } 375 376 /* In webkit the arrow is rendered as a list icon; so we hide that, too. */ 377 /* We add our own arrow so we need to hid the default one. */ 378 ::-webkit-details-marker { 379 display: none; 380 } 381 list-style-type: none; 382 383 > svg { 384 right: ${a("--accordion-item-icon-inset")}; 385 } 386 387 *[dir='rtl'] & svg { 388 left: ${a("--accordion-item-icon-inset")}; 389 right: unset; 390 } 391`,tu=c` 392 width: 20px; 393 height: 20px; 394 /* Override the inline fill="var(--icon-color)" so the chevron uses the item icon color. */ 395 fill: ${a("--accordion-item-icon-color")}; 396 /* we override top here since its already centered by flex */ 397 top: unset; 398`;var Nb=400,vT="ease-out",Eb=({id:e,anchorId:t,title:o,children:n,titleDataset:r,className:s,summaryClassName:l,onToggle:p})=>{let{multipleOpen:d,openIds:u,setOpenIds:y}=(0,_o.useContext)(Xd),m=(0,_o.useRef)(null),g=(0,_o.useRef)(null),f=(0,_o.useRef)(null),b=(0,_o.useRef)(!1),S=(0,_o.useRef)(!1),C=u.includes(e);(0,_o.useEffect)(()=>{m.current&&C!==m.current.open&&(m.current.open=C)},[]);let I=(0,_o.useCallback)(()=>{if(b.current=!0,!m?.current||!g?.current)return;m.current.style.overflow="hidden";let D=`${m.current.offsetHeight}px`,M=`${g.current.offsetHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[D,M]},{duration:Nb,easing:vT}),f.current?.finished.then(()=>w(!1)).catch(()=>{b.current=!1})},[]);(0,_o.useEffect)(()=>{C||m.current?.open&&I()},[C,I]);let k=(0,_o.useCallback)(()=>{if(S.current=!0,!m.current||!g.current)return;m.current.style.overflow="hidden";let D=`${m.current.offsetHeight}px`,M=`${g.current.offsetHeight+m.current.scrollHeight-g.current.offsetHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[D,M]},{duration:Nb,easing:vT}),f.current?.finished.then(()=>w(!0)).catch(()=>{S.current=!1})},[]),v=(0,_o.useCallback)(()=>{m.current&&(m.current.style.height=`${m.current.offsetHeight}px`,m.current.open=!0,window.requestAnimationFrame(k))},[k]),A=(0,_o.useCallback)(D=>{y(d?D==="off"?u.filter(M=>M!==e):[...u,e]:D==="off"?[]:[e]),p?.(D==="on"),m.current&&(D==="on"?v():I())},[d,y,u,e,v,I,p]),w=D=>{m.current&&(m.current.open=D,m.current.style.height="",m.current.style.overflow="",S.current=!1,b.current=!1,f.current=null)};return i(un,{id:t,detailsRef:m,summaryRef:g,summary:o,chevronProps:{className:tu,fill:a("--icon-color")},className:h(CT,s),onToggle:A,summaryProps:{dataset:r,className:h(xT,l)},transitionDurationMs:Nb,open:C,children:n})};var IT=c` 399 align-items: center; 400 background-color: ${a("--banner-ai-bg-color")}; 401 box-sizing: border-box; 402 display: flex; 403 justify-content: center; 404 width: 100%; 405 406 ${N} { 407 padding: ${a("--spacing-xl")}; 408 } 409`,kT=c` 410 display: flex; 411 flex-direction: column; 412 flex: 1 0 0; 413 gap: ${a("--spacing-xxs")}; 414 justify-content: center; 415 margin: 0px auto; 416 max-width: ${ct}px; 417 padding: ${a("--spacing-xl")} ${a("--spacing-xxxxl")}; 418 419 ${N} { 420 padding: 0; 421 } 422`,MT=c` 423 color: ${a("--banner-ai-fg-color")}; 424 ${Tt} 425`,TT=c` 426 color: ${a("--banner-ai-fg-color")}; 427 ${qt} 428`;var AT=({title:e,description:t})=>(q("sdsm-ai-localization-banner"),!e&&!t?null:i("div",{className:h("sdsm-ai-localization-banner",IT),children:x("div",{className:kT,children:[e&&i("div",{className:MT,children:e}),t&&i("div",{className:TT,children:t})]})}));var wT=T(P()),Rb=e=>"changedTouches"in e&&"touches"in e,_T=e=>e.touches.length>1||e.changedTouches.length>1,eK=e=>e?"current"in e?e.current:e:null;function Ss(e,t,o){(0,wT.useEffect)(()=>{let n=window.scrollX,r=window.scrollY,s,l=u=>{if(!Rb(u)||_T(u))return;let y=u.changedTouches[0];y&&(s=y.clientY)},p=u=>{if(o?.(u)||!u.cancelable||!(u.target instanceof HTMLElement))return;let y=eK(e);if(!y||Rb(u)&&_T(u))return;let m="down";if(u instanceof WheelEvent&&(m=u.deltaY>0?"down":"up"),Rb(u)){let S=u.changedTouches[0];if(!S)return;m=s>S.clientY?"down":"up"}let g=u.target,f=!1,b=!1;for(;g&&g!==document.body;){let S=g.scrollHeight-g.offsetHeight,C=m==="up"&&g.scrollTop>0,I=m==="down"&&g.scrollTop<S;if(S>0&&(I||C)&&(b=!0),g===y){f=!0;break}g=g?.parentElement}f&&b||u.preventDefault()},d={passive:!1,capture:!1};return document.body.addEventListener("wheel",p,d),document.body.addEventListener("touchstart",l),document.body.addEventListener("touchmove",p,d),()=>{t||window.scrollTo(n,r),document.body.removeEventListener("wheel",p,d),document.body.removeEventListener("touchstart",l),document.body.removeEventListener("touchmove",p,d)}},[e,t,o])}var PT=T(P()),tK='button, [href], input, select, textarea, [tabindex]:not
428([tabindex="-1"])',oK=e=>!!e.offsetParent||e.getClientRects().length>0,DT=e=>{let t=e.querySelectorAll(tK);return Array.from(t).filter(o=>!o.hasAttribute("disabled")&&o.getAttribute("aria-hidden")!=="true"&&oK(o))};function NT(e,t,o){(0,PT.useEffect)(()=>{if(!t)return;let n=e.current;if(!n)return;let r=document.activeElement,s,l,p=!1,d=()=>{if(p||n.contains(document.activeElement))return;DT(n)[0]?.focus()};o===void 0?d():s=setTimeout(()=>{l=requestAnimationFrame(d)},o);let u=y=>{if(y.key!=="Tab")return;let m=DT(n);if(m.length===0){y.preventDefault();return}let g=m[0],f=m[m.length-1],b=document.activeElement;y.shiftKey&&b===g?(y.preventDefault(),f.focus()):!y.shiftKey&&b===f&&(y.preventDefault(),g.focus())};return n.addEventListener("keydown",u),()=>{p=!0,s!==void 0&&clearTimeout(s),l!==void 0&&cancelAnimationFrame(l),n.removeEventListener("keydown",u),r?.focus?.()}},[e,t,o])}var ou=T(P());function nu(e){let[t,o]=(0,ou.useState)(!1);return(0,ou.useEffect)(()=>{if(!e?.current)return;let n=new IntersectionObserver(([r])=>{o(r.isIntersecting)});return n.observe(e.current),()=>{n.disconnect()}},[e]),t}var Nr=T(P());var pa=T(P());var hs=T(P());var Fb=Ga({min:ct}),ET=c` 429 align-items: center; 430 display: flex; 431 gap: ${a("--spacing-xxxl")}; 432 margin: 0 auto; 433 max-width: ${ct}px; 434 padding: 0 ${a("--spacing-xxxl")} ${a("--spacing-xxxxl")}; 435 width: 100%; 436`,RT=c` 437 flex-direction: row-reverse; 438`,FT=c` 439 gap: ${a("--spacing-m")}; 440 max-width: none; 441 padding: 0; 442`,BT=c` 443 max-width: 50%; 444 width: 50%; 445 446 ${Fb} { 447 flex: 1; 448 max-width: none; 449 width: auto; 450 } 451`,$T=c` 452 box-sizing: border-box; 453 /* Percentage padding resolves against the parent row width, so 6.25% of the row equals 12.5% of this 50%-wide column. */ 454 padding: 0 6.25%; 455`,LT=c` 456 max-width: 50%; 457 width: 50%; 458 459 ${Fb} { 460 /* This width value is specified in the designs. The accordion will fill the remaining horizontal space. */ 461 max-width: 416px; 462 min-width: 416px; 463 width: 416px; 464 } 465`,HT=c` 466 ${Fb} { 467 flex: 1; 468 max-width: none; 469 min-width: 0; 470 width: 50%; 471 } 472`,VT=c` 473 margin-bottom: ${a("--spacing-xl")}; 474 padding-inline-start: ${a("--spacing-m")}; 475 position: relative; 476 477 &:last-child { 478 margin-bottom: 0; 479 } 480`,OT=c` 481 scroll-margin: 40px; 482 overflow-y: hidden; 483 overflow-x: auto; 484`,GT=c` 485 -webkit-box-orient: vertical; 486 -webkit-line-clamp: 6; 487 display: -webkit-box; 488 color: ${a("--animated-accordion-body-color")}; 489 font-size: ${a("--animated-accordion-body-desktop-font-size")}; 490 font-weight: ${a("--animated-accordion-body-desktop-font-weight")}; 491 letter-spacing: ${a("--animated-accordion-body-desktop-font-letter-spacing")}; 492 line-height: ${a("--animated-accordion-body-desktop-font-line-height")}; 493 overflow: hidden; 494 text-overflow: ellipsis; 495 496 /* Restrict height of content when not active to prevent initial flash 497 of items appearing open without visibility due to functionality of 498 the underlying 'DetailSummary' component from SDS-M. 499 */ 500 max-height: 0; 501`,zT=c` 502 color: ${a("--animated-accordion-item-active")}; 503 max-height: none; 504 padding-top: ${a("--spacing-m")}; 505`,UT=c` 506 color: ${a("--animated-accordion-item-active")}; 507`,WT=c` 508 color: ${a("--animated-accordion-item-inactive")}; 509`,QT=c` 510 align-items: center; 511 cursor: pointer; 512 display: flex; 513 font-size: ${a("--animated-accordion-title-desktop-font-size")}; 514 font-weight: ${a("--animated-accordion-title-desktop-font-weight")}; 515 justify-content: space-between; 516 letter-spacing: ${a("--animated-accordion-title-desktop-font-letter-spacing")}; 517 line-height: ${a("--animated-accordion-title-desktop-font-line-height")}; 518 margin: 0; 519 user-select: none; 520`,qT=c` 521 background: ${a("--animated-accordion-progress-indicator-track-desktop-color")}; 522 border-radius: ${a("--animated-accordion-progress-indicator-desktop-border-radius")}; 523 height: 100%; 524 inset-block-start: 0; 525 inset-inline-start: 0; 526 overflow: hidden; 527 position: absolute; 528 width: ${a("--animated-accordion-progress-indicator-desktop-width")}; 529`,KT=c` 530 background: ${a("--animated-accordion-progress-indicator-bar-desktop-color")}; 531 width: 100%; 532 height: 100%; 533 transform-origin: center top; 534 transform: scaleY(0); 535`,jT=c` 536 overflow: hidden; 537 position: relative; 538 width: 100%; 539`,YT=c` 540 aspect-ratio: 4 / 5; 541`,XT=c` 542 aspect-ratio: 1 / 1; 543`,JT=c` 544 aspect-ratio: 4 / 3; 545`,ZT=c` 546 height: 100%; 547 left: 50%; 548 object-fit: contain; 549 opacity: 0; 550 pointer-events: none; 551 position: absolute; 552 top: 50%; 553 transform: translate(-50%, -50%); 554 transition: opacity 0.2s linear; 555 width: 100%; 556`,eA=c` 557 object-fit: cover; 558`,tA=c` 559 opacity: 1; 560 pointer-events: auto; 561 z-index: 1; 562`,oA=c` 563 display: grid; 564 height: 100%; 565 place-items: center; 566 width: 100%; 567`,nA=c` 568 inset: 0; 569 left: 0; 570 min-height: 0; 571 overflow: hidden; 572 top: 0; 573 transform: none; 574`,aA=c` 575 align-items: center; 576 display: flex; 577 height: 100%; 578 justify-content: center; 579 max-height: 100%; 580 min-height: 0; 581 min-width: 0; 582 width: 100%; 583`,rA=c` 584 line-height: 0; 585 max-height: 100%; 586 max-width: 100%; 587 position: relative; 588 589 & .sdsm-media-wrapper { 590 display: contents; 591 } 592`,Bb=c` 593 line-height: 0; 594 max-height: 100%; 595 max-width: 100%; 596 position: relative; 597 598 /* Media's no-device wrapper is layout-only; skip it so the frame sizes to the <video>. */ 599 & .sdsm-media-wrapper { 600 display: contents; 601 } 602`,iA=c` 603 display: block; 604 height: auto; 605 max-height: 100%; 606 max-width: 100%; 607 object-fit: contain; 608 width: auto; 609`,sA=c` 610 height: auto; 611 max-height: 100%; 612 object-fit: cover; 613 width: 100%; 614`,lA=c` 615 align-items: center; 616 background: rgba(0, 0, 0, 0.4); 617 border: none; 618 /* Always circular on media — EventPlayer-style; brand square tokens apply to other accordion chrome. */ 619 border-radius: 50%; 620 bottom: ${a("--spacing-m")}; 621 color: ${oa}; 622 cursor: pointer; 623 display: flex; 624 height: 32px; 625 inset-inline-end: ${a("--spacing-m")}; 626 justify-content: center; 627 margin: 0; 628 padding: 0; 629 position: absolute; 630 transition: background 0.15s linear; 631 width: 32px; 632 z-index: 2; 633 634 &:hover { 635 background: rgba(0, 0, 0, 0.6); 636 } 637 638 svg, 639 img { 640 display: block; 641 fill: currentColor; 642 height: 16px; 643 position: relative; 644 width: 16px; 645 z-index: 1; 646 } 647 648 /* Custom image icons (e.g. Stinson's static svgs) are drawn black; render them white over media. */ 649 img { 650 filter: brightness(0) invert(1); 651 } 652 653 ${N} { 654 background: transparent; 655 /* 40px hit target; 32px circle drawn on ::before so it matches desktop. */ 656 bottom: calc(${a("--spacing-m")} - 4px); 657 height: 40px; 658 inset-inline-end: calc(${a("--spacing-m")} - 4px); 659 width: 40px; 660 661 &::before { 662 background: rgba(0, 0, 0, 0.4); 663 border-radius: 50%; 664 content: ''; 665 height: 32px; 666 left: 50%; 667 pointer-events: none; 668 position: absolute; 669 top: 50%; 670 transform: translate(-50%, -50%); 671 transition: background 0.15s linear; 672 width: 32px; 673 } 674 675 &:hover { 676 background: transparent; 677 } 678 679 &:hover::before { 680 background: rgba(0, 0, 0, 0.6); 681 } 682 } 683`;
683var pA=({durationMs:e,isActive:t,isPaused:o,onAnimationComplete:n})=>{let r=(0,hs.useRef)(null),s=(0,hs.useRef)();return(0,hs.useEffect)(()=>{r.current&&(s.current=r.current.animate([{transform:"scaleY(0)"},{transform:"scaleY(1)"}],{duration:e,iterations:1,fill:"forwards"}),s.current.pause())},[]),(0,hs.useEffect)(()=>{s.current&&(t?o?s.current.pause():(s.current.play(),s.current.onfinish=()=>n?.()):(s.current.pause(),s.current.currentTime=0))},[o,t,n]),i("div",{className:qT,children:i("div",{ref:r,className:KT})})};var $b={duration:400,easing:"ease-out"},cA=({isOpen:e,isPaused:t,progressIndicatorDurationMs:o,title:n,titleDataset:r,body:s,bodyDataset:l,onToggle:p,onMouseOver:d,onMouseLeave:u,onAnimationComplete:y})=>{let m=(0,pa.useRef)(null),g=(0,pa.useRef)(null),f=(0,pa.useRef)(null),[b,S]=(0,pa.useState)(!1),[C,I]=(0,pa.useState)(!1),k=(0,pa.useCallback)(()=>{if(!m?.current||!g?.current)return;S(!0),m.current.style.overflow="hidden";let w=`${m.current.offsetHeight}px`,D=`${g.current.offsetHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[w,D]},$b),f.current?.finished?.then(()=>A(!1)).catch(()=>S(!1))},[]),v=(0,pa.useCallback)(()=>{if(!m.current||!g.current)return;I(!0),m.current.style.height=`${m.current.offsetHeight}px`,m.current.style.overflow="hidden",m.current.open=!0;let w=`${m.current.offsetHeight}px`,D=`${m.current.scrollHeight}px`;f.current&&f.current.cancel(),f.current=m.current.animate?.({height:[w,D]},$b),f.current?.finished.then(()=>A(!0)).catch(()=>I(!1))},[]),A=w=>{m.current&&(m.current.open=w,m.current.style.height="",m.current.style.overflow="",f.current=null,I(!1),S(!1))};return Oa(()=>{m.current&&e!==m.current.open&&(m.current.open=e)},[]),Oa(()=>{window.requestAnimationFrame(e?v:k)},[e,v,k]),x("div",{className:VT,onMouseOver:d,onFocus:d,onMouseLeave:u,onBlur:u,children:[i(pA,{durationMs:o,isActive:e,isPaused:t,onAnimationComplete:y}),i(un,{disableScrollToOnOpen:!0,detailsRef:m,summaryRef:g,summary:n,showChevron:!1,className:OT,onToggle:p,summaryProps:{className:h(QT,{[UT]:e,[WT]:!e}),dataset:r},transitionDurationMs:$b.duration,open:e,children:i("div",{className:h(GT,{[zT]:e||C||b}),...te(l),children:s})})]})};var ma=T(P());var ks=T(P());var Pr=(e,t)=>o=>{[e,t].forEach(n=>{n&&(typeof n=="function"?n(o):n.current=o)})};var vA=T(P());var ca=-16,dA=c` 684 height: auto; 685 pointer-events: none; 686 position: absolute; 687 width: 60px; 688 689 ${qe} { 690 width: 80px; 691 } 692`,uA=c` 693 object-fit: contain; 694 width: 100%; 695`,yA=c` 696 width: 80px; 697 698 ${qe} { 699 width: 110px; 700 } 701`,mA=c` 702 width: 80px; 703 704 ${qe} { 705 width: 140px; 706 } 707`,gA=c` 708 inset-inline-start: var(--sticker-position-offset, ${ca}px); 709 top: var(--sticker-position-offset, ${ca}px); 710`,fA=c` 711 inset-inline-end: var(--sticker-position-offset, ${ca}px); 712 top: var(--sticker-position-offset, ${ca}px); 713`,bA=c` 714 bottom: var(--sticker-position-offset, ${ca}px); 715 inset-inline-start: var(--sticker-position-offset, ${ca}px); 716`,SA=c` 717 bottom: var(--sticker-position-offset, ${ca}px); 718 inset-inline-end: var(--sticker-position-offset, ${ca}px); 719`,hA=c` 720 transform: rotate(-15deg); 721`,CA=c` 722 transform: rotate(15deg); 723`,au=c` 724 ${N} { 725 display: none; 726 } 727`;var up={TopStart:"Top-Start",TopEnd:"Top-End",BottomStart:"Bottom-Start",BottomEnd:"Bottom-End"},Lb={Negative15Degrees:"-15 degrees",ZeroDegrees:"0 degrees",Positive15Degrees:"15 degrees"},da={Regular:"regular",Medium:"medium",Large:"large"},ru=({className:e,imgSrcs:t,position:o=up.TopStart,rotation:n=Lb.ZeroDegrees,size:r=da.Regular,insetPx:s=ca})=>i(Ye,{className:h(dA,{[yA]:r===da.Medium,[mA]:r===da.Large,[gA]:o===up.TopStart,[fA]:o===up.TopEnd,[bA]:o===up.BottomStart,[SA]:o===up.BottomEnd,[hA]:n===Lb.Negative15Degrees,[CA]:n===Lb.Positive15Degrees},e),style:{"--sticker-position-offset":`${s}px`},imgClassName:uA,imgSrcs:t,altText:""});var xA=c` 728 display: inline-block; /* Ensure container always covers image so that stickers align correctly */ 729 position: relative; 730 vertical-align: top; /* Ensure no additional space is added below image due to 'display: inline-block' */ 731`;var On=({altText:e,className:t,style:o,defaultSrc:n,imgClassName:r,imgSrcs:s,height:l,width:p,fetchPriority:d,dataset:u,isDraggable:y,handleSafariSourceSets:m,stickers:g=[]})=>
731{let f=!s?.sources?.length,b=(0,vA.useContext)(ap);return x("span",{className:h(xA,t),style:o,children:[x("picture",{children:[s?.sources?.map((S,C)=>i("source",{srcSet:S.url,type:S.type,sizes:S.sizes,media:S.media},`${S.type}${C}desktop`)),i("img",{ref:m?gM(s?.default??n,s?.defaultSrcSet):void 0,alt:e??"",className:r,sizes:s?.defaultSizes,height:l,width:p,src:f||!m?s?.default??n:void 0,srcSet:f||!m?s?.defaultSrcSet:void 0,loading:b?.lazy?"lazy":void 0,fetchpriority:d,...te(u),draggable:y})]}),g?.map((S,C)=>i(ru,{...S},C))]})};var Gn=e=>e?e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2:!1;var ua=T(P());var IA=T(P()),Cs=(0,IA.createContext)({});var kA=c` 732 display: block; 733 height: 100%; 734 position: relative; 735 width: 100%; 736`,iu=c` 737 width: 100%; 738 height: 100%; 739 display: block; 740`,nK=c` 741 object-fit: cover; 742`,aK=c` 743 object-fit: contain; 744`,su=e=>e?nK:aK;var fi=(0,ua.forwardRef)((e,t)=>{let{source:o,mobileSource:n,sourceType:r="video/mp4",mobileSourceType:s="video/mp4",posterSource:l,altText:p,className:d,style:u,muted:y=!0,autoPlay:m=!0,loop:g=!0,controls:f=!1,playsInline:b=!0,onPlay:S,onPause:C,captionsSource:I,isBackgroundVideo:k,onTimeUpdate:v,dataset:A}=e,w=(0,ua.useRef)(null),{getLowEntropyHints:D}=(0,ua.useContext)(Ze),M=D();(0,ua.useEffect)(()=>{let ye=w.current?.querySelector("track");if(w.current&&I&&!ye){let se=document.createElement("track");se.setAttribute("src",I),se.setAttribute("kind","captions"),se.setAttribute("srclang","en"),se.setAttribute("label","English"),w.current.appendChild(se)}},[I]);let{addOnTabChangeListener:_,removeOnTabChangeListener:F}=(0,ua.useContext)(Cs);(0,ua.useEffect)(()=>{if(!w.current||y||m)return;let ye=()=>{Gn(w.current||void 0)&&w.current?.pause()};return _?.(ye),()=>F?.(ye)},[_,F,w,y,m]);let $=su(k),B=m?"auto":l?"none":"metadata",V=M.browsers.find(ye=>ye.brand==="Safari"),L=V&&B==="metadata"?`${o}#t=0.01`:o,z=n&&V&&B==="metadata"?`${n}#t=0.01`:n,K=n?`${o}-${n}`:o;return x("video",{className:h("video",iu,$,d),style:u,poster:l,autoPlay:m,loop:g,muted:y,controls:f,playsInline:b,onPlay:S,onPause:C,preload:B,"aria-describedby":p,ref:Pr(w,t),crossOrigin:"anonymous",onTimeUpdate:v,...te(A),children:[z&&i("source",{src:z,type:s,media:"(max-width: 768px)"}),i("source",{src:L,type:r})]},K)});fi.displayName="Video";var ya=T(P());var Xa=(0,ya.forwardRef)((e,t)=>{let{source:o,mobileSource:n,sourceType:r="video/mp4",mobileSourceType:s="video/mp4",posterSource:l,altText:p,className:d,style:u,muted:y=!0,autoPlay:m=!0,loop:g=!0,controls:f=!1,playsInline:b=!0,onPlay:S,onPause:C,captionsSource:I,isBackgroundVideo:k,onTimeUpdate:v,dataset:A,videoClassName:w,stickers:D=[]}=e,M=(0,ya.useRef)(null),{getLowEntropyHints:_}=(0,ya.useContext)(Ze),F=_();(0,ya.useEffect)(()=>{let ne=M.current?.querySelector("track");if(M.current&&I&&!ne){let oe=document.createElement("track");oe.setAttribute("src",I),oe.setAttribute("kind","captions"),oe.setAttribute("srclang","en"),oe.setAttribute("label","English"),M.current.appendChild(oe)}},[I]);let{addOnTabChangeListener:$,removeOnTabChangeListener:B}=(0,ya.useContext)(Cs);(0,ya.useEffect)(()=>{if(!M.current||y||m)return;let ne=()=>{Gn(M.current||void 0)&&M.current?.pause()};return $?.(ne),()=>B?.(ne)},[$,B,M,y,m]);let V=su(k),L=m?"auto":l?"none":"metadata",z=F.browsers.find(ne=>ne.brand==="Safari"),K=z&&L==="metadata"?`${o}#t=0.01`:o,ye=n&&z&&L==="metadata"?`${n}#t=0.01`:n,se=n?`${o}-${n}`:o;return x("span",{className:h("video",kA,d),style:u,children:[x("video",{className:h(iu,V,w),poster:l,autoPlay:m,loop:g,muted:y,controls:f,playsInline:b,onPlay:S,onPause:C,preload:L,"aria-describedby":p,ref:Pr(M,t),crossOrigin:"anonymous",onTimeUpdate:v,...te(A),children:[ye&&i("source",{src:ye,type:s,media:"(max-width: 768px)"}),i("source",{src:K,type:r})]},se),D?.map((ne,oe)=>i(ru,{...ne},oe))]})});Xa.displayName="VideoWithStickers";var yp=({children:e,className:t,maxHeight:o})=>{let n=c` 745 ${o?`max-height: ${o}px;`:""} 746 width: 100%; 747 & > svg { 748 /* Scaling the SVG */ 749 width: 100%; 750 } 751 `;return i("div",{className:h(n,t),children:x("svg",{viewBox:"0 0 654 366",width:"654",height:"366",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-testid":"laptop-wrapper",children:[i("g",{filter:"url
751(#J)",fillRule:"evenodd",children:i("path",{d:`M95.626 1.127L104.459 1h444.227l8.834.127c9.637.157 17.141 7.735 752 17.096 17.253.045-.115.285 5.943.285 8.833v292.992c0 1.781-.092 4.779-.172 753 6.782-.05 1.237-.152 3.513-.238 4.224-1.023 8.479-8.201 14.964-16.971 754 14.923.086.045-5.974.285-8.834.285H104.459c-2.861 0-8.92-.24-8.833-.285 755 -8.359.039-15.272-5.851-16.788-13.745-.208-1.083-.314-2.203-.309-3.351 756 -.045.114-.285-5.944-.285-8.833V27.214c0-2.876.24-8.948.285-8.833-.045-9.518 757 7.591-17.299 17.097-17.253z`,fill:"#303030"})}),i("g",{filter:"url(#L)",fillRule:"evenodd",children:i("path",{d:`M572.337 27.499l-.285-8.833c.045-7.935-6.31-14.449-14.247-14.404 758 -1.411-.051-6.09-.127-8.834-.127H104.459c-2.752 0-6.258.083-8.833.127 759 -7.937-.045-14.292 6.469-14.247 14.404-.057.246-.285 6.117-.285 8.833V322.12c0 760 .889.037 2.314.088 3.582.059 1.457.223 3.895.304 4.478.768 5.534 5.499 9.421 761 11.29 9.321-.039.112 4.331.285 6.269.285h454.77c2.043 0 6.421-.173 6.554-.285 762 6.229.11 11.335-4.713 11.398-11.112-.06.036.112-4.348 0-6.269l.57-294.621z`,fill:"#272727"})}),x("g",{fillRule:"evenodd",children:[i("path",{d:`M574.988 216.885v103.069l-.144 6.217-.393 5.834c-1.491 7.885-8.427 763 13.848-16.758 13.848l-8.884.24H104.133c-2.82 0-8.879-.24-8.879-.24-8.499 0 764 -15.286-6.207-16.53-14.328-.135-.879-.445-9.574-.445-11.552v-103.05l496.709 765 -.038z`,fill:"url(#O)",fillOpacity:".03"}),i("path",{d:`M93.346 24.365h466.453c.355 0 .57.215.57.569v291.203a.52.52 0 0 1 766 -.57.569H93.346a.52.52 0 0 1-.57-.569V24.934c0-.355.215-.569.57-.569z`,fill:"#111112"}),i("path",{d:`M272.029 350.802H100.508l-37.081-.284c-33.91.284-43.031-3.773-43.026 767 -4.748v-1.425h252.054l107.667.096h252.054v1.424c.004.976-9.117 5.033-43.027 768 4.749-.622.019-37.081.284-37.081.284H380.546l-108.517-.096z`,fill:"#1c1b1b"})]}),i("path",{d:`M21.255 336.082H631.32c.532 0 .855.313.855.57v9.118c0 .256-.323.57 769 -.855.57H21.255c-.532 0-.855-.314-.855-.57v-9.118c0-.257.322-.57.855-.57z`,fill:"#1d1c1c",fillRule:"evenodd"}),i("foreignObject",{x:"92",y:"24",width:"468",height:"293",requiredFeatures:"http://www.w3.org/TR/SVG11/feature#Extensibility",children:e}),x("defs",{children:[x("filter",{id:"J",x:"77.244",y:"0",width:"498.657",height:"347.42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i("feGaussianBlur",{stdDeviation:".5"}),i("feBlend",{in:"SourceGraphic",result:"C"}),i("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"D"}),i("feGaussianBlur",{stdDeviation:"1.5"}),i("feComposite",{in2:"D",operator:"arithmetic",k2:"-1",k3:"1"}),i("feBlend",{in2:"C"})]}),x("filter",{id:"L",x:"79.093",y:"2.134",width:"495.243",height:"339.652",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[i("feBlend",{in:"SourceGraphic",result:"C"}),i("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"D"}),i("feGaussianBlur",{stdDeviation:"2"}),i("feComposite",{in2:"D",operator:"arithmetic",k2:"-1",k3:"1"}),i("feBlend",{in2:"C",result:"E"}),i("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),i("feBlend",{in2:"E"})]}),x("linearGradient",{id:"O",x1:"111.017",y1:"227.897",x2:"111.017",y2:"340.072",gradientUnits:"userSpaceOnUse",children:[i("stop",{stopOpacity:".01"}),i("stop",{offset:"1"})]})]})]})})};yp.displayName="LaptopWrapper";var MA=c` 770 display: block; 771 object-fit: cover; 772`,xs=c` 773 ${MA} 774 border-width: ${a("--media-border-width")}; 775 border-radius: ${a("--media-border-radius")}; 776 border-color: ${a("--media-border-color")}; 777 border-style: solid; 778 height: auto; 779 margin: auto; 780 max-width: 100%; 781 overflow: hidden; 782 width: auto; 783`,vs=c` 784 ${MA} 785 height: 100%; 786 width: 100%; 787`,lu=c` 788 ${vs} 789 object-fit: contain; 790`,pu=c` 791 ${xs} 792 object-fit: contain; 793`,cu=vs,du=xs,uu=c` 794 ${N} { 795 margin-top: 0; 796 } 797 ${Mt} { 798 margin-top: 0; 799 } 800`,yu=c` 801 position: fixed; 802`,mu=c` 803 width: 297px; 804 height: 550px; 805`,gu=c` 806 border-radius: ${a("--media-border-radius")}; 807`,Is=c`
808 box-shadow: ${a("--box-shadow-xl")}; 809 border-radius: ${a("--media-border-radius")}; 810`,fu=c` 811 display: flex; 812 justify-content: center; 813`,TA=c` 814 width: 100%; 815 height: 100%; 816`;var rK=c` 817 display: flex; 818 justify-content: center; 819`,iK=c` 820 background-image: url('https://images.ctfassets.net/kp51zybwznx4/5MBQ096OLy837zpHXtGsIa/0b35a1eadad459a767f935297483854c/iPhone.png'); 821 width: 250px; 822 height: 530px; 823 background-size: 100%; 824 background-repeat: no-repeat; 825 position: relative; 826 margin-bottom: 20px; 827 padding: 14px; 828`,mp=({children:e})=>i("div",{className:h("phone-wrapper",rK),"data-testid":"phone-wrapper",children:i("div",{className:iK,children:e})});mp.displayName="PhoneWrapper";var Hb="sdsm-media-wrapper",Ke=(0,ks.forwardRef)((e,t)=>{let{className:o,altText:n,imageSource:r,maxHeight:s,maxWidth:l,videoSource:p,mobileVideoSource:d,sourceType:u,mobileSourceType:y,wrap:m=Ct.None,showVideoControls:g=!1,autoplay:f=!g,posterSource:b,onPlay:S,onPause:C,captionsSource:I,isBackgroundVideo:k,onTimeUpdate:v,imgSrcs:A,dataset:w,height:D,width:M,isDraggable:_}=e;q("sdsm-media");let F=null,{getLowEntropyHints:$}=(0,ks.useContext)(Ze),B=(0,ks.useRef)(null),V=$(),z=!!(V.platform==="macOS"&&V.browsers.find(se=>se.brand==="Safari"))&&m===Ct.Phone,K=m===Ct.Laptop||m===Ct.Phone,ye={maxHeight:s&&!K?`${s}px`:void 0,maxWidth:l&&!K?`${l}px`:void 0};if(r||A){let se=h({[vs]:K,[xs]:!K,[gu]:m===Ct.Phone,[Is]:m===Ct.Shadow},o);A?F=i(Ye,{className:"sdsm-media",imgSrcs:A,altText:n,imgClassName:se,style:ye,dataset:w,height:D,width:M,isDraggable:_}):r&&(F=i(Ye,{className:"sdsm-media",altText:n,imgClassName:se,style:ye,defaultSrc:r,dataset:w,height:D,width:M,isDraggable:_}))}else if(p){let se=k?cu:lu,ne=k?du:pu,oe=h({[uu]:m===Ct.Phone,[se]:K,[mu]:m===Ct.Phone&&z,[ne]:!K,[Is]:m===Ct.Shadow},o);F=i(fi,{source:p,mobileSource:d,sourceType:u,mobileSourceType:y,altText:n,className:h("sdsm-media",oe),style:ye,autoPlay:f,playsInline:!g,loop:!g,muted:!g,controls:g,posterSource:b,onPlay:S,onPause:C,captionsSource:I,onTimeUpdate:v,isBackgroundVideo:k,dataset:w,ref:Pr(B,t)},p),z&&(F=i("div",{"data-testid":"sdsm-media-safari-wrapper",className:yu,children:F}))}else return null;return m===Ct.Laptop?i(yp,{className:Hb,maxHeight:s,children:F}):m===Ct.Phone?i(mp,{className:Hb,maxHeight:s,children:F}):i("div",{className:h(Hb,fu),"data-testid":"no-device-wrapper",children:F})});Ke.displayName="Media";var Ts=T(P());var Ms="sdsm-media-wrapper",xn=(0,Ts.forwardRef)((e,t)=>{let{className:o,mediaClassName:n,altText:r,imageSource:s,maxHeight:l,maxWidth:p,videoSource:d,mobileVideoSource:u,sourceType:y,mobileSourceType:m,wrap:g=Ct.None,showVideoControls:f=!1,autoplay:b=!f,posterSource:S,onPlay:C,onPause:I,captionsSource:k,isBackgroundVideo:v,onTimeUpdate:A,imgSrcs:w,dataset:D,height:M,width:_,isDraggable:F,stickers:$}=e;q("sdsm-media");let B=null,{getLowEntropyHints:V}=(0,Ts.useContext)(Ze),L=(0,Ts.useRef)(null),z=V(),ye=!!(z.platform==="macOS"&&z.browsers.find(oe=>oe.brand==="Safari"))&&g===Ct.Phone,se=g===Ct.Laptop||g===Ct.Phone,ne={maxHeight:l&&!se?`${l}px`:void 0,maxWidth:p&&!se?`${p}px`:void 0};if(s||w){let oe=h({[vs]:se,[xs]:!se,[gu]:g===Ct.Phone,[Is]:g===Ct.Shadow},n);w?B=i(On,{className:h("sdsm-media",o,{[TA]:se}),imgSrcs:w,altText:r,imgClassName:oe,style:ne,dataset:D,height:M,width:_,isDraggable:F,stickers:se?void 0:$}):s&&(B=i(On,{className:h("sdsm-media",o),altText:r,imgClassName:oe,style:ne,defaultSrc:s,dataset:D,height:M,width:_,isDraggable:F,stickers:se?void 0:$}))}else if(d){let oe=v?cu:lu,pe=v?du:pu,ae=h({[uu]:g===Ct.Phone,[oe]:se,[mu]:g===Ct.Phone&&ye,[pe]:!se,[Is]:g===Ct.Shadow},n);B=i(Xa,{source:d,mobileSource:u,sourceType:y,mobileSourceType:m,altText:r,className:h("sdsm-media",o),videoClassName:ae,style:ne,autoPlay:b,playsInline:!f,loop:!f,muted:!f,controls:f,posterSource:S,onPlay:C,onPause:I,captionsSource:k,onTimeUpdate:A,isBackgroundVideo:v,dataset:D,ref:Pr(L,t),stickers:se?void 0:$},d),ye&&(B=i("div",{"data-testid":"sdsm-media-safari-wrapper",className:yu,children:B}))}else return null;return g===Ct.Laptop?i(yp,{className:Ms,maxHeight:l,children:B}):g===Ct.Phone?i(mp,{className:Ms,maxHeight:l,children:B}):i("div",{className:h(Ms,fu),"data-testid":"no-device-wrapper",children:B})});xn.displayName="MediaWithStickers";var gp=({item:e,isActive:t,className:o,isFullWidthLayout:n=!1,fitMediaToContainer:r=!1,playIcon:s=i(wd,{}),pauseIcon:l=i(_d,{}),onVideoPlayToggle:p})=>{let d=!!e.videoSource,[u,y]=(0,ma.useState)(null),[m,g]=(0,ma.useState)(!1),f=(0,ma.useCallback)(D=>{y(D)},[]);(0,ma.useEffect)(()=>
828{if(!d||!u||u.tagName!=="VIDEO")return;let D=u;if(!t){Gn(D)&&D.pause(),D.currentTime=0;return}D.play()?.catch(()=>{})},[d,t,u]);let b=(0,ma.useCallback)(()=>g(!0),[]),S=(0,ma.useCallback)(()=>g(!1),[]),C=(0,ma.useCallback)(D=>{if(D.stopPropagation(),!u||u.tagName!=="VIDEO")return;let M=u;if(m){M.pause(),p?.(!1);return}M.play()?.catch(()=>{}),p?.(!0)},[m,u,p]),k=d&&t&&i("button",{"aria-label":m?"Pause video":"Play video",className:lA,"data-testid":"animated-accordion-play-pause",type:"button",onClick:C,children:m?l:s}),v=h(iA,{[sA]:n}),A=i(Ke,{ref:f,className:d?v:o,imgSrcs:e.imgSrcs,altText:e.imageAltText,videoSource:e.videoSource,mobileVideoSource:e.mobileVideoSource,sourceType:e.sourceType,mobileSourceType:e.mobileSourceType,posterSource:e.posterSource,autoplay:d&&t,showVideoControls:!1,onPlay:b,onPause:S});if(!d)return A;let w=r?i("div",{className:h(Bb,aA),children:x("div",{className:rA,children:[A,k]})}):x("div",{className:Bb,children:[A,k]});return i("div",{className:h(o,oA,{[nA]:r}),children:w})};gp.displayName="AnimatedAccordionMediaPanel";var sK="1:1",AA=({items:e=[],mediaDirection:t,autoPlaySpeedMs:o,mediaAspectRatio:n,useFullWidthLayout:r=!1,onItemSelect:s,playIcon:l,pauseIcon:p,onVideoPlayToggle:d})=>{let u=e.length>1,y=(0,Nr.useRef)(null),m=nu(y),[g,f]=(0,Nr.useState)(-1),[b,S]=(0,Nr.useState)(!0),C=()=>{f(k=>k>=e.length-1?0:k+1)};(0,Nr.useEffect)(()=>{u&&S(!1),f(0)},[u,S,f]),(0,Nr.useEffect)(()=>{u&&S(!m)},[m,u,S]);let I=n??sK;return x("div",{"data-testid":r?"animated-accordion-full-width":"animated-accordion-default",className:h(ET,{[FT]:r,[RT]:t==="Start"}),children:[i("div",{ref:y,className:h(BT,{[$T]:r}),children:e.map((k,v)=>i(cA,{isOpen:v===g,isPaused:b||v!==g,progressIndicatorDurationMs:o,title:k.title,titleDataset:k.titleDataset,body:k.body,bodyDataset:k.bodyDataset,onToggle:()=>{v===g||!u||(S(!1),f(v),s?.(v))},onMouseOver:()=>{v!==g||!u||S(!0)},onMouseLeave:()=>{v!==g||!u||S(!1)},onAnimationComplete:C},`${k.title}${v}`))}),i("div",{className:h(LT,{[HT]:r}),children:i("div",{"data-testid":"animated-accordion-media-frame",className:h(jT,{[YT]:I==="4:5",[XT]:I==="1:1",[JT]:I==="4:3"}),children:e.map((k,v)=>i(gp,{item:k,isActive:v===g,isFullWidthLayout:r,className:h(ZT,{[eA]:r,[tA]:v===g}),playIcon:l,pauseIcon:p,onVideoPlayToggle:d},`${k.title}${v}`))})})]})};var vn=T(P());var As=T(P());var Vb="--item-min-height",Ob="32px",_A=c` 829 text-align: start; 830`,wA=c` 831 text-align: center; 832`,DA=c` 833 text-align: end; 834`,PA=c` 835 display: none; 836`,Gb=c` 837 animation: fade-in 1s; 838 839 @keyframes fade-in { 840 from { 841 opacity: 0.4; 842 } 843 to { 844 opacity: 1; 845 } 846 } 847`,NA=c` 848 align-items: flex-start; 849 display: flex; 850 flex-direction: column; 851 gap: ${a("--spacing-l")}; 852 margin-block: ${a("--spacing-m")}; 853 min-height: var(${Vb}); 854 855 &.dragging { 856 a { 857 pointer-events: none; 858 } 859 } 860`,EA=c` 861 aspect-ratio: 3/2; 862 overflow: hidden; 863 position: relative; 864 width: 100%; 865`,RA=c` 866 height: 100%; 867 left: 50%; 868 object-fit: contain; 869 position: absolute; 870 top: 50%; 871 transform: translate(-50%, -50%); 872 transition: opacity 0.2s linear; 873 width: 100%; 874`,FA=c` 875 align-self: stretch; 876 display: flex; 877 flex-direction: row; 878 gap: ${a("--spacing-xs")}; 879 justify-content: center; 880 overflow: hidden; 881`,BA=c` 882 align-items: center; 883 display: flex; 884 justify-content: center; 885`,$A=c` 886 align-items: center; 887 align-self: stretch; 888 display: flex; 889 flex-direction: column; 890 gap: ${a("--spacing-xs")}; 891 justify-content: center; 892 padding: 0 ${a("--spacing-s")}; 893`,LA=c` 894 background: ${a("--animated-accordion-progress-indicator-track-mobile-color")}; 895 border-radius: ${a("--animated-accordion-progress-indicator-mobile-border-radius")}; 896 height: ${a("--animated-accordion-progress-indicator-mobile-height")}; 897 inset-block-start: 0; 898 inset-inline-start: 0; 899 overflow: hidden; 900 width: ${Ob}; 901`,HA=c` 902 background: ${a("--animated-accordion-progress-indicator-bar-mobile-color")}; 903 border-radius: ${a("--animated-accordion-progress-indicator-mobile-border-radius")}; 904 height: 100%; 905 transform-origin: center left; 906 width: 100%; 907`,VA=c` 908 align-items: center; 909 display: flex; 910 gap: ${a("--spacing-xs")}; 911 justify-content: center; 912 padding: ${a("--spacing-m")} ${a("--spacing-s")}; 913`,OA=c` 914 align-items: center; 915 background: ${a("--animated-accordion-progress-indicator-track-mobile-color")}; 916 border-radius: ${a("--animated-accordion-dot-border-radius")}; 917 display: flex; 918 height: ${a("--animated-accordion-dot-height")}; 919 justify-content: flex-end; 920 width: ${a("--animated-accordion-dot-width")}; 921`,GA=c` 922 align-items: center; 923 background: ${a("--animated-accordion-nav-button-bg-color")}; 924 border: none; 925 border-radius: 50%; 926 cursor: pointer; 927 display: flex; 928 flex-shrink: 0; 929 height: 32px; 930 justify-content: center; 931 padding: 0; 932 width: 32px; 933 934 &:hover { 935 background: ${a("--animated-accordion-nav-button-hover-bg-color")}; 936 } 937 938 svg, 939 img { 940 display: block; 941 height: 16px; 942 width: 16px; 943 } 944`,zA=c` 945 align-items: flex-start; 946 align-self: stretch; 947 display: flex; 948 flex-direction: column; 949 gap: ${a("--spacing-m")}; 950`,UA=c` 951 -webkit-box-orient: vertical; 952 -webkit-line-clamp: 3; 953 align-self: stretch; 954 display: -webkit-box; 955 overflow: hidden; 956 text-overflow: ellipsis; 957 958 && { 959 font-size: ${a("--animated-accordion-title-mobile-font-size")};
960 font-weight: ${a("--animated-accordion-title-mobile-font-weight")}; 961 letter-spacing: ${a("--animated-accordion-title-mobile-font-letter-spacing")}; 962 line-height: ${a("--animated-accordion-title-mobile-font-line-height")}; 963 margin: 0; 964 padding: 0; 965 } 966`,WA=c` 967 -webkit-box-orient: vertical; 968 -webkit-line-clamp: 6; 969 align-self: stretch; 970 color: ${a("--animated-accordion-body-color")}; 971 display: -webkit-box; 972 font-size: ${a("--animated-accordion-body-mobile-font-size")}; 973 font-weight: ${a("--animated-accordion-body-mobile-font-weight")}; 974 letter-spacing: ${a("--animated-accordion-body-mobile-font-letter-spacing")}; 975 line-height: ${a("--animated-accordion-body-mobile-font-line-height")}; 976 overflow: hidden; 977 padding-bottom: auto; 978 text-overflow: ellipsis; 979`;var QA=({durationMs:e,isActive:t,isPaused:o,onAnimationComplete:n})=>{let r=(0,As.useRef)(null),s=(0,As.useRef)();return(0,As.useEffect)(()=>{r.current&&(s.current=r.current.animate([{translate:`-${Ob}`},{translate:"0"}],{duration:e,iterations:1,fill:"forwards"}),s.current.pause())},[]),(0,As.useEffect)(()=>{s.current&&(t?o?s.current.pause():(s.current.play(),s.current.onfinish=()=>n?.()):(s.current.pause(),s.current.currentTime=0))},[o,t,n]),i("div",{className:LA,children:i("div",{ref:r,className:HA})})};var qA=e=>{let{currentItemIndex:t,durationMs:o=7e3,isActive:n,isPaused:r,itemsCount:s,onAnimationComplete:l,onPause:p,playIcon:d=i(wd,{}),pauseIcon:u=i(_d,{})}=e;return x("div",{className:FA,children:[i("div",{className:BA,children:Array.from({length:s}).map((y,m)=>t===m?i("div",{className:$A,children:i(QA,{durationMs:o,isActive:n,isPaused:r,onAnimationComplete:l})},m):i("div",{className:VA,children:i("div",{className:OA})},m))}),i("button",{"aria-label":r?"Play accordion":"Pause accordion",className:GA,type:"button",onClick:()=>p(),children:r?d:u})]})};var KA=e=>{let{items:t,textAlignment:o="Start",onItemSelect:n,playIcon:r,pauseIcon:s,onVideoPlayToggle:l}=e,p=t.length>1,d=(0,vn.useRef)([]),[u,y]=(0,vn.useState)(-1),[m,g]=(0,vn.useState)(!0),[f,b]=(0,vn.useState)(0),[S,C]=(0,vn.useState)(!1),[I,k]=(0,vn.useState)(0),[v,A]=(0,vn.useState)(0),w=v>0,D=()=>{y(L=>L>=t.length-1?0:L+1)};(0,vn.useEffect)(()=>{p&&g(!1),y(0)},[p]);let M=L=>{b(L.touches[0]?.clientX),C(!0)},_=L=>{if(f===null||!S)return;let K=L.touches[0]?.clientX-f;k(K)},F=()=>{if(f===null)return;Math.abs(I)>50&&(I>0?B():$()),C(!1),k(0),b(null)},$=()=>{y(L=>{let z=(L+1)%t.length;return n?.(z),z})},B=()=>{y(L=>{let z=L===0?t.length-1:L-1;return n?.(z),z})};(0,vn.useEffect)(()=>{if(!w&&p){let L=d.current.map(z=>z.clientHeight);A(Math.max(...L))}},[p,w,v]);let V={[Vb]:`${v}px`};return i("div",{onTouchStart:M,onTouchMove:_,onTouchEnd:F,style:V,children:t?.map((L,z)=>x("div",{className:h(NA,{[_A]:o===re.Start,[wA]:o===re.Center,[DA]:o===re.End,[PA]:p&&z!==u&&w}),ref:K=>{d.current[z]=K},onClick:()=>g(!m),children:[i("div",{className:h(EA,Gb),children:i(gp,{item:L,isActive:!p||z===u,className:RA,fitMediaToContainer:!0,playIcon:r,pauseIcon:s,onVideoPlayToggle:l})}),p&&i(qA,{currentItemIndex:z,isActive:z===u&&I===0,isPaused:m,itemsCount:t.length,onPause:()=>g(!m),onAnimationComplete:D,playIcon:r,pauseIcon:s}),x("div",{className:h(zA,Gb),children:[i("h6",{className:UA,...te(L.titleDataset),children:L.title}),i("section",{className:WA,...te(L.bodyDataset),children:L.body})]})]},z))})};var jA=e=>{q("sdsm-animated-accordion");let o=Zo()===rt.Mobile,{mediaDirection:n="Start",autoPlaySpeed:r=10,textAlignmentMobile:s=re.Start,items:l=[],onItemSelect:p,useFullWidthLayout:d=!1,mediaAspectRatio:u,playIcon:y,pauseIcon:m,onVideoPlayToggle:g}=e;return o?i(KA,{items:l,textAlignment:s,onItemSelect:p,playIcon:y,pauseIcon:m,onVideoPlayToggle:g}):i(AA,{items:l,mediaDirection:n,autoPlaySpeedMs:r*1e3,mediaAspectRatio:u,useFullWidthLayout:d,onItemSelect:p,playIcon:y,pauseIcon:m,onVideoPlayToggle:g})};var YA=T(P()),_s,lK=()=>_s||(_s=new IntersectionObserver(e=>{for(let t of e){let o=t.target;t.isIntersecting&&o instanceof HTMLElement&&(o.style.animationPlayState="running",_s.unobserve(o))}return _s}),_s),pK=e=>{let t=e.animationName,o=e.delay?`${e.delay}ms`:"",n=e.direction?`${e.direction}`:"normal",r=e.duration?`${e.duration}ms`:"1000ms",s="forwards",l=e.iterationCount??1,p="paused",d=e.timingFunction??"",u=e.transformOrigin??"";return{animation:`${r} ${d} ${o} ${l} ${n} ${s} ${p} ${t}`,transformOrigin:`${u}`}};function bu(e,t){if((0,YA.useEffect)(()=>
979{if(!t)return;let o=lK(),n=[],r=e.current;if(!r)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){r.style.animationName="",r.style.opacity="1";return}return o.observe(r),n.push(r),()=>{o.unobserve(r)}},[t,e]),!!t)return pK(t)}var XA=c` 980 line-height: ${32}px; 981 margin: ${8}px 0; 982`,ace=c` 983 display: block; 984`;var JA=({author:e,date:t})=>!e&&!t?null:x("div",{className:XA,children:[e,e&&t&&i("br",{}),t]});var zn=T(P());var ws=T(P());var Er=T(P());var zb="table-with-headers",fp="--column-count",ZA=c` 985 background-color: ${a("--table-bg-color")}; 986 border-radius: ${a("--border-radius-s")}; 987 margin-bottom: ${a("--spacing-m")}; 988 overflow-x: auto; 989 990 /* Paragraph margins in table cells look like extra padding, so we remove them for tables */ 991 .${$n.p} { 992 margin-bottom: 0; 993 overflow-wrap: break-word; 994 } 995`,e_=c` 996 /* Allow table to scroll horizontally on smaller viewpoints */ 997 border-collapse: collapse; 998 display: grid; 999 grid-template-columns: repeat( 1000 var(${fp}), 1001 minmax(${a("--table-cell-min-width")}, 1fr) 1002 ); 1003 grid-row-gap: ${a("--table-desktop-row-gap")}; 1004 min-width: ${a("--table-cell-min-width")}; 1005 overflow-x: auto; 1006 width: 100%; 1007 padding: ${a("--spacing-m")} 0; 1008 1009 div[role='cell'] { 1010 padding: ${a("--table-cell-desktop-padding")}; 1011 1012 &:first-child { 1013 padding-inline-start: ${a("--table-cell-desktop-inline-edge-padding")}; 1014 } 1015 1016 &:last-child { 1017 padding-inline-end: ${a("--table-cell-desktop-inline-edge-padding")}; 1018 } 1019 } 1020 1021 &.${zb} { 1022 padding: unset; 1023 grid-template-columns: repeat( 1024 var(${fp}), 1025 minmax(${a("--table-cell-min-width")}, 1fr) 1026 ); 1027 1028 div[role='cell'] { 1029 border-bottom: 1px solid ${a("--table-border-color")}; 1030 padding: ${a("--spacing-m")}; 1031 1032 &:first-child { 1033 padding-inline-start: ${a("--table-cell-desktop-inline-edge-padding")}; 1034 } 1035 1036 &:last-child { 1037 padding-inline-end: ${a("--table-cell-desktop-inline-edge-padding")}; 1038 } 1039 1040 ${N} { 1041 &:first-child { 1042 padding-inline-start: ${a("--table-cell-mobile-inline-edge-padding")}; 1043 } 1044 1045 &:last-child { 1046 padding-inline-end: ${a("--table-cell-mobile-inline-edge-padding")}; 1047 } 1048 } 1049 } 1050 } 1051`,t_=c` 1052 ${N} { 1053 overflow-x: scroll; 1054 } 1055`,o_=c` 1056 grid-template-columns: 1057 minmax(${a("--table-cell-min-width")}, ${a("--table-first-column-max-width")}) 1058 repeat(calc(var(${fp}) - 1), minmax(${a("--table-cell-min-width")}, 1fr)); 1059 1060 /** mobile media query single column layout */ 1061 div[role='cell'] { 1062 padding: ${a("--table-cell-desktop-padding")}; 1063 1064 &:first-child { 1065 padding-inline-start: ${a("--table-cell-desktop-inline-edge-padding")}; 1066 } 1067 1068 &:last-child { 1069 padding-inline-end: ${a("--table-cell-desktop-inline-edge-padding")}; 1070 } 1071 } 1072 1073 ${N} { 1074 grid-row-gap: ${a("--table-mobile-row-gap")}; 1075 grid-auto-flow: row; 1076 grid-template-columns: minmax(0, 1fr); 1077 div[role='row'] { 1078 display: block; 1079 } 1080 div[role='cell'] { 1081 padding: ${a("--table-cell-mobile-padding")}; 1082 padding-inline-end: ${a("--table-cell-mobile-inline-edge-padding")}; 1083 padding-inline-start: ${a("--table-cell-mobile-inline-edge-padding")}; 1084 1085 &:first-child { 1086 padding-inline-start: ${a("--table-cell-mobile-inline-edge-padding")}; 1087 } 1088 1089 &:last-child { 1090 padding-inline-end: ${a("--table-cell-mobile-inline-edge-padding")}; 1091 } 1092 } 1093 } 1094`,n_=c` 1095 background-color: ${a("--table-cell-body-bg-color")}; 1096 color: ${a("--table-cell-fg-color")}; 1097`,a_=c` 1098 background-color: ${a("--table-cell-header-bg-color")}; 1099 border-bottom: 1px solid ${a("--table-border-color")}; 1100 color: ${a("--table-header-fg-color")}; 1101 font-weight: ${a("--table-header-font-weight")}; 1102 padding: ${a("--spacing-m")}; 1103 1104 &:first-child { 1105 padding-inline-start: ${a("--table-cell-desktop-inline-edge-padding")}; 1106 } 1107 1108 &:last-child { 1109 padding-inline-end: ${a("--table-cell-desktop-inline-edge-padding")}; 1110 } 1111 1112 ${N} { 1113 &:first-child { 1114 padding-inline-start: ${a("--table-cell-mobile-inline-edge-padding")}; 1115 } 1116 1117 &:last-child { 1118 padding-inline-end: ${a("--table-cell-mobile-inline-edge-padding")}; 1119 } 1120 } 1121`,r_=c` 1122 display: contents; 1123`;var Su=({children:e})=>i("div",{role:"cell",className:n_,children:e}),bp=({children:e})=>i("div",{role:"columnheader",className:a_,children:e}),hu=({children:e})=>i("div",{role:"row",className:r_,children:e});var i_=({children:e,collapseMobileTable:t=!1})=>{q("sdsm-primitive-table");let n=Er.Children.toArray(e).find(p=>(0,Er.isValidElement)(p)&&p.type===hu),r=n?Er.Children.toArray(n.props.children).filter(p=>(0,Er.isValidElement)(p)&&(p.type===bp||p.type===Su)).length:0,s=n?Er.Children.toArray(n.props.children).some(p=>(0,Er.isValidElement)(p)&&p.type===bp):!1,l={[fp]:r};return i("article",{style:l,className:h(ZA,"sdsm-primitive-table"),children:i("div",{"aria-label":"Table",role:"table",className:h("sdsm-primitive-table",e_,{[o_]:t&&!s,[zb]:s,[t_]:s&&r>=2||r>=2&&!t}),children:e})})},s_=({children:e})=>i(i_,{collapseMobileTable:!0,children:e}),Ub=i_;var l_=c` 1124 &.small { 1125 --size: 28px; 1126 --icon-size: 24px; 1127 } 1128 &.medium { 1129 --size: 32px; 1130 --icon-size: 24px; 1131 } 1132 &.large { 1133 --size: 40px; 1134 --icon-size: 24px; 1135 } 1136 &.extra_large { 1137 --size: 64px; 1138 --icon-size: 40px; 1139 } 1140 1141 /* These are meant to be easily overridable via className prop. */ 1142 width: var(--size); 1143 height: var(--size); 1144 1145 cursor: pointer; 1146 transition: transform 0.2s linear; 1147 1148 border-radius: ${a("--icon-button-border-radius")};
1149 box-shadow: ${a("--icon-button-box-shadow")}; 1150 1151 /* Center */ 1152 display: flex; 1153 align-items: center; 1154 justify-content: center; 1155 1156 --icon-color: ${a("--icon-button-fg-color")}; 1157 background: ${a("--icon-button-bg-color")}; 1158 border: ${a("--icon-button-border-width")} solid ${a("--icon-button-border-color")}; 1159 1160 :hover { 1161 background: ${a("--icon-button-hover-bg-color")}; 1162 border: ${a("--icon-button-border-width")} solid ${a("--icon-button-hover-border-color")}; 1163 transform: translate(0, -1px); 1164 } 1165 1166 :active, 1167 .active { 1168 transform: translate(0, 1px); 1169 } 1170 1171 :disabled, 1172 .disabled { 1173 cursor: not-allowed; 1174 transform: none; 1175 --icon-color: ${a("--icon-button-disabled-fg-color")}; 1176 background: ${a("--icon-button-disabled-bg-color")}; 1177 border: ${a("--icon-button-border-width")} solid ${a("--icon-button-disabled-border-color")}; 1178 } 1179 1180 > .icon { 1181 width: var(--icon-size); 1182 height: var(--icon-size); 1183 } 1184`;var wo=(0,ws.forwardRef)((e,t)=>{let{url:o,iconName:n,className:r,iconClassName:s,onClick:l,disabled:p,size:d="medium",...u}=e;q("sdsm-icon-button");let{Anchor:y}=(0,ws.useContext)(He),m=h("sdsm-icon-button",l_,d,{disabled:p},r),g=i(Te,{name:n,size:24,fill:a("--icon-color"),className:h("icon",s)}),f=(0,ws.useCallback)(()=>{p||l?.()},[p,l]);return o?i(y,{href:o,ref:t,className:m,onClick:f,...u,children:g}):i("button",{ref:t,disabled:p,className:m,onClick:f,...u,children:g})});var cK=400,p_=c` 1185 align-self: center; 1186 background-color: ${a("--autocomplete-bg-color")}; 1187 border-color: ${a("--autocomplete-border-color")}; 1188 border-radius: ${a("--autocomplete-input-border-radius")}; 1189 border-style: solid; 1190 border-width: ${a("--autocomplete-border-width")}; 1191 box-sizing: border-box; 1192 display: flex; 1193 flex-direction: column; 1194 height: ${a("--autocomplete-input-height")}; 1195 justify-content: center; 1196 margin: 0; 1197 position: relative; 1198 width: 100%; 1199 z-index: 20; 1200 1201 :has(input:hover) { 1202 border-color: ${a("--autocomplete-hover-border-color")}; 1203 box-shadow: ${a("--autocomplete-hover-box-shadow")}; 1204 } 1205 1206 :has(input:focus) { 1207 border-color: ${a("--autocomplete-active-border-color")}; 1208 box-shadow: ${a("--autocomplete-active-box-shadow")}; 1209 } 1210`,c_=c` 1211 border-bottom-left-radius: ${a("--autocomplete-input-border-radius")}; 1212 border-bottom-right-radius: ${a("--autocomplete-input-border-radius")}; 1213`,d_=c` 1214 margin-inline-start: auto; 1215 max-width: ${cK}px; 1216`,u_=c` 1217 background-color: ${a("--autocomplete-bg-color")}; 1218 border-style: none; 1219 box-sizing: border-box; 1220 color: ${a("--autocomplete-fg-color")}; 1221 font-family: ${a("--font-family")}; 1222 font-size: ${a("--autocomplete-mobile-font-size")}; 1223 font-weight: ${a("--autocomplete-mobile-font-weight")}; 1224 margin: ${a("--spacing-m")} 0; 1225 outline: none; 1226 padding: 0; 1227 vertical-align: middle; 1228 width: 100%; 1229 1230 *[dir='rtl'] & { 1231 text-align: right; 1232 } 1233 1234 ${H} { 1235 font-size: ${a("--autocomplete-desktop-font-size")}; 1236 font-weight: ${a("--autocomplete-desktop-font-weight")}; 1237 } 1238`,y_=e=>c` 1239 background: ${a("--autocomplete-bg-color")}; 1240 border: ${a("--border-width-xs")} solid ${a("--palette-black-v150")}; 1241 border-bottom: ${e?void 0:"0px"}; 1242 border-bottom-right-radius: ${e?`${a("--autocomplete-list-border-radius")};`:void 0}; 1243 border-bottom-left-radius: ${e?`${a("--autocomplete-list-border-radius")};`:void 0}; 1244 border-top: 0px; 1245 box-sizing: border-box; 1246 /** Because container is absolute positioned when adding a border 1px it was 1px inside of the parent container below fixed */ 1247 left: -1px; 1248 list-style: none; 1249 margin-top: ${a("--spacing-xs")}; 1250 max-height: 175px; 1251 overflow-y: auto; 1252 padding-left: 0; 1253 position: absolute; 1254 top: 41px; 1255 width: calc(100% + 2px); 1256 z-index: 20; 1257 webkit-scrollbar {
1258 width: 7px; 1259 } 1260 webkit-scrollbar-thumb { 1261 background-clip: padding-box; 1262 background-color: ${a("--palette-gray-v100")}; 1263 border-radius: ${a("--border-radius-s")}; 1264 border-right: 2px ${a("--autocomplete-bg-color")} solid; 1265 } 1266 :before { 1267 background: ${a("--palette-gray-v100")}; 1268 content: ''; 1269 height: 1px; 1270 left: ${a("--spacing-m")}; 1271 position: absolute; 1272 top: 0; 1273 width: calc(100% - ${a("--spacing-xl")};); 1274 } 1275 `,m_=y_(!0),g_=y_(!1),Cu=c` 1276 cursor: pointer; 1277 padding: ${a("--spacing-s")} ${a("--spacing-xl")}; 1278 margin: 0 ${a("--spacing-m")} 0 ${a("--spacing-m")}; 1279 font-size: 18px; 1280 color: ${a("--palette-gray-v300")}; 1281 line-height: 20px; 1282 border-radius: 6px; 1283 :hover { 1284 background: ${a("--palette-gray-v100")}; 1285 color: ${a("--palette-black-v150")}; 1286 } 1287`,f_=c` 1288 margin-inline: ${a("--spacing-m")} ${a("--spacing-s")}; 1289 margin-block: ${a("--spacing-m")}; 1290 min-width: 20px; 1291`,b_=c` 1292 background: transparent; 1293 border: none; 1294 color: ${a("--autocomplete-button-fg-color")}; 1295 cursor: pointer; 1296 font-family: ${a("--font-family")}; 1297 font-size: ${a("--action-mobile-font-size")}; 1298 font-weight: ${a("--action-mobile-font-weight")}; 1299 line-height: ${a("--action-mobile-font-line-height")}; 1300 margin-block: auto; 1301 margin-inline: ${a("--spacing-s")} ${a("--spacing-m")}; 1302 padding-inline: 0; 1303 white-space: nowrap; 1304 1305 :hover, 1306 :focus { 1307 color: ${a("--autocomplete-button-fg-hover-color")}; 1308 } 1309 1310 ${H} { 1311 font-size: ${a("--action-desktop-font-size")}; 1312 font-weight: ${a("--action-desktop-font-weight")}; 1313 line-height: ${a("--action-desktop-font-line-height")}; 1314 margin: ${a("--spacing-m")}; 1315 } 1316`,S_=c` 1317 background: transparent; 1318 border: ${a("--border-width-xs")} solid ${a("--fg-color")}; 1319 :hover { 1320 background: transparent; 1321 } 1322 1323 /* Overrides for the icon button style */ 1324 box-shadow: none; 1325 1326 && { 1327 --icon-size: 16px; 1328 --icon-color: ${a("--fg-color")}; 1329 } 1330 1331 /* Overrides for the icon button hover styles */ 1332 @media (hover: hover) { 1333 &:hover { 1334 --icon-color: ${a("--global-header-bg-color")}; 1335 background: ${a("--fg-color")}; 1336 border: ${a("--border-width-xs")} solid ${a("--fg-color")}; 1337 transform: none; 1338 } 1339 } 1340`,h_=c` 1341 align-items: center; 1342 display: flex; 1343 height: ${a("--autocomplete-input-height")}; 1344 1345 svg { 1346 path { 1347 fill: ${a("--autocomplete-placeholder-color")}; 1348 } 1349 } 1350`,C_=c` 1351 background: ${a("--autocomplete-bg-color")}; 1352 border: ${a("--border-width-xs")} solid ${a("--palette-black-v150")}; 1353 border-bottom-left-radius: ${a("--autocomplete-list-border-radius")}; 1354 border-bottom-right-radius: ${a("--autocomplete-list-border-radius")}; 1355 border-top: 0px; 1356 color: ${a("--palette-blue-v200")}; 1357 cursor: pointer; 1358 font-size: ${a("--text-mobile-font-size")}; 1359 /** Because container is absolute positioned when adding a border 1px it was 1px inside of the parent container below fixed */ 1360 left: -1px; 1361 line-height: 20px; 1362 padding: ${a("--spacing-s")} ${a("--spacing-xxl")} ${a("--spacing-l")}; 1363 position: absolute; 1364 text-align: start; 1365 top: 224px; 1366 width: calc(100% + 2px); 1367 z-index: 20; 1368 1369 ${H} { 1370 font-size: ${a("--text-desktop-font-size")}; 1371 } 1372`;var dK={background:`${a("--palette-gray-v100")}`,color:`${a("--palette-black-v150")}`};function uK({term:e,onClick:t,setSelectedIndex:o,isActive:n,listItemStyles:r,resultAccessor:s,loadingAutocompleteTerms:l,loadingMessage:p}){let d=(0,zn.useRef)(null);return(0,zn.useEffect)(()=>{n&&d.current?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},[n]),l?i("li",{className:Cu,children:p??"Loading..."}):i("li",{className:h(Cu,r),ref:d,style:n?dK:{},onMouseLeave:()=>o(-1),onClick:u=>{u.stopPropagation(),t(e)},children:s?s(e):String(e)},typeof e=="string"?e:s?.(e))}
1372function xu({onSelect:e,onChange:t,onKeyDown:o,onSeeResults:n,onCollapseChange:r,resultAccessor:s,autocompleteResults:l,loadingAutocompleteTerms:p,placeholder:d,cancelMessage:u,loadingMessage:y,seeResultsMessage:m,noResultsMessage:g,initialText:f,containerStyles:b,inputStyles:S,listItemStyles:C,collapsible:I,shortBar:k,disabled:v,hideSuggestions:A,hideCancelButton:w,iconButtonSize:D="large"}){q("sdsm-autocomplete");let[M,_]=(0,zn.useState)(f??""),[F,$]=(0,zn.useState)(!0),[B,V]=(0,zn.useState)(A?!A:!1),[L,z]=(0,zn.useState)(-1),K=(0,zn.useRef)(null);(0,zn.useEffect)(()=>{F===!1&&K.current?.focus()},[F]);let ye=U=>{A||V(U)},se=U=>{U||ye(!1),$(U),I&&r&&r(F)},ne=U=>{t(U.target.value),_(U.target.value);let E=U.target.value.trimStart();ye(E.length>0),E.length>0&&z(-1)},oe=U=>{I&&se(!0),B&&(_(""),z(-1)),e(U)},pe=()=>{se(!0),_(""),z(-1)},ae=()=>{I&&se(!0),B&&(_(""),z(-1)),n?.(M)},j=U=>{let E=l.length;if(U.key==="Escape")ye(!1);else if(U.key==="ArrowUp"){let X=Math.max(L-1,0)%E;z(X),U.preventDefault()}else if(U.key==="ArrowDown"){let X=Math.min(L+1,E-1)%E;z(X),U.preventDefault()}else if(U.key==="Enter"){if(l.length>0||A){if(L<0&&n)return ae();L<0?oe(l[0]):oe(l[L])}z(0)}o?.(U)},Y=()=>i("div",{className:l.length===0||p?m_:g_,children:l.length>0?l.map((U,E)=>i(uK,{term:U,onClick:oe,index:E,isActive:L===E,setSelectedIndex:z,listItemStyles:C,resultAccessor:s,loadingAutocompleteTerms:p,loadingMessage:y},typeof U=="string"?U:s?.(U))):i("li",{className:Cu,children:g??"No results returned."})});if(I&&F)return i(wo,{size:D,iconName:"search",disabled:v,className:S_,onClick:()=>se(!1)});let J=B&&!p&&m&&l.length>0;return x("div",{className:h("sdsm-autocomplete",p_,b,{[c_]:!B,[d_]:k}),onClick:()=>{ye(M.length>0),K.current?.focus()},children:[x("div",{className:h_,children:[i(Te,{size:20,className:f_,name:"search"}),i("input",{className:h(u_,S),ref:K,onChange:ne,onKeyDown:j,value:M,placeholder:d}),I&&!w&&i("button",{onClick:pe,className:b_,children:u})]}),B?Y():void 0,J?i("button",{onClick:ae,className:C_,children:`${m} "${M}"`}):void 0]})}var T_=T(P());var v_=c` 1373 padding: 16px 60px; 1374 font-size: ${a("--banner-font-size")}; 1375 background-color: ${a("--banner-bg-color")}; 1376 color: ${a("--banner-fg-color")}; 1377 min-height: ${50}px; 1378 display: flex; 1379 align-items: center; 1380 justify-content: center; 1381 position: relative; 1382 line-height: ${a("--banner-font-line-height")}; 1383 box-sizing: border-box; 1384 1385 ${N} { 1386 padding: 16px 32px 16px 20px; 1387 } 1388`,I_=c` 1389 flex: 1; 1390 display: flex; 1391 justify-content: center; 1392 align-items: center; 1393`,k_=c` 1394 width: 60px; 1395 display: flex; 1396 align-items: center; 1397 justify-content: center; 1398 flex-shrink: 0; 1399 position: absolute; 1400 right: 0; 1401 1402 ${N} { 1403 width: 44px; 1404 } 1405`,M_=c` 1406 background: none; 1407 border: none; 1408 display: flex; 1409 justify-content: center; 1410 align-items: center; 1411 cursor: pointer; 1412 /* 44 x 44 for a11y */ 1413 width: 44px; 1414 height: 44px; 1415 1416 /* search icon */ 1417 .sds-icon-cross { 1418 fill: ${a("--banner-fg-color")}; 1419 } 1420`;var A_=({motifScheme:e,backgroundColor:t,className:o,children:n,contentClassName:r,dataset:s})=>{q("sdsm-banner");let[l,p]=(0,T_.useState)(!0);if(!l)return null;let d=e??Ne(t)??"sdsm-default";return x("div",{className:h("sdsm-banner",v_,o,d),...te(s),children:[i("div",{className:h(I_,r),children:n}),i("div",{className:k_,children:i("button",{className:M_,onClick:()=>p(!1),children:i(mM,{size:24})})})]})};var uS=T(P());var yK=c` 1421 margin: auto; 1422 max-width: ${ct}px; 1423`,mK=c` 1424 ${H} { 1425 max-width: ${Wk}px; 1426 width: 80%; 1427 } 1428`,gK=c` 1429 max-width: ${Qk}px; 1430`,Ja=({children:e,className:t,isNarrow:o,widthStyle:n,...r})=>(q("sdsm-block-boundary"),t=h("sdsm-block-boundary",yK,{[mK]:n==="reduced",[gK]:o||n==="narrow"},t),i("div",{...r,className:t,children:e}));Ja.displayName="BlockBoundary";var ku=T(P());var __=T(P()),et=(0,__.createContext)({});var vu=(e,t)=>c` 1431 & > * { 1432 margin-left: ${t/2}px; 1433 margin-right: ${t/2}px; 1434 } 1435 1436 & > *:first-child { 1437 margin-left: ${e}px; 1438 margin-right: ${t/2}px; 1439 1440 *[dir='rtl'] & { 1441 margin-right: ${e}px; 1442 margin-left: ${t/2}px; 1443 } 1444 } 1445 1446 /* stylelint-disable-next-line no-descending-specificity */ 1447 & > *:last-child { 1448 margin-left: ${t/2}px; 1449 margin-right: ${e}px; 1450 1451 *[dir='rtl'] & { 1452 margin-right: ${t/2}px; 1453 margin-left: ${e}px; 1454 } 1455 } 1456`,w_=c` 1457 height: ${64}px; 1458 max-height: ${64}px; 1459 1460 /* TODO: this doesnt really show well, and needs to work with subnav/banners. */
1461 /* box-shadow: ${a("--box-shadow-m")}; */ 1462 1463 color: ${a("--global-header-fg-color")}; 1464 background-color: ${a("--global-header-bg-color")}; 1465 1466 /* Prevent the header from expanding the body to fit its contents. */ 1467 max-width: 100vw; 1468 overflow-x: clip; 1469 overflow-y: revert; 1470 1471 /* Stretch the header to the sides and ensure it's visible. */ 1472 position: sticky; 1473 top: 0; 1474 left: 0; 1475 right: 0; 1476 z-index: ${Pe.NAVIGATOR}; 1477 1478 opacity: 1; 1479 &.hidden { 1480 opacity: 0; 1481 transform: translateY(-100%); 1482 } 1483 transition: opacity 250ms ease-in, transform 250ms ease-out; 1484`,Wb=a("--spacing-xl"),Qb=a("--spacing-xxxl"),D_=c` 1485 ${vu(0,16)} 1486 /* we have less margins with items, but padding is larger */ 1487 padding: 0 ${Wb}; 1488 1489 ${tp} { 1490 padding: 0 ${Qb}; 1491 } 1492`,P_=c` 1493 ${w_} 1494 /* Prevent the header from expanding the body to fit its contents. */ 1495 max-width: 100vw; 1496 overflow-x: clip; 1497 1498 /* Stretch the header to the sides and ensure it's visible. */ 1499 position: sticky; 1500 top: 0; 1501 left: 0; 1502 right: 0; 1503 z-index: ${Pe.NAVIGATOR}; 1504 1505 opacity: 1; 1506 &.hidden { 1507 opacity: 0; 1508 transform: translateY(-100%); 1509 } 1510 transition: opacity 250ms ease-in, transform 250ms ease-out; 1511`,N_=c` 1512 ${w_} 1513 display: flex; 1514 align-items: center; 1515 ${vu(20,16)} 1516 & > *:first-child, 1517 & > *:last-child { 1518 display: flex; 1519 flex-grow: 1; 1520 flex-basis: 100px; 1521 } 1522 1523 & > *:first-child { 1524 justify-content: flex-start; 1525 } 1526 1527 & > *:last-child { 1528 justify-content: flex-end; 1529 } 1530`,Iu=c` 1531 > svg { 1532 fill: ${a("--global-header-item-color")}; 1533 transition: all 0.15s ease-out; 1534 } 1535 1536 &&& { 1537 background: transparent; 1538 border: 0; 1539 box-shadow: none; 1540 padding: 0 7px; /* Must override the padding on button. */ 1541 } 1542 1543 &&&:hover { 1544 border-color: ${a("--global-header-item-hover-color")}; 1545 1546 /* Clearing out styles from the regular button. */ 1547 box-shadow: none; 1548 transform: none; 1549 1550 > svg { 1551 fill: ${a("--global-header-item-hover-color")}; 1552 } 1553 } 1554`,E_=c` 1555 background-color: transparent; 1556 border: none; 1557 color: ${a("--fg-color")}; 1558 padding: 4px 8px; 1559 cursor: pointer; 1560`,R_=c` 1561 border-bottom: 1px solid ${a("--global-header-border-color")}; 1562`,F_=c` 1563 display: flex; 1564 align-items: center; 1565 1566 ${vu(0,16)} 1567`,fK=c` 1568 box-shadow: none; 1569 /* Hack to hide icons in CTAs. */ 1570 i[class^='icon-'], 1571 img, 1572 svg { 1573 display: none; 1574 } 1575`,B_=c` 1576 & > *:not(:first-child) { 1577 margin-left: 16px; 1578 *[dir='rtl'] & { 1579 margin-left: unset; 1580 margin-right: 16px; 1581 } 1582 } 1583 1584 /* NOTE: Triple specific selector to override button's double-specific styles. */ 1585 & .${"sdsm-button"}.${"sdsm-button"}.${"sdsm-button"} { 1586 ${fK} 1587 font-size: smaller; 1588 margin-right: 0; 1589 padding: 4px; 1590 width: inherit; /* buttons on mobile render full width by default which we don't want here */ 1591 *[dir='rtl'] & { 1592 margin-right: unset; 1593 margin-left: 0; 1594 } 1595 } 1596`,ude=c` 1597 width: 40px; 1598 height: 40px; 1599 border: ${a("--border-width-xs")} solid ${a("--neutral-v300")}; 1600 border-radius: 50%; 1601 background-color: transparent; 1602`,$_=c` 1603 align-items: center; 1604 display: flex; 1605 height: ${64}px; 1606 margin: 0 auto; 1607 max-height: ${64}px; 1608 max-width: ${Qt}px; 1609 padding: 0 40px; 1610 ${vu(20,16)} 1611 1612 /* used to make the header take up the full width of the container */ 1613 /* this is needed when users click on the search icon */ 1614 flex-grow: 1; 1615 1616 /** 1617 * We are overriding the overflow from globalHeaderCss because of a bug 1618 * on Safari 16.2. Not sure why this works so this is a bandaid. Ideally we don't do this 1619 */ 1620 overflow: visible; 1621 1622 & > nav { 1623 flex-grow: 1; 1624 display: flex; 1625 justify-content: flex-end; 1626 } 1627 1628 span { 1629 font-weight: ${a("--action-desktop-font-weight")}; 1630 font-size: ${a("--action-desktop-font-size")}; 1631 margin: 0 ${a("--spacing-xs")}; 1632 1633 ${N} { 1634 font-weight: ${a("--action-mobile-font-weight")}; 1635 font-size: ${a("--action-mobile-font-size")}; 1636 } 1637 } 1638`,yde=c` 1639 margin: -7.5px -5px; 1640`,L_=c` 1641 span.site-name { 1642 font-family: ${a("--global-header-site-name-font-family")}; 1643 font-size: ${a("--global-header-site-name-font-size")}; 1644 } 1645`,H_=c` 1646 background-color: ${a("--global-header-border-color")}; 1647 bottom: 0; 1648 height: ${a("--border-width-xs")}; 1649 left: 0; 1650 margin: auto; 1651 max-width: calc(${Qt}px - calc(${Wb} * 2)); 1652 position: absolute; 1653 right: 0; 1654 width: calc(100% - calc(${Wb} * 2)); 1655 1656 ${tp} { 1657 max-width: calc(${Qt}px - calc(${Qb} * 2)); 1658 width: calc(100% - calc(${Qb} * 2)); 1659 } 1660`,V_=c` 1661 position: relative; 1662`;var bK=e=>{switch(e){case"left":return"flex-start";case"right":return"flex-end";case"center":return"center"}},qb=({logo:e,siteName:t,className:o,cta:n,endChildrenClassName:r,localNavDesktop:s,toggleExpanded:l,showNavScreen:p,showGlobalLinks:d=!0,navItemAlignment:u="right",buttonAriaLabel:y,dataset:m,lessMargins:g,addBottomBorder:f,customIcon:b,headerClassName:S})=>i("header",{className:h(P_,L_,o,S),...te(m),children:x("div",{className:V_,children:[x("div",{className:h($_,g&&D_),children:[d&&p&&i(wo,{size:"large",className:h(cM,Iu),iconName:b||"dots",onClick:l,"data-testid":za.openButton,"aria-label":y}),e,i("span",{className:"site-name",children:t}),i("nav",{style:{justifyContent:bK(u)},"data-testid":za.navItems,children:s}),!!n&&i("aside",{className:r??F_,"data-testid":za.endContents,children:n})]}),f&&i("div",{className:H_})]})});qb.displayName="GlobalHeaderDesktop";var Q_=T(P());var O_=c` 1663 background-color: transparent; 1664 cursor: pointer; 1665 display: grid; 1666 grid-template-columns: repeat(2, 12px); 1667 grid-template-rows: repeat(2, 12px); 1668 height: 24px; 1669 margin: 0; 1670 max-height: 24px; 1671 max-width: 24px; 1672 user-select: none; 1673 width: 24px; 1674 transition: transform ${450}ms ease-in-out; 1675 1676 &.expanded { 1677 transform: rotate(-180deg); 1678 1679 .dot { 1680 animation: dot-animation ${450}ms ease-out forwards; 1681 } 1682 } 1683 1684 &.collapsed { 1685 transform: rotate(0deg); 1686 1687 .dot { 1688 animation: dot-animation-reverse ${450}ms ease-in forwards; 1689 } 1690 } 1691 1692 /* RTL overrides - placed after base rules to satisfy specificity ordering */ 1693 [dir='rtl'] &.expanded { 1694 transform: rotate(180deg); /* Mirror: rotate clockwise instead of counter-clockwise */ 1695 } 1696 1697 [dir='rtl'] &.expanded .dot { 1698 animation: dot-animation-rtl ${450}ms ease-out forwards; 1699 } 1700 1701 [dir='rtl'] &.collapsed .dot { 1702 animation: dot-animation-reverse-rtl ${450}ms ease-in forwards; 1703 } 1704 1705 /** Animation for the dots when expanding */ 1706 @keyframes dot-animation { 1707 0% { 1708 border-radius: 50%; 1709 transform: translateX(0) scale(1, 1); 1710 } 1711 15% { 1712 border-radius: 50%; 1713 transform: translateX(0) scale(1, 1); 1714 } 1715 100% { 1716 border-radius: 0%; 1717 transform: translateX(4px) scale(2, 0.35); 1718 } 1719 } 1720 1721 @keyframes dot-animation-rtl { 1722 0% { 1723 border-radius: 50%; 1724 transform: translateX(0) scale(1, 1); 1725 } 1726 15% { 1727 border-radius: 50%; 1728 transform: translateX(0) scale(1, 1); 1729 } 1730 100% { 1731 border-radius: 0%; 1732 transform: translateX(-4px) scale(2, 0.35); 1733 } 1734 } 1735 1736 /** Animation for the dots when collapsing */ 1737 @keyframes dot-animation-reverse { 1738 0% { 1739 border-radius: 0%; 1740 transform: translateX(4px) scale(2, 0.35); 1741 } 1742 85% { 1743 border-radius: 50%; 1744 transform: translateX(0) scale(1, 1); 1745 } 1746 100% { 1747 border-radius: 50%; 1748 transform: translateX(0) scale(1, 1); 1749 } 1750 } 1751 1752 @keyframes dot-animation-reverse-rtl { 1753 0% { 1754 border-radius: 0%; 1755 transform: translateX(-4px) scale(2, 0.35); 1756 } 1757 85% { 1758 border-radius: 50%; 1759 transform: translateX(0) scale(1, 1); 1760 } 1761 100% { 1762 border-radius: 50%; 1763 transform: translateX(0) scale(1, 1); 1764 } 1765 } 1766`,hp=c` 1767 align-items: center; 1768 display: flex; 1769 flex-grow: 0; 1770 flex-shrink: 0; 1771 justify-content: center; 1772`,Cp=c` 1773 background-color: ${a("--fg-color")}; 1774 border-radius: 50%; 1775 height: 7px; 1776 width: 7px; 1777`,G_=c` 1778 rotate: 45deg; 1779 1780 [dir='rtl'] & { 1781 rotate: -45deg; 1782 } 1783`,z_=c` 1784 rotate: -45deg; 1785 1786 [dir='rtl'] & { 1787 rotate: 45deg; 1788 } 1789`,U_=c` 1790 rotate: 135deg; 1791 1792 [dir='rtl'] & { 1793 rotate: -135deg; 1794 } 1795`,W_=c` 1796 rotate: -135deg; 1797 1798 [dir='rtl'] & { 1799 rotate: 135deg; 1800 } 1801`;var q_=()=>{let{screenState:e}=(0,Q_.useContext)(et);return x("div",{className:h(O_,{expanded:e==="turning-on"||e==="on",collapsed:e==="turning-off"}),children:[i("div",{className:hp,children:i("div",{className:h("dot",Cp,G_)})}),i("div",{className:hp,children:i("div",{className:h("dot",Cp,U_)})}),i("div",{className:hp,children:i("div",{className:h("dot",Cp,z_)}
1801)}),i("div",{className:hp,children:i("div",{className:h("dot",Cp,W_)})})]})};var Za={navTopLevel:"sdsm-global-nav-screen",closeButton:"sdsm-global-nav-screen-close",navItems:"sdsm-global-nav-screen-items",navHighlights:"sdsm-global-nav-screen-highlights"};var Kb=({logo:e,cta:t,className:o,isExpanded:n,toggleExpanded:r,showNavScreen:s,endChildrenClassName:l,buttonAriaLabel:p,dataset:d,addBottomBorder:u})=>x("header",{className:h(N_,u&&R_,o),...te(d),children:[s&&i("button",{onClick:r,className:E_,"data-testid":n?Za.closeButton:za.openButton,"aria-label":p,children:i(q_,{})}),e,i("aside",{className:l??B_,"data-testid":za.endContents,children:t})]});Kb.displayName="GlobalHeaderMobile";var jb="home",Yb=({motifScheme:e,backgroundColor:t,className:o,defaultGroupKey:n,children:r,displayed:s,onToggleExpanded:l,stayOpenInvariant:p,trackingSiteName:d,showNavScreen:u=!0,dataset:y,isUrlCurrent:m,buttonAriaLabel:g,...f})=>{q("sdsm-header");let b=Zo(),{state:S,toggle:C}=Jd({transitionDurationMs:450,onToggle:(M,_)=>{l&&(M==="turning-on"&&l(!0),M==="off"&&l(!1)),document?.activeElement?.blur()}});(0,ku.useEffect)(()=>C("off"),[b,p]);let[I,k]=(0,ku.useState)(b===rt.Mobile?jb:n??""),v=s??!0,A=h("sdsm-header",e??Ne(t),v?null:"hidden",o);y?.testid||(y={...y,testid:za.headerTopLevel});let w=S!=="off",D=b===rt.Mobile?Kb:qb;return x(et.Provider,{value:{mode:b,groupKey:I,setGroupKey:k,toggleExpanded:C,screenState:S,trackingSiteName:d,isUrlCurrent:m},children:[i(D,{...f,isExpanded:w,toggleExpanded:C,className:A,showNavScreen:u,buttonAriaLabel:g,dataset:y}),w&&u&&r]})};Yb.displayName="GlobalHeader";var er=T(P());var K_=c` 1802 display: flex; 1803 justify-content: space-between; 1804 1805 & > .icon-external-link { 1806 color: ${a("--global-header-item-color")}; 1807 font-size: 16px; 1808 vertical-align: middle; 1809 align-self: center; 1810 } 1811 1812 & > a { 1813 position: relative; 1814 } 1815 1816 & a.selected { 1817 color: ${a("--global-header-item-active-color")}; 1818 } 1819 1820 padding: 0; 1821`,j_=c` 1822 summary.selected { 1823 color: ${a("--global-header-item-active-color")}; 1824 } 1825`,Y_=c` 1826 &.icon-external-link { 1827 color: ${a("--global-header-item-color")}; 1828 font-size: 14px; 1829 margin: 0 9px; 1830 } 1831`,Mu=c` 1832 width: 20px; 1833 height: 20px; 1834 fill: ${a("--global-header-item-color")}; 1835 1836 summary.selected > & { 1837 fill: ${a("--global-header-item-active-color")}; 1838 } 1839`,Xb=c` 1840 && { 1841 && { 1842 color: ${a("--global-header-item-active-color")}; 1843 } 1844 } 1845`;var Jb="--children-count",SK=c` 1846 overflow: hidden; 1847 1848 height: 0; 1849 opacity: 0; 1850 1851 transition-property: opacity, height; 1852 transition-duration: ${300}ms; 1853 transition-timing-function: ease-in; 1854 1855 details[data-state='on'] &, 1856 details[data-state='turning-on'] & { 1857 height: calc(var(${np}) * var(${Jb})); 1858 opacity: 1; 1859 1860 transition-timing-function: ${Pb}; 1861 } 1862`,Tu=c` 1863 list-style-type: none; 1864 padding: 0 0 0 16px; 1865 margin: 0; 1866 1867 *[dir='rtl'] & { 1868 padding-left: initial; 1869 padding-right: 12px; 1870 } 1871 1872 ${H} { 1873 ${SK} 1874 } 1875`,X_=c` 1876 & > summary { 1877 color: ${a("--global-header-item-hover-color")}; 1878 } 1879 &::before { 1880 visibility: visible; 1881 } 1882`,J_=c` 1883 & > summary { 1884 color: ${a("--global-header-item-active-color")}; 1885 } 1886 1887 &::before { 1888 visibility: visible; 1889 background-color: ${a("--global-header-indicator-active-color")}; 1890 } 1891`,Z_=c` 1892 transition: color 0.125s; 1893 white-space: nowrap; 1894 scroll-margin: ${vr}; 1895 1896 /* Hide the text that doesn't fit. */ 1897 > summary { 1898 text-overflow: ellipsis; 1899 overflow: hidden; 1900 } 1901 1902 &:hover, 1903 &:active, 1904 &:focus-within, 1905 [data-state='on'] > summary { 1906 color: ${a("--global-header-item-hover-color")}; 1907 } 1908 1909 /** Displays the knob on active and hover in desktop mode only */ 1910 ${H} { 1911 /* Move the summary over so we can position the knob inside */ 1912 left: ${cb}; 1913 padding-left: ${vr}; 1914 width: calc(${vr} + 100%); 1915 1916 *[dir='rtl'] & { 1917 left: unset; 1918 padding-left: unset; 1919 right: ${cb}; 1920 padding-right: ${vr}; 1921 } 1922 1923 &::before { 1924 content: ' '; 1925 background-color: ${a("--global-header-indicator-hover-color")}; 1926 position: absolute; 1927 left: 0; 1928 top: 10px; 1929 width: 4px; 1930 height: 32px; 1931 border-start-end-radius: ${a("--action-indicator-border-radius")}; 1932 border-end-end-radius: ${a("--action-indicator-border-radius")}; 1933 visibility: hidden; 1934 } 1935 1936 *[dir='rtl'] &::before { 1937 left: unset; 1938 right: 0; 1939 } 1940 1941 &:focus-within::before, 1942 &:hover::before, 1943 &:active::before, 1944 details[data-state='on'] > &::before { 1945 visibility: visible; 1946 } 1947 } 1948`,e1=c` 1949 position: relative; 1950`;var Zb=({navGroupKey:e,title:t,mobileHighlight:o,isActive:n,children:r,onSummaryClick:s})=>{let{groupKey:l,setGroupKey:p,mode:d,screenState:u}=(0,er.useContext)(et),[y,m]=(0,er.useState)(l===e);(0,er.useEffect)(()=>{let S=l===e;if(y===S)return;let C;return S&&u==="on"?C=setTimeout(m.bind(null,S),300):m(S),()=>{C&&clearTimeout(C)}},[l,e]);let g=i("ol",{className:Tu,role:"menu",children:er.Children.map(r,(S,C)=>i("li",{children:S},`list-item-${C}`))}),f=S=>{S==="on"&&p?.(e)},b=d===rt.Mobile;return x(un,{forceOpenAttribute:b?void 0:!0,showChevron:d===rt.Mobile,onToggle:f,summaryOnClick:s?()=>s():void 0,open:b?void 0:y,summary:t,chevronProps:{className:Mu},className:h(Ir,b?void 0:e1,Z_,{[X_]:y,[J_]:n}),fadeInAnimation:b,transitionDurationMs:300,"data-testid":`group-${e}`,style:{[Jb]:er.Children.count(r)},children:[g,b&&o]})};Zb.displayName="GlobalNavGroup";var i1=T(P());var Ps="highlight-text",eS="highlight-text-title",tS="highlight-text-body",_u="highlight-media-mobile",wu="highlight-media-desktop",Rr="cta",o1=e=>c` 1951 box-sizing: border-box; 1952
1953 /* Make the image/video cover the media space. These selectors are deep to account for any wrapper elements. */ 1954 & > .${e} * { 1955 width: 100%; 1956 height: 100%; 1957 } 1958 & > .${e} img, 1959 & > .${e} video { 1960 object-fit: cover; 1961 border-radius: ${a("--border-radius-l")}; 1962 } 1963 1964 & > .${_u} img { 1965 width: 90%; 1966 margin: 0; 1967 } 1968`,n1=c` 1969 position: relative; /* For positioning the card */ 1970 filter: drop-shadow(0px 0px 32px rgba(0, 0, 0, 0.12)); /* Faint highlight shadow */ 1971 1972 & > .${wu} { 1973 margin: 0; 1974 width: 100%; 1975 height: 100%; 1976 } 1977 1978 ${o1(wu)} 1979`,hK=c` 1980 box-sizing: border-box; 1981 color: ${a("--fg-color")}; 1982 background-color: ${a("--bg-color")}; 1983 1984 padding: 0; 1985 border-radius: ${a("--border-radius-m")}; 1986 box-shadow: ${a("--box-shadow-m")}; 1987 border: ${a("--border-width-xs")} solid rgb(233, 234, 235); 1988 1989 & > .${Ps} { 1990 & > .${eS} { 1991 color: ${a("--palette-black-v150")}; 1992 1993 font-weight: 500; 1994 font-size: 18px; 1995 line-height: 20px; 1996 white-space: nowrap; 1997 1998 display: inline-block; 1999 2000 max-width: 100%; 2001 2002 overflow: hidden; 2003 text-overflow: ellipsis; 2004 2005 /* The line height here is greater than in body, so we move it slightly so the top margin 2006 looks proportional to the card border. */ 2007 position: relative; 2008 bottom: 1px; 2009 } 2010 2011 & > .${tS} { 2012 /* Default <p> sets margin to 1em which is larger than what we want. */ 2013 margin-block-start: 2px; 2014 margin-block-end: 2px; 2015 2016 font-size: 12px; 2017 line-height: 16px; 2018 font-weight: 400; 2019 2020 color: ${a("--palette-black-v50")}; 2021 2022 /* 2023 Properties below work on Webkit AND Gecko. 96% browser support as of 2020-04. Note that vendor 2024 auto-prefixing does not work here, so '-webkit-' is required. 2025 */ 2026 display: -webkit-box; 2027 -webkit-box-orient: vertical; 2028 -webkit-line-clamp: 3; 2029 overflow: hidden; 2030 text-overflow: ellipsis; 2031 } 2032 } 2033`,oS=65,CK=16,xK=c` 2034 max-width: 500px; 2035 padding: 16px; 2036 2037 *[dir='rtl'] & { 2038 right: unset; 2039 left: ${oS}px; 2040 } 2041 2042 .${Rr} { 2043 margin-left: 0; 2044 } 2045 2046 *[dir='rtl'] & .${Rr} { 2047 margin-left: ${CK}px; 2048 margin-right: 0; 2049 } 2050`,vK=c` 2051 width: calc(100% - ${oS*2}px); 2052 2053 padding: 16px; 2054 2055 &, 2056 & > .${Rr}, & > .${Rr} .${"sdsm-button"} { 2057 display: flex; 2058 flex-direction: column; 2059 } 2060 2061 & > .${Rr} { 2062 margin-top: 0; 2063 } 2064`,t1=1040,a1=c` 2065 ${hK} 2066 2067 display: flex; 2068 align-items: center; 2069 justify-content: space-between; 2070 gap: 16px; 2071 2072 & > .${Ps} { 2073 min-width: 0; 2074 max-width: 100%; 2075 } 2076 2077 & > .${Ps}, & > .${Rr} { 2078 margin: 0; 2079 } 2080 2081 position: absolute; 2082 right: ${oS}px; 2083 bottom: 30px; 2084 2085 @media screen and (min-width: ${t1}px) { 2086 ${xK} 2087 } 2088 2089 @media screen and (max-width: ${t1}px) { 2090 ${vK} 2091 } 2092`,Sue=c` 2093 width: 100%; 2094 cursor: pointer; 2095 margin-top: 15px; 2096 margin-bottom: 50px; 2097 2098 /** 2099 * NOTE: These values are important! 2100 * This first value is the height of the highlight. 2101 * The second is the height of the highlight description. The content is too tall 2102 * So we clip it after this size (1-line roughly) 2103 */ 2104 display: grid; 2105 grid-template-rows: 40vw 20px; 2106 2107 & > * { 2108 user-select: none; 2109 } 2110 2111 & > .${Ps} { 2112 font-weight: 400; 2113 font-size: 14px; 2114 line-height: 40px; 2115 margin: 0 12px; 2116 } 2117 2118 & > .${_u} { 2119 border-radius: ${a("--border-radius-m")}; 2120 margin: 0 20px 0 12px; 2121 } 2122 2123 [dir='rtl'] & > .${_u} { 2124 margin: 0 12px 0 20px; 2125 } 2126 2127 ${o1(_u)} 2128`,Au=10,r1=c` 2129 transition: transform ${500}ms ${Db}; 2130 transform: translateY( 2131 calc(((-100% + ${Au*5}px) * var(--selected-index) + ${Au*3}px)) 2132 ); 2133 height: 100%; 2134 2135 margin: 0 32px 0 20px; 2136 2137 *[dir='rtl'] & { 2138 margin: 0 20px 0 32px; 2139 } 2140 2141 & > * { 2142 margin-top: 0; 2143 margin-bottom: ${Au*2}px; 2144 height: calc(100% - ${Au*7}px); 2145 } 2146`;var nS=({background:e,callToAction:t,cardTitleV2:o,cardBodyV2:n,cardTitle:r,cardBody:s})=>x("section",{className:n1,children:[i("figure",{className:wu,children:e}),x("article",{className:h(Ne(Zt.White),a1),children:[x("figcaption",{className:Ps,children:[i("label",{className:eS,children:o??r}),i("p",{className:tS,children:n??s})]}),i("div",{className:Rr,children:t})]})]});nS.displayName="GlobalNavHighlightDesktop";var aS=e=>(0,i1.useContext)(et).mode===rt.Mobile?null:i(nS,{...e});aS.displayName="GlobalNavHighlight";var Fr=T(P());var s1=({className:e,highlights:t})=>{let o=(0,Fr.useContext)(et),n=o.mode===rt.Mobile,[r,s]=(0,Fr.useState)(0),l=Object.fromEntries([...t.entries()].filter(([d,u])=>!!u));if((0,Fr.useEffect)(()=>{let u=Object.keys(l).indexOf(o.groupKey??"");u!==-1&&u!==r&&s(u)},[o.groupKey,l,r]),n)return null;let p=c` 2147 --selected-index: ${r}; 2148 `;return i("section",{className:h(p,r1,e),children:Fr.Children.toArray(Object.values(l))})};var Si=T(P());var Du=e=>{if(!e||!Ab.test(e))return!1;try{return new URL(e).hostname!==window?.location.hostname}catch{return console.warn(`Unable to parse URL '${e}
2148'. It is invalid.`),!1}};var l1={utm_source:"global_nav",utm_medium:"referral",utm_content:"global_nav_item",utm_campaign:"universal_navigation"},p1=({title:e,children:t,isSelected:o,dataset:n,onToggle:r})=>{let s=(0,Si.useCallback)(()=>{r?.(e)},[r,e]);return i(un,{summary:e,summaryProps:{className:h({selected:o}),dataset:n},chevronProps:{className:Mu},className:h(Ir,j_,{[Xb]:o}),summaryOnClick:s,children:i("ol",{className:Tu,children:Si.Children.map(t,l=>i("li",{children:l}))})})};p1.displayName="GlobalNavItemWithChildren";var tr=({title:e,href:t,showExternalIcon:o,children:n,onClick:r,isSelected:s,dataset:l,addTrackingParams:p=!0,onToggle:d})=>{let{Anchor:u}=(0,Si.useContext)(He),{toggleExpanded:y,trackingSiteName:m}=(0,Si.useContext)(et);if(n&&(!Array.isArray(n)||n.length))return i(p1,{title:e,isSelected:s,dataset:l,onToggle:d,children:n});let g=m?{...l1,utm_source:Lk(m)}:l1,f=Qd(t,g),b=Du(t),S=C=>{r?.(C),!b&&!C.ctrlKey&&(y?.(),setTimeout(()=>window.scrollTo(0,0),500))};return x("div",{className:K_,...te(l),children:[i(u,{className:h(Ir,{selected:s,[Xb]:s}),href:b&&p?f:t,onClick:S,target:b?"_blank":"_self",rel:"noopener",children:e}),o&&b&&i(Te,{className:Y_,name:"external-link"})]})};tr.displayName="GlobalNavItem";var b1=T(P());var rS=({backgroundColor:e,thumbColor:t,trackWidth:o})=>c` 2149 /* Firefox. See developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars */ 2150 scrollbar-width: ${o}; 2151 scrollbar-color: ${t} ${e}; 2152 2153 /* Edge / Chrome / Safari. See css-tricks.com/custom-scrollbars-in-webkit/ */ 2154 ::-webkit-scrollbar {
2155 width: ${o}; 2156 background-color: ${e}; 2157 } 2158 2159 ::-webkit-scrollbar-thumb { 2160 background-color: ${t}; 2161 border-radius: calc(${o} / 2); 2162 /* Can't control the width, so we add a border to introduce margin. */ 2163 border: ${a("--border-width-s")} solid ${e}; 2164 } 2165 2166 ::-webkit-scrollbar-track { 2167 background-color: ${Vk}; 2168 } 2169`;var Ns=e=>`screen-state-${e}`,u1=c` 2170 background-color: ${a("--global-header-nav-screen-bg-color")}; 2171 box-sizing: border-box; 2172 color: ${a("--global-header-nav-screen-fg-color")}; 2173 /* Set font-family here or the var from the default motif is used */ 2174 font-family: ${a("--font-family")}; 2175 left: 0; 2176 position: fixed; 2177 top: 0; 2178 z-index: ${Pe.NAVIGATOR}; 2179 2180 & header { 2181 height: ${64}px; 2182 padding: 0 60px; 2183 display: flex; 2184 align-items: center; 2185 background-image: linear-gradient( 2186 0deg, 2187 transparent 0, 2188 ${a("--global-header-nav-screen-bg-color")} ${5}px 2189 ); 2190 margin-bottom: -${5}px; 2191 z-index: ${Pe.NAVIGATOR_HEADER}; 2192 2193 &.sticky { 2194 position: sticky; 2195 top: 0; 2196 } 2197 } 2198`,Ip=e=>`.${Ir} `.repeat(e),IK=c` 2199 & a { 2200 color: ${a("--global-header-item-color")}; 2201 text-decoration: none; 2202 position: relative; 2203 2204 &::after { 2205 left: 0; 2206 content: ' '; 2207 position: absolute; 2208 bottom: 5px; 2209 height: 0; 2210 width: 100%; 2211 border-bottom: 2px ${a("--global-header-item-hover-color")} solid; 2212 2213 transition: ease-in-out; 2214 transition-duration: 100ms; 2215 opacity: 0; 2216 } 2217 } 2218 2219 & a:hover, 2220 & a:focus { 2221 color: ${a("--global-header-item-hover-color")}; 2222 } 2223 2224 & ${Ip(1)} { 2225 font-size: 26px; 2226 line-height: 54px; 2227 font-weight: 600; 2228 ${np}: 36px; 2229 } 2230 2231 & ${Ip(2)} { 2232 font-size: 18px; 2233 line-height: 36px; 2234 font-weight: 400; 2235 ${np}: 16px; 2236 } 2237 2238 & ${Ip(3)} { 2239 font-size: 16px; 2240 font-weight: 400; 2241 line-height: 40px; 2242 } 2243`,kK=c` 2244 & a { 2245 color: ${a("--global-header-item-color")}; 2246 text-decoration: none; 2247 } 2248 & a:hover { 2249 color: ${a("--global-header-item-hover-color")}; 2250 } 2251 2252 .${Ir} { 2253 font-size: ${a("--p2-mobile-font-size")}; 2254 font-weight: 500; 2255 line-height: 40px; 2256 } 2257 2258 & ${Ip(2)}, & ${Ip(3)} { 2259 font-weight: 400; 2260 } 2261`,d1=400,iS="highlight",MK="no-scroll",Pu="left-nav",y1=c` 2262 ${u1} 2263 2264 ${yT({duration:`${500}ms`})} 2265 &.${Ns("on")}, 2266 &.${Ns("turning-on")} { 2267 ${mT({duration:`${500}ms`})} 2268 } 2269 2270 box-sizing: border-box; 2271 height: 100vh; 2272 max-height: 100vh; 2273 max-width: 100vw; 2274 overflow: hidden; 2275 width: 100vw; 2276`,m1=c` 2277 height: 100%; 2278 margin: 0 auto; 2279 max-width: ${Qt}px; 2280 position: relative; 2281 width: 100%; 2282 2283 & > .${Pu} { 2284 height: 100%; 2285 width: ${d1}px; 2286 max-height: 100%; 2287 overflow-y: scroll; 2288 overflow-x: hidden; 2289 2290 ${IK} 2291 2292 /* Styling scrollbar */ 2293 ${rS({thumbColor:a("--global-header-item-color"),backgroundColor:a("--global-header-nav-screen-bg-color"),trackWidth:"10px"})} 2294 } 2295 2296 & > .${Pu}.${MK} { 2297 ${rS({thumbColor:a("--global-header-nav-screen-bg-color"),backgroundColor:a("--global-header-nav-screen-bg-color"),trackWidth:"10px"})} 2298 } 2299 2300 & .menu { 2301 padding: 0px 20px 0px ${vr}; 2302 box-sizing: border-box; 2303 } 2304 2305 *[dir='rtl'] & .menu { 2306 padding: 0px ${vr}
2306 0px 20px; 2307 } 2308 2309 & > .${iS} { 2310 position: absolute; 2311 right: 0; 2312 top: 0; 2313 height: 100%; 2314 width: calc(100% - ${d1}px); 2315 z-index: ${Pe.NAVIGATOR_HIGHLIGHT}; 2316 2317 *[dir='rtl'] & { 2318 right: unset; 2319 left: 0; 2320 } 2321 } 2322 2323 & .close { 2324 position: relative; 2325 } 2326`,g1=c` 2327 ${u1} 2328 ${kK} 2329 2330 ${dT({duration:`${500}ms`,curve:"ease-out"})} 2331 2332 &.${Ns("turning-off")} { 2333 ${uT({duration:`${500}ms`,curve:"ease-out"})} 2334 } 2335 2336 overflow: hidden scroll; 2337 display: flex; 2338 flex-direction: column; 2339 2340 & > .${Ad} { 2341 padding: 20px; 2342 scroll-margin-top: 5px; 2343 } 2344 2345 & > .${Td} { 2346 background-color: ${a("--global-header-nav-screen-global-links-bg-color")}; 2347 color: ${a("--global-header-nav-screen-fg-color")}; 2348 padding: 20px 20px 40px 20px; 2349 margin-bottom: -20px; /* Pushing background under the gradient in .highlight. */ 2350 flex-grow: 1; /* Pushes the gray background to the bottom for long pages. */ 2351 } 2352 2353 & hr { 2354 border-color: ${a("--global-header-menu-col-divider-color")}; 2355 border-style: inset; 2356 border-width: ${a("--border-width-xs")}; 2357 margin-block-start: ${a("--spacing-m")}; 2358 margin-block-end: ${a("--spacing-m")}; 2359 } 2360 2361 /* On mobile we show the header regardless, so we display the nav below it. */ 2362 /* NOTE: Reducing so that at 75% zoom a sliver of background doesn't show. */ 2363 top: ${64-.75}px; 2364 /* On mobile we need to subtract the header size. */ 2365 max-height: calc(100vh - ${64}px); 2366 height: calc(100vh - ${64}px); 2367 /* stylelint-disable-next-line declaration-block-no-duplicate-properties */ 2368 max-height: calc(100dvh - ${64}px); 2369 height: calc(100dvh - ${64}px); 2370 2371 width: 100vw; 2372 max-width: 100vw; 2373`,f1=c` 2374 font-size: 14px; 2375 line-height: 40px; 2376 font-weight: 500; 2377 display: block; 2378`;var kp=T(P());var sS=({className:e,onNavClose:t,highlight:o,globalNav:n,motifScheme:r,backgroundColor:s,screenState:l,dataset:p})=>{let d=(0,kp.useRef)(null),u=(0,kp.useRef)(null);return(0,kp.useEffect)(()=>{l==="on"&&u.current?.focus()},[l]),p?.testid||(p={...p,testid:Za.navTopLevel}),Ss(d.current),i("section",{className:h("sdsm-header",y1,r??Ne(s),e),...te(p),children:x("div",{className:m1,children:[x("div",{ref:d,className:Pu,children:[i("header",{className:"sticky",children:i(wo,{size:"large",onClick:t,className:Iu,iconName:"close",ref:u,"data-testid":Za.closeButton})}),i("nav",{className:"menu","data-testid":Za.navItems,children:n})]}),i("aside",{className:iS,"data-testid":Za.navHighlights,children:o})]})})};sS.displayName="GlobalNavScreenDesktop";var Nu=T(P());var lS=({className:e,localNavMobile:t,localNavMobileFooter:o,globalNav:n,globalNavHeading:r,motifScheme:s,backgroundColor:l,showMobileGlobalLinks:p,dataset:d})=>{let u=(0,Nu.useRef)(null),{screenState:y}=(0,Nu.useContext)(et),m=y==="turning-off";Ss(u.current,m);let g=()=>x("section",{className:Ad,children:[t,o&&x(ue,{children:[i("hr",{}),o]})]});return d?.testid||(d={...d,testid:Za.navTopLevel}),x("nav",{ref:u,className:h("sdsm-header",g1,s??Ne(l),e),...te(d),children:[(t||o)&&i(g,{}),p&&x("section",{className:h(Td,s??Ne(l)),children:[i("label",{className:f
23781,children:r}),n]})]})};lS.displayName="GlobalNavScreenMobile";var pS=e=>{let{screenState:t,mode:o}=(0,b1.useContext)(et);return t==="off"?null:o===rt.Mobile?i(lS,{...e,className:Ns(t),screenState:t}):i(sS,{...e,className:Ns(t),screenState:t})};pS.displayName="GlobalNavScreen";var S1=c` 2379 scroll-margin-top: var(--total-header-height); 2380`;var cS=c` 2381 inset: 0; 2382 /* Prevent overflowing elements from adding extra page width, e.g. background media stickers */ 2383 overflow: hidden; 2384 position: absolute; 2385`,dS=c` 2386 height: 100%; 2387 object-fit: cover; 2388 width: 100%; 2389`,h1=c` 2390 /** Relative color syntax decomposes the hex --curtain-color into r g b channels so opacity can be applied dynamically */ 2391 background-color: rgb(from ${a("--curtain-color")} r g b / ${a("--curtain-opacity")}); 2392 backdrop-filter: ${a("--curtain-backdrop-filter")}; 2393 inset: 0; 2394 position: absolute; 2395 z-index: ${Pe.BLOCK_CURTAIN}; 2396`,C1=c` 2397 background-color: ${a("--bg-color")}; 2398`,x1=c` 2399 position: relative; 2400 width: 100%; 2401 background-image: ${a("--bg-image")}; 2402 color: ${a("--fg-color")}; 2403 2404 /** Styles for the background image if it gets set. Legacy */ 2405 background-repeat: no-repeat; 2406 background-size: cover; 2407 background-position: center; 2408`,v1=c` 2409 margin-left: auto; 2410 margin-right: auto; 2411 width: 100%; 2412 padding: ${a("--block-boundary-desktop-padding")}; 2413 position: relative; 2414 z-index: ${Pe.BLOCK_BOUNDARY}; 2415 2416 ${N} { 2417 padding: ${a("--block-boundary-mobile-padding")}; 2418 } 2419`,I1=c` 2420 ${H} { 2421 padding-block: ${a("--block-boundary-dense-layout-desktop-padding")}; 2422 } 2423`,k1=c` 2424 position: relative; 2425 margin-left: auto; 2426 margin-right: auto; 2427 width: 100%; 2428 max-width: 75%; 2429 padding: ${a("--block-header-desktop-padding")}; 2430 2431 ${N} { 2432 max-width: unset; 2433 padding: ${a("--block-header-mobile-padding")}; 2434 } 2435`,M1=c` 2436 color: ${a("--block-eyebrow-color")}; 2437 font-size: 14px; 2438 font-weight: 500; 2439 letter-spacing: -0.01em; 2440 line-height: 20px; 2441 margin: 0; 2442 margin-bottom: ${a("--spacing-xs")}; 2443`,T1=c` 2444 /* Overriding h* tags requires double specificity */ 2445 && { 2446 color: ${a("--block-title-color")}; 2447 font-size: ${a("--block-title-desktop-font-size")}; 2448 font-stretch: ${a("--block-title-desktop-font-stretch")}; 2449 line-height: ${a("--block-title-desktop-font-line-height")}; 2450 2451 &:has(.${"sdsm-empahasized-text"}) { 2452 color: ${a("--block-title-de-emphasized-color")}; 2453 } 2454 2455 ${N} { 2456 font-size: ${a("--block-title-mobile-font-size")}; 2457 padding: 0; 2458 } 2459 } 2460 margin: 0; /* Resets h* user stylesheet margin. */ 2461`,A1=c` 2462 -webkit-line-clamp: 6; 2463 -webkit-box-orient: vertical; 2464 color: ${a("--block-subtitle-color")}; 2465 display: -webkit-box; 2466 /* Resets h* user stylesheet margin. */ 2467 margin: 0; 2468 /* The margin between title/subtitle has to be on subtitle so that it collapses when there's only title. */ 2469 margin-top: ${a("--spacing-m")}; 2470 overflow: hidden; 2471 text-overflow: ellipsis; 2472 2473 a { 2474 color: currentColor; 2475 } 2476`,_1=c` 2477 display: flex; 2478 padding: ${a("--block-cta-desktop-padding")}; 2479 2480 > *:not(:last-child) { 2481 margin-right: ${a("--spacing-m")}; 2482 margin-left: 0; 2483 } 2484 2485 *[dir='rtl'] & > *:not(:last-child) { 2486 margin-right: 0; 2487 margin-left: ${a("--spacing-m")}; 2488 } 2489 2490 ${N} { 2491 padding: ${a("--block-cta-mobile-padding")}; 2492 flex-direction: column; 2493 > *:not(:last-child) { 2494 margin-bottom: ${a("--spacing-m")}; 2495 margin-right: 0; 2496 } 2497 } 2498`,Eu=c` 2499 --column-span: 2; 2500 display: grid; 2501 position: relative; 2502 grid-row-gap: ${a("--spacing-xl")}; 2503 grid-column-gap: ${a("--spacing-xl")}; 2504 justify-content: center; 2505 padding-inline: ${a("--block-content-desktop-padding-inline")}; 2506 2507 /* We make every column span 2 in desktop mode so we can half-column align. */ 2508 & > * { 2509 grid-column: span var(--column-span); 2510 } 2511 2512 ${N} { 2513 grid-template-columns: minmax(0, 1fr); 2514 grid-row-gap: ${a("--spacing-m")}; 2515 /* NOTE: grid-column-gap same as desktop */ 2516 padding-inline: ${a("--block-content-mobile-padding-inline")}; 2517 } 2518`,Ru=c` 2519 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2520`,w1=c` 2521 ${H} { 2522 grid-row-gap: ${a("--block-content-dense-layout-desktop-grid-row-gap")}; 2523 } 2524`,Fu=c` 2525 /* NOTE: We double the columns so we can do half-column adjustments */ 2526 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2527 2528 /* In order to center a case where the last row only has 1 content, 2529 * We shift the start of the column. 2530 * Note that we don't do this if there's only 1 row. 2531 */ 2532 ${H} { 2533 & > *:not(:first-child):nth-child(2n + 1):last-child { 2534 grid-column: var(--column-span) / span var(--column-span); 2535 } 2536 } 2537 2538 /* 2539 We are keeping the media queries above in addition to the container queries below in case: 2540 - this component is ever rendered without a wrapping SDS-M Page component 2541 - the browser does not support container queries (smart TVs, etc.) 2542 */ 2543 ${co} { 2544 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2545 2546 /* Reset for cases where the screen-based media query is active but the container query is not */ 2547 & > *:not(:first-child):nth-child(2n + 1):last-child { 2548 grid-column: span var(--column-span); 2549 } 2550 } 2551`,Bu=c` 2552 /* Reduce grid column gap width by 8px on 3 column layout */ 2553 grid-row-gap: ${a("--spacing-l")}; 2554 grid-column-gap: ${a("--spacing-l")}; 2555 2556 /* NOTE: We double the columns so we can do half-column adjustments */ 2557 grid-template-columns: repeat(calc(3 * var(--column-span)), minmax(0, 1fr)); 2558 2559 /* The case where there are actually 3 columns. */ 2560 ${Sn} { 2561 /* Handle the case where the last child can be in 1st position */ 2562 & > *:not(:first-child):last-child:nth-child(3n + 1) { 2563 grid-column: calc(1 + var(--column-span)) / span var(--column-span); 2564 } 2565 2566 /* When there are 2 children on the last row, we shift over the first one to center both */ 2567 & > *:not(:first-child):nth-child(3n + 1):nth-last-child(2) { 2568 grid-column: var(--column-span) / span var(--column-span); 2569 } 2570 } 2571 2572 ${To} { 2573 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2574 2575 ${H} { 2576 & > *:not(:first-child):nth-child(2n + 1):last-child { 2577 grid-column: var(--column-span) / span var(--column-span); 2578 } 2579 } 2580 } 2581 2582 /** TODO: Figure out if we can remove this. */ 2583 ${N} { 2584 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2585 } 2586 2587 /* 2588 We are keeping the media queries above in addition to the container queries below in case: 2589 - this component is ever rendered without a wrapping SDS-M Page component 2590 - the browser does not support container queries (smart TVs, etc.) 2591 */ 2592 ${Yk} { 2593 /* Handle the case where the last child can be in 1st position */ 2594 & > *:not(:first-child):last-child:nth-child(3n + 1) { 2595 grid-column: calc(1 + var(--column-span)) / span var(--column-span); 2596 } 2597 2598 /* When there are 2 children on the last row, we shift over the first one to center both */ 2599 & > *:not(:first-child):nth-child(3n + 1):nth-last-child(2) { 2600 grid-column: var(--column-span) / span var(--column-span); 2601 } 2602 } 2603 2604 ${os} { 2605 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2606 2607 /* Reset for cases where the screen-based media query is active but the container query is not */ 2608 & > *:not(:first-child):last-child:nth-child(3n + 1) { 2609 grid-column: span var(--column-span); 2610 } 2611 2612 /* Reset for cases where the screen-based media query is active but the container query is not */ 2613 & > *:not(:first-child):nth-child(3n + 1):nth-last-child(2) { 2614 grid-column: span var(--column-span); 2615 } 2616 2617 ${ci} { 2618 /* Center the last child if the last row only has 1 child */ 2619 & > *:not(:first-child):nth-child(2n + 1):last-child { 2620 grid-column: var(--column-span) / span var(--column-span); 2621 } 2622 } 2623 } 2624 2625 ${co} { 2626 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2627 2628 /* Reset for cases where the screen-based media query is active but the container query is not */ 2629 & > *:not(:first-child):nth-child(2n + 1):last-child { 2630 grid-column: span var(--column-span); 2631 } 2632 } 2633`,D1=c` 2634 /* Reduce grid column gap width by 8px on 4 column layout */ 2635 grid-row-gap: ${a("--spacing-l")}; 2636 grid-column-gap: ${a("--spacing-l")}; 2637 2638 /* NOTE: We double the columns so we can do half-column adjustments */ 2639 grid-template-columns: repeat(calc(4 * var(--column-span)), minmax(0, 1fr)); 2640 2641 ${jk} { 2642 grid-template-columns: repeat(calc(3 * var(--column-span)), minmax(0, 1fr)); 2643 } 2644 2645 ${To} { 2646 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2647 2648 ${H} { 2649 & > *:not(:first-child):nth-child(2n + 1):last-child { 2650 grid-column: var(--column-span) / span var(--column-span); 2651 } 2652 } 2653 } 2654 2655 ${N} { 2656 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2657 } 2658 2659 /* 2660 We are keeping the media queries above in addition to the container queries below in case: 2661 - this component is ever rendered without a wrapping SDS-M Page component 2662 - the browser does not support container queries (smart TVs, etc.) 2663 */ 2664 ${Id} { 2665 grid-template-columns: repeat(calc(3 * var(--column-span)), minmax(0, 1fr)); 2666 } 2667 2668 ${os} { 2669 grid-template-columns: repeat(calc(2 * var(--column-span)), minmax(0, 1fr)); 2670 2671 ${ci} { 2672 /* Center the last child if the last row only has 1 child */ 2673 & > *:not(:first-child):nth-child(2n + 1):last-child { 2674 grid-column: var(--column-span) / span var(--column-span); 2675 } 2676 } 2677 } 2678 2679 ${co} { 2680 grid-template-columns: repeat(var(--column-span), minmax(0, 1fr)); 2681 2682 /* Reset for cases where the screen-based media query is active but the container query is not */ 2683 & > *:not(:first-child):nth-child(2n + 1):last-child { 2684 grid-column: span var(--column-span); 2685 } 2686 } 2687`,P1=c` 2688 min-height: calc(100vh - ${64}
2688px); 2689 display: flex; 2690 background-size: cover; 2691 flex-direction: column; 2692`;var oo=({showCurtain:e,backgroundVideoSource:t,backgroundPosterSource:o,mobileBackgroundVideoSource:n,backgroundImageSources:r,backgroundImageAltText:s,callsToAction:l,children:p,anchorId:d,maxColumns:u=4,motifScheme:y,backgroundColor:m,eyebrow:g,title:f,subtitle:b,titleAlignment:S=re.Center,titleAlignmentMobile:C=re.Start,widthStyle:I="full",fullHeight:k=!1,className:v,style:A,eyebrowDataset:w,titleDataset:D,subtitleDataset:M,preChildren:_,postChildren:F,backgroundMediaStickers:$,denseLayout:B=!1,topSpacing:V,bottomSpacing:L})=>{q("sdsm-block");let z=rT({topSpacing:V,bottomSpacing:L}),K=!!g||!!f||!!b,ye=uS.Children.toArray(p).length,se=uS.Children.count(l);u=Math.max(1,Math.min(ye,u));let ne=u;I==="reduced"&&ne===4&&(ne=3),I==="narrow"&&ne>=3&&(ne=2);let oe=$?.map(pe=>({...pe,size:da.Large,insetPx:16,className:au}));return x("article",{id:d,className:h("sdsm-block",y??Ne(m),x1,S1,{[P1]:k,[C1]:!!y||!!m},v),style:A,children:[_,e&&i("div",{"data-testid":"sdsm-block-curtain",className:h1}),r&&i(On,{imgSrcs:r,altText:s,className:cS,imgClassName:dS,fetchPriority:"auto",stickers:oe}),t&&i(Xa,{mobileSource:n,source:t,className:cS,videoClassName:dS,posterSource:o,isBackgroundVideo:!0,stickers:oe}),i(Ud.Provider,{value:y??m,children:x(Ja,{"data-testid":"sdsm-block-boundary",widthStyle:I,className:h(v1,{[I1]:B},z),children:[K&&x("section",{"data-testid":"sdsm-block-title",className:h(k1,_r[S],wr[C]),children:[g&&i("div",{className:M1,...te(w),children:g}),f&&i("h2",{"data-testid":"sdsm-block-title",className:h(T1),...te(D),children:f}),b&&i("div",{"data-testid":"sdsm-block-subtitle",className:h(uo,A1),...te(M),children:b})]}),p&&i("section",{"data-testid":"sdsm-block-children","data-max-columns":u,className:h(Eu,{[Ru]:ne===1,[Fu]:ne===2,[Bu]:ne===3,[D1]:ne===4,[w1]:B&&ne===1}),children:p}),se>0&&i("section",{"data-testid":"sdsm-block-ctas",className:h(_r[S],wr[C],_1),children:l})]})}),F]})};oo.displayName="Block";var yS=` 2693 content: ''; 2694 position: absolute; 2695 left: calc(-1 * ${a("--side-navigation-left-padding")}); 2696 top: 0; 2697 height: 100%; 2698 width: ${a("--spacing-xxs")}; 2699 background: ${a("--side-navigation-indicator-hover-color")}; 2700 border-radius: 0 ${a("--action-indicator-border-radius")} ${a("--action-indicator-border-radius")} 0; 2701`,Do=300,N1=c` 2702 background-color: ${a("--side-navigation-desktop-bar-bg-color")}; 2703 z-index: ${Pe.SIDENAV}; 2704 2705 ${H} { 2706 border-inline-end-color: ${a("--side-navigation-desktop-border-color")}; 2707 border-inline-end-style: solid; 2708 border-inline-end-width: ${a("--side-navigation-desktop-border-width")}; 2709 flex: 0 0 ${Do}px; 2710 2711 & > * { 2712 position: sticky; 2713 top: ${64}px; 2714 } 2715 } 2716 2717 ${N} { 2718 position: sticky; 2719 top: ${64}px; 2720 width: 100%; 2721 box-shadow: ${a("--box-shadow-m")}; 2722 } 2723`,E1=c` 2724 ${N} { 2725 box-shadow: ${a("--box-shadow-xs")}; 2726 } 2727`,R1=c` 2728 font-size: ${a("--action-desktop-font-size")}; 2729 line-height: ${a("--action-desktop-font-line-height")}; 2730 padding-block-start: ${a("--spacing-m")}; 2731 padding-inline-start: ${a("--side-navigation-left-padding")}; 2732 padding-inline-end: ${a("--side-navigation-right-padding")}; 2733 2734 ${N} { 2735 width: auto; 2736 font-size: ${a("--action-mobile-font-size")}; 2737 line-height: ${a("--action-mobile-font-line-height")}; 2738 background-color: ${a("--side-navigation-mobile-bg-color")}; 2739 padding: ${a("--spacing-s")} ${a("--spacing-xl")}; 2740 } 2741 2742 & ul { 2743 list-style: none; 2744 padding: 0; 2745 margin: 0; 2746 } 2747 2748 & > ul > li { 2749 padding-block: ${a("--spacing-m")}; 2750 } 2751 2752 & > ul > li > ul > li { 2753 font-size: ${a("--action-desktop-font-size")}; 2754 line-height: ${a("--action-desktop-font-line-height")}; 2755 margin-top: ${a("--spacing-m")}; 2756 margin-inline-start: ${a("--spacing-m")}; 2757 position: relative; 2758 2759 ${N} { 2760 font-size: ${a("--action-mobile-font-size")}; 2761 line-height: ${a("--action-mobile-font-line-height")}; 2762 } 2763 } 2764`,F1=c` 2765 padding: 0; 2766 font-family: ${a("--font-family")}; 2767 display: flex; 2768 color: ${a("--side-navigation-desktop-item-color")}; 2769 text-decoration: none; 2770 font-weight: ${a("--action-desktop-font-weight")}; 2771 background-color: transparent; 2772 border: 0; 2773 font-size: ${a("--action-desktop-font-size")}; 2774 line-height: ${a("--action-desktop-font-line-height")}; 2775 text-align: left; 2776 cursor: pointer; 2777 width: 100%; 2778 justify-content: space-between; 2779 align-items: center; 2780 min-height: 22px; 2781 position: relative; 2782 2783 *[dir='rtl'] & { 2784 text-align: right; 2785 } 2786 2787 :hover { 2788 color: ${a("--side-navigation-desktop-item-hover-color")}; 2789 &::before { 2790 ${yS} 2791 } 2792 } 2793 2794 ${N} { 2795 font-size: ${a("--action-mobile-font-size")}; 2796 line-height: ${a("--action-mobile-font-line-height")}; 2797 justify-content: space-between; 2798 color: ${a("--side-navigation-mobile-item-color")}; 2799 } 2800`,B1=c` 2801 color: ${a("--side-navigation-desktop-item-hover-color")}; 2802 &::before { 2803 ${yS} 2804 } 2805`,$1=c` 2806 color: ${a("--side-navigation-desktop-item-active-color")}; 2807 2808 &::before { 2809 ${yS} 2810 background: ${a("--side-navigation-indicator-active-color")}; 2811 2812 ${N} { 2813 background: ${a("--side-navigation-indicator-active-color")}; 2814 } 2815 } 2816 2817 &:hover { 2818 color: ${a("--side-navigation-desktop-item-active-color")}; 2819 &::before { 2820 background: ${a("--side-navigation-indicator-active-color")}; 2821 } 2822 } 2823 2824 ${N} { 2825 color: ${a("--side-navigation-mobile-item-active-color")}; 2826 } 2827`,L1=c` 2828 a { 2829 color: ${a("--side-navigation-desktop-item-color")}; 2830 display: block; 2831 text-decoration: none; 2832 font-size: ${a("--action-desktop-font-size")}; 2833 line-height: 140%; 2834 2835 *[dir='rtl'] & { 2836 &:before { 2837 right: calc(-1 * ${a("--spacing-m")}); 2838 border-radius: ${a("--action-indicator-border-radius")} 0 0 2839 ${a("--action-indicator-border-radius")}; 2840 } 2841 } 2842 2843 &:hover { 2844 color: ${a("--side-navigation-desktop-item-hover-color")}; 2845 } 2846 2847 ${N} { 2848 color: ${a("--side-navigation-mobile-item-color")}; 2849 } 2850 } 2851`,H1=c` 2852 font-size: ${a("--action-desktop-font-size")}; 2853 2854 & svg:first-child { 2855 width: 22px; 2856 height: 22px; 2857 margin: -6px; 2858 } 2859 2860 & svg:nth-child(2) { 2861 display: none; 2862 } 2863 2864 & svg:nth-child(3) { 2865 display: none; 2866 } 2867 2868 *[dir='rtl'] & { 2869 & svg:nth-child(2) { 2870 display: none; 2871 } 2872 2873 & svg:nth-child(3) { 2874 display: none; 2875 } 2876 } 2877`,V1=c` 2878 position: relative; 2879 font-weight: ${a("--action-desktop-font-weight")}; 2880 2881 a, 2882 a:hover { 2883 color: ${a("--side-navigation-desktop-item-active-color")}; 2884 2885 ${N} { 2886 color: ${a("--side-navigation-mobile-item-active-color")}; 2887 } 2888 } 2889 2890 *[dir='rtl'] & { 2891 &:before { 2892 right: calc(-1 * ${a("--spacing-m")}); 2893 border-radius: ${a("--action-indicator-border-radius")} 0 0 2894 ${a("--action-indicator-border-radius")}; 2895 } 2896 } 2897`,O1=c` 2898 ${H} { 2899 display: none; 2900 } 2901 2902 ${N} { 2903 background-color: ${a("--side-navigation-mobile-bar-bg-color")}; 2904 color: ${a("--side-navigation-mobile-bar-fg-color")}; 2905 border: 0; 2906 padding: 0; 2907 font: inherit; 2908 outline: inherit; 2909 width: 100%; 2910 display: flex; 2911 align-items: center; 2912 justify-content: space-between; 2913 padding-inline: ${a("--spacing-xl")}; 2914 height: 48px; 2915 margin: auto; 2916 2917 & > span:first-child { 2918 font-family: ${a("--font-family")}; 2919 font-size: ${a("--action-mobile-font-size")}; 2920 line-height: ${a("--action-mobile-font-line-height")}; 2921 font-weight: ${a("--action-desktop-font-weight")}; 2922 text-overflow: ellipsis; 2923 overflow: hidden; 2924 white-space: nowrap; 2925 } 2926 } 2927`,$u=c` 2928 fill: ${a("--side-navigation-desktop-item-color")}; 2929 margin: -4px -12px; 2930 2931 ${N} { 2932 fill: ${a("--side-navigation-mobile-item-color")}; 2933 } 2934`,G1=c` 2935 width: 22px; 2936 height: 22px; 2937 margin: -6px; 2938 fill: ${a("--side-navigation-mobile-toggler-icon-color")}; 2939`;var z1=c` 2940 container-name: ${"sdsm-page"}; 2941 container-type: inline-size; 2942`,U1=c` 2943 position: relative; 2944 width: 100%; 2945`,W1=c` 2946 ::before { 2947 background-color: ${a("--gutter-color")}; 2948 content: ''; 2949 height: 100vh; 2950 inset: 0; 2951 position: fixed; 2952 width: 100vw; 2953 z-index: -1; 2954 } 2955`,Q1=c` 2956 background-color: ${a("--bg-color")}; 2957`,q1=c` 2958 background-color: transparent; 2959`;var lme=c` 2960 background-attachment: fixed; 2961`,mS=c` 2962 position: absolute; 2963 object-fit: cover; 2964 height: 100%; 2965 width: 100%; 2966 z-index: -1; 2967`,gS=c` 2968 object-fit: cover; 2969 width: 100vw; 2970 height: 100vh; 2971 position: fixed; 2972 top: 0; 2973 left: 0; 2974 z-index: -1; 2975`,pme=c` 2976 display: flex; 2977 justify-content: center; 2978 2979 background-color: ${oa}; 2980 2981 ${N} { 2982 flex-direction: column; 2983 } 2984`,cme=c` 2985 flex: 0 1 ${ct-Do}px; 2986 min-width: 0px; 2987 2988 ${N} { 2989 flex: none; 2990 } 2991`;var Es=T(P());var fS=c` 2992 overflow: hidden; 2993`,bS=c` 2994 align-items: center; 2995 color: ${a("--breadcrumbs-item-color")}; 2996 display: flex; 2997 font-size: ${a("--annotation-mobile-font-size")};
2998 font-weight: ${a("--annotation-mobile-font-weight")}; 2999 gap: ${a("--spacing-xxs")}; 3000 letter-spacing: ${a("--annotation-mobile-font-letter-spacing")}; 3001 line-height: ${a("--annotation-mobile-font-line-height")}; 3002 overflow: hidden; 3003 padding: ${a("--spacing-xs")} ${a("--spacing-xxs")}; 3004 3005 ${H} { 3006 font-size: ${a("--annotation-desktop-font-size")}; 3007 font-weight: ${a("--annotation-desktop-font-weight")}; 3008 letter-spacing: ${a("--annotation-desktop-font-letter-spacing")}; 3009 line-height: ${a("--annotation-desktop-font-line-height")}; 3010 } 3011`,K1=c` 3012 text-decoration: none; 3013 3014 @media (hover: hover) { 3015 :hover { 3016 color: ${a("--breadcrumbs-item-hover-color")}; 3017 text-decoration: ${a("--breadcrumbs-item-hover-font-text-decoration")}; 3018 } 3019 } 3020`,j1=c` 3021 display: block; 3022 overflow: hidden; 3023 text-overflow: ellipsis; 3024 white-space: nowrap; 3025`,Y1=c` 3026 color: ${a("--breadcrumbs-item-active-color")}; 3027`,X1=c` 3028 ${qt} 3029 background-color: ${a("--neutral-v625")}; 3030 border-radius: 4px; 3031 color: ${a("--neutral-v0")}; 3032 left: 50%; 3033 opacity: 0; 3034 padding: ${a("--spacing-xs")} 21px; 3035 position: absolute; 3036 top: 120%; 3037 transform: translateX(-50%); 3038 transition: opacity 200ms, visibility 200ms; 3039 white-space: nowrap; 3040 pointer-events: none; 3041 visibility: hidden; 3042 3043 ${`.${fS}[data-truncated="true"]`}:hover & { 3044 opacity: 1; 3045 pointer-events: auto; 3046 visibility: visible; 3047 } 3048 3049 &::before { 3050 border-bottom: 12px solid ${a("--neutral-v625")}; 3051 border-left: 12px solid transparent; 3052 border-right: 12px solid transparent; 3053 bottom: 100%; 3054 content: ''; 3055 height: 0; 3056 left: 50%; 3057 position: absolute; 3058 transform: translateX(-50%); 3059 width: 0; 3060 } 3061`,J1=c` 3062 fill: ${a("--breadcrumbs-item-color")}; 3063 margin-inline-start: calc(${a("--spacing-xxs")} * -1); 3064 3065 [dir='rtl'] & { 3066 transform: scaleX(-1); 3067 } 3068 3069 ${H} { 3070 display: none; 3071 } 3072`;var SS=({breadcrumbText:e,slug:t,isCurrent:o,showBackIcon:n,onClick:r,breadcrumbTextDataset:s,hideTooltips:l=!1})=>{let{Anchor:p}=(0,Es.useContext)(He),d=(0,Es.useRef)(null),[u,y]=(0,Es.useState)(!1),m=()=>{if(l||!d.current)return;let{offsetWidth:b,scrollWidth:S}=d.current;y(S>b)},g=i("span",{ref:d,className:j1,children:e}),f=t&&!o?x(p,{href:t,className:h(bS,K1),onClick:r,...te(s),children:[n&&i(Te,{name:"chevron-left",size:24,className:J1}),g]}):i("span",{"aria-current":o?"page":void 0,className:h(bS,{[Y1]:o}),...te(s),children:g});return x("span",{className:fS,"data-truncated":l?void 0:u,onMouseEnter:l?void 0:m,children:[f,!l&&i("span",{role:"tooltip",className:X1,children:e})]})};SS.displayName="BreadcrumbItem";var Z1=c` 3073 width: 100%; 3074`,ew=c` 3075 align-items: center; 3076 display: grid; 3077 grid-template-columns: repeat(auto-fit, minmax(0, auto)); 3078 justify-content: start; 3079 list-style: none; 3080 margin: 0; 3081 padding: 0; 3082`,tw=c` 3083 display: flex; 3084 position: relative; 3085`,ow=c` 3086 ${N} { 3087 display: none; 3088 } 3089`,nw=c` 3090 &:not(:last-of-type)::after { 3091 color: ${a("--breadcrumbs-item-color")}; 3092 content: '/'; 3093 font-size: ${a("--annotation-mobile-font-size")}; 3094 font-weight: ${a("--annotation-mobile-font-weight")}; 3095 letter-spacing: ${a("--annotation-mobile-font-letter-spacing")}; 3096 line-height: ${a("--annotation-mobile-font-line-height")}; 3097 margin: auto 0px; 3098 padding-inline: ${a("--spacing-xs")}; 3099 3100 ${H} { 3101 font-size: ${a("--annotation-desktop-font-size")}; 3102 font-weight: ${a("--annotation-desktop-font-weight")}; 3103 letter-spacing: ${a("--annotation-desktop-font-letter-spacing")}; 3104 line-height: ${a("--annotation-desktop-font-line-height")}; 3105 } 3106 } 3107`,aw=c` 3108 &:not(:last-of-type)::after { 3109 ${N} { 3110 display: none; 3111 } 3112 } 3113`,rw=c` 3114 color: ${a("--breadcrumbs-item-color")}; 3115 flex-shrink: 0; 3116 height: 16px; 3117 margin: auto ${a("--spacing-xxs")}; 3118 width: 16px; 3119 3120 [dir='rtl'] & { 3121 transform: scaleX(-1); 3122 } 3123`,iw=c` 3124 ${N} { 3125 display: none; 3126 } 3127`;var hS=({breadcrumbsItems:e,className:t,SeparatorIcon:o,shouldCollapseOnMobile:n=!1,hideTooltips:r=!1})=>{if(q("sdsm-breadcrumbs"),!e.length)return null;let s=e.length-1;return i("nav",{"aria-label":"breadcrumbs",className:h("sdsm-breadcrumbs",Z1,t),children:i("ol",{className:ew,children:e.map((l,p)=>{let d=p===s,u=n&&p===s-1,y=!!o&&p<s;return x("li",{className:h(tw,{[ow]:n&&!u,[nw]:!o,[aw]:n&&!o}),children:[i(SS,{...l,hideTooltips:r,isCurrent:d,showBackIcon:u}
3127),y&&o&&i(o,{"aria-hidden":!0,className:h(rw,{[iw]:n}),focusable:!1})]},l.id)})})})};hS.displayName="Breadcrumbs";var sw=c` 3128 height: ${a("--break-total-desktop-height")}; 3129 ${N} { 3130 height: ${a("--break-total-mobile-height")}; 3131 } 3132`,TK=c` 3133 height: ${a("--break-half-desktop-height")}; 3134 ${N} { 3135 height: ${a("--break-half-mobile-height")}; 3136 } 3137`,lw=c` 3138 pointer-events: none; 3139 position: relative; 3140 z-index: ${Pe.BREAK}; 3141 ${sw} 3142`,Br=c` 3143 width: 100%; 3144 height: calc(100% - 2 * ${a("--break-overlap-height")}); 3145 position: relative; 3146 top: ${a("--break-overlap-height")}; 3147`,pw=c` 3148 left: 50%; 3149 max-height: 100%; 3150 position: absolute; 3151 top: 50%; 3152 transform: translate(-50%, -50%); 3153`,cw=c` 3154 margin-top: calc(0px - ${a("--break-total-desktop-height")}); 3155 3156 ${N} { 3157 margin-top: calc(0px - ${a("--break-total-mobile-height")}); 3158 } 3159`,dw=c` 3160 margin-bottom: calc(0px - ${a("--break-total-desktop-height")}); 3161 3162 ${N} { 3163 margin-bottom: calc(0px - ${a("--break-total-mobile-height")}); 3164 } 3165`,uw=c` 3166 margin-top: calc(0px - ${a("--break-half-desktop-height")}); 3167 3168 ${N} { 3169 margin-top: calc(0px - ${a("--break-half-mobile-height")}); 3170 } 3171`,yw=c` 3172 margin-bottom: calc(0px - ${a("--break-half-desktop-height")}); 3173 3174 ${N} { 3175 margin-bottom: calc(0px - ${a("--break-half-mobile-height")}); 3176 } 3177`,mw=c` 3178 pointer-events: none; 3179 width: 100%; 3180`,gw=sw,fw=TK,bw=c` 3181 background-color: ${a("--bg-color")}; 3182`;var Sw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:r=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-head-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M1440 0H0L-0.00390625 65C228.186 32.4746 470.064 21 720.555 21C971.045 21 1212.14 32.5811 1439.99 65L1440 0Z",fill:t}),i("path",{d:"M1439.99 43.9999L1440 75C896.804 75.3096 544.733 75 -0.00292327 75L-0.00463491 44C228.185 11.4751 470.065 8.66536e-05 720.555 6.42749e-05C971.044 4.18962e-05 1212.14 11.5812 1439.99 43.9999Z",fill:o,transform:"translate(0 21)"}),i("path",{d:"M1440 0H0L-0.00390625 65C228.186 32.4746 470.064 21 720.555 21C971.045 21 1212.14 32.5811 1439.99 65L1440 0Z",fill:n,opacity:r,filter:"url(#break-head-shadow)"})]})};var hw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:r=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-headflipped-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M1440 0.000128746L4.27734e-06 9.68134e-08C228.19 32.5249 470.07 49.9999 720.56 49.9999C971.05 50 1212.15 32.4188 1440 0.000128746Z",fill:t}),i("path",{d:"M1440 96V0C1212.15 32.4189 971.051 50 720.561 50C470.07 50 228.189 32.5254 0 0V96H1440Z",fill:o}),i("path",{d:"M1440 0.000128746L4.27734e-06 9.68134e-08C228.19 32.5249 470.07 49.9999 720.56 49.9999C971.05 50 1212.15 32.4188 1440 0.000128746Z",fill:n,opacity:r,filter:"url(#break-headflipped-shadow)"})]})};var AK=c` 3183 align-items: center; 3184 background-color: ${a("--bg-color")}; 3185 display: flex; 3186 height: 100%; 3187 padding: ${a("--spacing-l")} ${a("--spacing-xl")}; 3188 width: 100%; 3189 3190 ${H} { 3191 padding: ${a("--spacing-l")} ${a("--spacing-xl")}; 3192 } 3193 ${tp} { 3194 padding: ${a("--spacing-l")} ${a("--spacing-xxxl")}; 3195 } 3196`,_K=c` 3197 background-color: ${a("--fg-color")}; 3198 height: 1px; 3199 width: 100%; 3200`,Cw=()=>i("div",{className:AK,children:i("div",{className:_K})});var xw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:r=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-skirt-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M314.31 27.8046C510.98 21.076 546.9 47.315 818.11 47.9843C935 48.4325 1223.03 39.463 1440 0H0V41.5C27.99 42.3963 117.64 34.5331 314.31 27.8106V27.8046Z",fill:t}),i("path",{d:"M0 96H1440V0C1223.03 39.463 935 48.4325 818.11 47.9843C683.948 47.6532 607.363 41.065 540.415 35.3058C472.026 29.4227 413.692 24.4045 314.31 27.8046V27.8106C204.403 31.5674 127.919 35.6805 76.9403 38.4219C36.6967 40.5861 12.3481 41.8954 0 41.5V96Z",fill:o}),i("path",{d:"M314.31 27.8046C510.98 21.076 546.9 47.315 818.11 47.9843C935 48.4325 1223.03 39.463 1440 0H0V41.5C27.99 42.3963 117.64 34.5331 314.31 27.8106V27.8046Z",fill:n,opacity:r,filter:"url
3200(#break-skirt-shadow)"})]})};var vw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:r=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-skirt2-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M1440 0.0991211H0V50.1971C36.6091 43.6777 77.6641 37.7261 124.249 32.6745C310.648 12.4616 361 13.9746 528.797 31.5909C542.059 32.9831 555.219 35.2322 569.339 37.6453C599.237 42.755 633.435 48.5996 682 48.5996C731.565 48.3254 771.328 42.4257 813.924 36.1058C836.643 32.7351 860.166 29.2449 886.413 26.4248C944.864 20.7107 990.885 16.5365 1031.36 20.9347C1046.21 22.7434 1059.43 25.6192 1070.25 29.3933C1070.84 29.5968 1071.39 29.7913 1071.93 29.9783C1081.36 33.2595 1084.09 34.2084 1094.38 40.0996C1099.5 43.0274 1105.69 45.2946 1115.5 48.5996C1125.27 50.4244 1136.28 50.7567 1148.07 50.5944C1157.61 50.5266 1168.07 50.3572 1179.24 50.1765C1180.84 50.1505 1182.46 50.1243 1184.09 50.0982C1231.43 49.2382 1342.55 51.9494 1381.68 55.0925C1420.82 58.2357 1440 63.0996 1440 63.0996V0.0991211Z",fill:t}),i("path",{d:"M1440 79.2424V46.0986C1440 46.0986 1420.82 41.2347 1381.68 38.0915C1342.55 34.9484 1231.43 32.2372 1184.09 33.0972C1182.46 33.1233 1180.84 33.1495 1179.24 33.1755C1168.07 33.3562 1157.61 33.5256 1148.07 33.5935C1136.28 33.7557 1125.27 33.4234 1115.5 31.5986C1105.69 28.2936 1099.5 26.0264 1094.38 23.0986C1084.09 17.2074 1081.36 16.2586 1071.93 12.9773C1071.39 12.7904 1070.84 12.5958 1070.25 12.3924C1059.43 8.61827 1046.21 5.74244 1031.36 3.93377C990.885 -0.464426 944.864 3.70971 886.413 9.42386C860.166 12.244 836.643 15.7342 813.924 19.1048C771.328 25.4247 731.565 31.3244 682 31.5986C633.435 31.5986 599.237 25.754 569.339 20.6443C555.219 18.2313 542.059 15.9821 528.797 14.5899C361 -3.0264 310.648 -4.53937 124.249 15.6736C77.6641 20.7252 36.6091 26.6767 0 33.1961L4.37898e-05 79.2424H1440Z",fill:o,transform:"translate(0 17)"}),i("path",{d:"M1440 0.0991211H0V50.1971C36.6091 43.6777 77.6641 37.7261 124.249 32.6745C310.648 12.4616 361 13.9746 528.797 31.5909C542.059 32.9831 555.219 35.2322 569.339 37.6453C599.237 42.755 633.435 48.5996 682 48.5996C731.565 48.3254 771.328 42.4257 813.924 36.1058C836.643 32.7351 860.166 29.2449 886.413 26.4248C944.864 20.7107 990.885 16.5365 1031.36 20.9347C1046.21 22.7434 1059.43 25.6192 1070.25 29.3933C1070.84 29.5968 1071.39 29.7913 1071.93 29.9783C1081.36 33.2595 1084.09 34.2084 1094.38 40.0996C1099.5 43.0274 1105.69 45.2946 1115.5 48.5996C1125.27 50.4244 1136.28 50.7567 1148.07 50.5944C1157.61 50.5266 1168.07 50.3572 1179.24 50.1765C1180.84 50.1505 1182.46 50.1243 1184.09 50.0982C1231.43 49.2382 1342.55 51.9494 1381.68 55.0925C1420.82 58.2357 1440 63.0996 1440 63.0996V0.0991211Z",fill:n,opacity:r,filter:"url(#break-skirt2-shadow)"})]})};var Iw=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:r=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-skirt3-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("path",{d:"M0 0C34.849 14.3283 113.946 7.9634 169.366 14.5723C193.656 18.3155 229.541 28.3275 253.444 30.9529C320.056 36.6478 380.164 24.0008 446.021 28.8655C538.848 36.8216 612.91 60.1738 720.005 58.9539C827.081 60.1738 901.18 36.8253 993.979 28.8619C1059.84 23.9972 1119.94 36.6442 1186.56 30.9529C1210.32 28.3166 1246.29 18.3191 1270.63 14.5686C1326.17 7.96341 1405.17 14.3283 1440 0.00364149V0H0Z",fill:t}),i("path",{d:"M1440 96V0C1418.53 8.83496 1380.26 9.80273 1341.06 10.7939C1316.67 11.4102 1291.93 12.0361 1270.63 14.5684C1259.9 16.2227 1246.9 19.0908 1233.69 22.0078C1216.94 25.7051 1199.84 29.4795 1186.56 30.9531C1152.46 33.8662 1120.06 31.9736 1087.73 30.0859C1056.9 28.2852 1026.12 26.4873 993.979 28.8623C958.615 31.8965 925.967 37.165 893.176 42.457C839.916 51.0527 786.275 59.709 720.004 58.9541C653.738 59.709 600.121 51.0557 546.877 42.4639C514.072 37.1699 481.41 31.8984 446.02
32001 28.8652C413.881 26.4912 383.107 28.2881 352.281 30.0879C319.943 31.9766 287.547 33.8682 253.443 30.9531C240.031 29.4795 222.848 25.6807 206.057 21.9688C192.922 19.0654 180.027 16.2148 169.367 14.5723C148.109 12.0371 123.369 11.4111 98.9785 10.7939C59.7793 9.80176 21.4824 8.83203 0 0V96H1440Z",fill:o}),i("path",{d:"M0 0C34.849 14.3283 113.946 7.9634 169.366 14.5723C193.656 18.3155 229.541 28.3275 253.444 30.9529C320.056 36.6478 380.164 24.0008 446.021 28.8655C538.848 36.8216 612.91 60.1738 720.005 58.9539C827.081 60.1738 901.18 36.8253 993.979 28.8619C1059.84 23.9972 1119.94 36.6442 1186.56 30.9529C1210.32 28.3166 1246.29 18.3191 1270.63 14.5686C1326.17 7.96341 1405.17 14.3283 1440 0.00364149V0H0Z",fill:n,opacity:r,filter:"url(#break-skirt3-shadow)"})]})};var CS=e=>{let{topColor:t,bottomColor:o,shadowColor:n,shadowOpacity:r=.2,...s}=e;return x("svg",{width:"1440",height:"96",viewBox:"0 0 1440 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none",role:"presentation",...s,children:[i("defs",{children:x("filter",{id:"break-straight-shadow",x:"0",y:"0",width:"100%",height:"96",children:[i("feGaussianBlur",{stdDeviation:"15"}),i("feComposite",{operator:"out",in2:"SourceGraphic"})]})}),i("rect",{x:"0",y:"0",width:"100%",height:"48",fill:t}),i("rect",{x:"0",y:"0",width:"100%",height:"48",fill:o,transform:"translate(0 48)"}),i("rect",{x:"0",y:"0",width:"100%",height:"48",fill:n,opacity:r,filter:"url(#break-straight-shadow)"})]})};var Mp=({template:e,isTopTransparent:t,isBottomTransparent:o,isOverlaid:n})=>{if(!e)return"none";if(e===Xe.Line)return"topAndBottomHalfs";if(t&&o)return"none";let r=t&&!o,s=!t&&o;return n?e===Xe.Straight?"topAndBottomHalfs":r?"top":s?"bottom":"topAndBottomHalfs":r?e===Xe.Straight?"topHalf":"top":s?e===Xe.Straight?"bottomHalf":"bottom":"none"};var Lu=({template:e,imgSrcs:t,topColor:o,bottomColor:n,isOverlaid:r})=>{if(q("sdsm-break"),e==="None")return null;let s=!!t,l=!o,p=!n;if(l&&p)return null;let d=Bn(o),u=Bn(n),y=l?"transparent":op(d,"--bg-color")??"transparent",m=p?"transparent":op(u,"--bg-color")??"transparent",g=u==="sdsm-secondary"?a("--break-shadow-light-color"):a("--break-shadow-dark-color"),f=.2;d==="sdsm-secondary"&&u==="sdsm-secondary"&&(f=.4),d!=="sdsm-secondary"&&u==="sdsm-secondary"&&(f=.56);let b;if(s)b=i(CS,{className:Br,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});else switch(e){case Xe.Head:b=i(Sw,{className:Br,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.HeadFlipped:b=i(hw,{className:Br,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Line:b=i(Cw,{});break;case Xe.Skirt:b=i(xw,{className:Br,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Skirt2:b=i(vw,{className:Br,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Skirt3:b=i(Iw,{className:Br,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;case Xe.Straight:b=i(CS,{className:Br,topColor:y,bottomColor:m,shadowColor:g,shadowOpacity:f});break;default:break}if(!b)return null;let S=Mp({template:s?Xe.Straight:e,isTopTransparent:l,isBottomTransparent:p,isOverlaid:r});return x("div",{className:h("sdsm-break",d??"sdsm-default",lw,{[cw]:S==="top",[dw]:S==="bottom",[uw]:S==="topAndBottomHalfs"||S==="topHalf",[yw]:S==="topAndBottomHalfs"||S==="bottomHalf",[bw]:!l&&!p}),"data-testid":`break-${e?.toLowerCase()}`,children:[b,!!t&&i(Ke,{className:pw,imgSrcs:t,altText:""})]})};Lu.displayName="Break";var Tp=({type:e,location:t})=>{if(q("sdsm-break"),!e||e==="none")return null;let o=t==="top"&&e==="bottom"||t==="bottom"&&e==="top",n=e==="topAndBottomHalfs"||t==="top"&&e==="bottomHalf"||t==="bottom"&&e==="topHalf";return!o&&!n?null:i("div",{className:h(mw,{[gw]:o,[fw]:n}),"data-testid":"break-spacer"})};Tp.displayName="BreakSpacer";var Oo=T(P());var wK=Ga({min:Mo+1,max:vd}),xS="editorial-gallery-card-media",$r="editorial-gallery-card",Hu=c` 3201 align-items: center; 3202 background-color: ${a("--bg-color")}; 3203 display: flex; 3204 flex-direction: column; 3205 gap: 8px; 3206 position: relative; 3207 width: 100%; 3208 3209 &:hover { 3210 & .${xS} { 3211 opacity: 1; 3212 transform: scale(1); 3213 z-index: 2; 3214 3215 ${qe} { 3216 box-shadow: ${a("--editorial-gallery-card-media-hover-box-shadow")}; 3217 } 3218 } 3219 } 3220 3221 &::before { 3222 transition: background-color 0.25s ease-out; 3223 background-color: transparent; 3224 content: ''; 3225 inset: 0 calc(${a("--spacing-xxxl")} * -1); 3226 position: absolute; 3227 3228 ${qe} { 3229 width: calc(100% + 2 * ${a("--spacing-xxxl")}); 3230 } 3231 } 3232`,Vu=c` 3233 align-items: flex-start; 3234 align-self: stretch; 3235 color: ${a("--fg-color")}; 3236 display: flex; 3237 justify-content: space-between; 3238 overflow: hidden; 3239 padding-block: ${a("--spacing-l")}; 3240 /* Containing block for the stretched link ::after pseudo-element 3241 in stretchedLinkCss, allowing it to cover the full card area. */ 3242 position: relative; 3243 3244 ${H} { 3245 overflow: visible; 3246 padding-block: ${a("--spacing-xxl")}; 3247 } 3248`,Ou=c` 3249 align-items: flex-start; 3250 display: flex; 3251 flex-direction: column; 3252 gap: ${a("--spacing-l")}; 3253 width: 100%; 3254 3255 ${H} { 3256 flex-direction: row; 3257 gap: 72px; 3258 } 3259`,Mw=c` 3260 align-items: flex-start; 3261 display: flex; 3262 flex-direction: row; 3263 flex-shrink: 0; 3264 justify-content: space-between; 3265 max-width: 100%; 3266 text-transform: uppercase; 3267 width: 100%; 3268 3269 ${H} { 3270 flex-direction: column; 3271 max-width: 100px; 3272 } 3273 3274 & > p { 3275 margin: 0; 3276 } 3277`,Gu=c` 3278 display: flex; 3279 flex-direction: row-reverse; 3280 gap: ${a("--spacing-m")}; 3281 width: 100%; 3282 3283 ${H} { 3284 flex-direction: row; 3285 gap: 72px; 3286 } 3287`,vS=c` 3288 font-size: ${a("--annotation-mobile-font-size")};
3289 font-weight: ${a("--annotation-mobile-font-weight")}; 3290 letter-spacing: ${a("--annotation-mobile-font-letter-spacing")}; 3291 line-height: ${a("--annotation-mobile-font-line-height")}; 3292 margin: 0; 3293 margin-inline-start: auto; 3294 overflow-wrap: break-word; 3295 3296 ${H} { 3297 font-size: ${a("--annotation-desktop-font-size")}; 3298 font-weight: ${a("--annotation-desktop-font-weight")}; 3299 letter-spacing: ${a("--annotation-desktop-font-letter-spacing")}; 3300 line-height: ${a("--annotation-desktop-font-line-height")}; 3301 margin-inline-start: 0; 3302 } 3303`,zu=c` 3304 align-items: flex-start; 3305 display: flex; 3306 flex-direction: column; 3307 flex-shrink: 0; 3308 justify-content: center; 3309 position: relative; 3310 width: 96px; 3311 3312 ${qe} { 3313 width: 169px; 3314 } 3315`,Tw=c` 3316 ${wK} { 3317 width: 126px; 3318 } 3319`,Aw=c` 3320 aspect-ratio: 9/16; 3321 background-color: ${a("--bg-color")}; 3322 border-radius: ${a("--editorial-gallery-card-media-border-radius")}; 3323 opacity: 1; 3324 overflow: hidden; 3325 pointer-events: none; 3326 position: relative; 3327 top: 0; 3328 user-select: none; 3329 3330 ${H} { 3331 inset: 0; 3332 position: absolute; 3333 z-index: 1; 3334 } 3335 3336 ${qe} { 3337 transition: transform 0.25s ease-out; 3338 transform: scale(0.7); 3339 } 3340`,Uu=c` 3341 display: flex; 3342 flex-direction: column; 3343 gap: ${a("--spacing-l")}; 3344 width: 100%; 3345 3346 ${H} { 3347 gap: ${a("--spacing-m")}; 3348 } 3349 3350 ${qe} { 3351 flex-direction: row; 3352 justify-content: space-between; 3353 } 3354`,_w=c` 3355 align-items: flex-start; 3356 display: flex; 3357 flex-direction: column; 3358 gap: 16px; 3359 3360 ${H} { 3361 height: 115px; 3362 width: 100%; 3363 } 3364 3365 ${qe} { 3366 height: 151px; 3367 max-height: 151px; 3368 max-width: 480px; 3369 } 3370`,ww=c` 3371 -webkit-box-orient: vertical; 3372 -webkit-line-clamp: 4; 3373 display: -webkit-box; 3374 font-family: ${a("--font-family")}; 3375 letter-spacing: normal; 3376 margin: 0px; 3377 overflow: hidden; 3378 text-overflow: ellipsis; 3379 width: 100%; 3380 3381 && { 3382 font-size: ${a("--editorial-gallery-card-title-mobile-font-size")}; 3383 font-stretch: ${a("--editorial-gallery-card-title-mobile-font-stretch")}; 3384 font-weight: ${a("--editorial-gallery-card-title-mobile-font-weight")}; 3385 line-height: ${a("--editorial-gallery-card-title-mobile-font-line-height")}; 3386 3387 ${H} { 3388 font-size: ${a("--editorial-gallery-card-title-desktop-font-size")}; 3389 font-stretch: ${a("--editorial-gallery-card-title-desktop-font-stretch")}; 3390 font-weight: ${a("--editorial-gallery-card-title-desktop-font-weight")}; 3391 line-height: ${a("--editorial-gallery-card-title-desktop-font-line-height")}; 3392 } 3393 } 3394 3395 ${H} { 3396 -webkit-line-clamp: 2; 3397 } 3398`,Dw=c` 3399 ${Tt} 3400 -webkit-box-orient: vertical; 3401 -webkit-line-clamp: 2; 3402 display: none; 3403 margin: 0px; 3404 overflow: hidden; 3405 text-overflow: ellipsis; 3406 width: 100%; 3407 3408 ${H} { 3409 display: -webkit-box; 3410 } 3411`,Pw=c` 3412 display: flex; 3413 flex-grow: 0; 3414 height: fit-content; 3415 max-width: fit-content; 3416 3417 & svg { 3418 flex-shrink: 0; 3419 height: 24px; 3420 width: 24px; 3421 } 3422`,Nw=c` 3423 ${qe} { 3424 &:hover { 3425 &::before { 3426 background-color: ${a("--neutral-v200")}; 3427 } 3428 & .${$r} { 3429 color: ${a("--neutral-v700")}; 3430 } 3431 } 3432 } 3433`,Ew=c` 3434 ${qe} { 3435 &:hover { 3436 &::before { 3437 background: ${a("--palette-yellow-v100")}; 3438 } 3439 & .${$r} { 3440 color: ${a("--neutral-v700")}; 3441 } 3442 } 3443 } 3444`,Rw=c` 3445 ${qe} { 3446 &:hover { 3447 &::before { 3448 background: linear-gradient( 3449 90deg, 3450 rgba(255, 252, 0, 1) 25%, 3451 rgba(217, 173, 224, 1) 75%, 3452 rgba(142, 102, 209, 1) 100% 3453 ); 3454 } 3455 & .${$r} { 3456 color: ${a("--neutral-v700")}; 3457 } 3458 } 3459 } 3460`,Fw=c` 3461 ${qe} { 3462 &:hover { 3463 &::before { 3464 background: ${a("--neutral-v700")}; 3465 } 3466 & .${$r} { 3467 color: ${a("--neutral-v0")}; 3468 } 3469 } 3470 } 3471`,Bw=c` 3472 ${qe} { 3473 &:hover { 3474 &::before { 3475 background: ${a("--editorial-gallery-card-hover-background-color")}; 3476 } 3477 } 3478 } 3479`,$w=c` 3480 &::after { 3481 content: ''; 3482 position: absolute; 3483 inset: 0; 3484 z-index: 1; 3485 } 3486 3487 &:hover:not([disabled]) { 3488 transform: none; 3489 } 3490 3491 &:active:not([disabled]) { 3492 transform: none; 3493 } 3494`,Lw=c` 3495 background-color: ${a("--neutral-v200")}; 3496`,DK=Xo` 3497 0% { 3498 transform: translateX(-100%); 3499 } 3500 30% { 3501 transform: translateX(-100%); 3502 } 3503 100% { 3504 transform: translateX(100%); 3505 } 3506`,Hw=c` 3507 border-radius: ${a("--border-radius-m")}; 3508 overflow: hidden; 3509 position: relative; 3510 3511 &::before { 3512 animation: ${DK} 2s infinite; 3513 background: linear-gradient(0.25turn, transparent, ${a("--bg-color")}, transparent); 3514 content: ''; 3515 height: 100%; 3516 left: 0; 3517 opacity: 0.8; 3518 pointer-events: none; 3519 position: absolute; 3520 top: 0; 3521 transform: translateX(-100%); 3522 width: 100%; 3523 } 3524 3525 @media (prefers-reduced-motion: reduce) { 3526 &::before { 3527 animation: none; 3528 } 3529 } 3530`,Vw=c` 3531 display: none; 3532 flex-direction: column; 3533 justify-content: center; 3534 gap: 10px; 3535 width: 100%; 3536 padding-block-end: 4px; 3537 3538 ${H} { 3539 display: flex; 3540 height: 52px; 3541 } 3542`,Ow=c` 3543 display: flex; 3544 flex-direction: column; 3545 justify-content: center; 3546 gap: 6px; 3547 height: 96px; 3548 width: 100%; 3549 padding-block: 2px; 3550 3551 ${H} { 3552 height: 52px; 3553 } 3554`,Gw=c` 3555 display: flex; 3556 flex-direction: column; 3557 gap: 16px; 3558 width: 100%; 3559 3560 ${qe} { 3561 height: 151px; 3562 max-height: 151px; 3563 max-width: 480px; 3564 } 3565`,zw=c` 3566 aspect-ratio: 9 / 16; 3567 border-radius: ${a("--border-radius-l")}; 3568 flex-shrink: 0; 3569 position: absolute; 3570 width: 96px; 3571 3572 ${H} { 3573 width: 126px; 3574 } 3575 3576 ${qe} { 3577 opacity: 0; 3578 width: 169px; 3579 } 3580`,Uw=c` 3581 align-items: flex-start; 3582 display: flex; 3583 flex-direction: row; 3584 flex-shrink: 0; 3585 gap: 8px; 3586 justify-content: space-between; 3587 max-width: 100%; 3588 padding-block: 4px; 3589 text-transform: uppercase; 3590 width: 100%; 3591 3592 ${H} { 3593 flex-direction: column; 3594 max-width: 100px; 3595 } 3596`,Ww=c` 3597 height: 12px; 3598 width: 60px; 3599`,Qw=c` 3600 height: 12px; 3601 width: 75px; 3602`,IS=c` 3603 height: var(--skeleton-bar-height); 3604 width: var(--skeleton-bar-width); 3605`,qw=c` 3606 border-radius: 64px; 3607 height: 45px; 3608 width: 170px; 3609 3610 ${H} { 3611 height: 50px; 3612 } 3613`,Kw=c` 3614 background-color: ${a("--fg-color")}; 3615 border-block: ${a("--border-width-xs")} solid ${a("--fg-color")}; 3616 display: flex; 3617 flex-direction: column; 3618 gap: 1px; 3619 margin-top: ${a("--spacing-xxxl")}; 3620`;var kS={lens:"Lens Studio",snap:"Snap Inc.",snapchat:"Snapchat",spectacles:"Specs"},PK={lens:Rw,snap:Nw,snapchat:Ew,spectacles:Fw}
3620,MS=({date:e,dateTime:t,title:o,description:n,imgSrcs:r,videoSource:s,imgAltText:l,brand:p,isRtl:d=!1,link:u,ctaLabel:y="Read More",onClick:m,buttonSize:g=xr.Regular,dataset:f,brandDataset:b,titleDataset:S,descriptionDataset:C,dateDataset:I,mediaDataset:k,className:v,...A})=>{q("sdsm-editorial-gallery-card");let w=r||s;return i("div",{className:h(Hu,p?PK[p]:Bw,v),"data-testid":"editorial-gallery-card-container",...te(f),...A,children:i("div",{className:h($r,Vu),children:x("div",{className:Ou,children:[x("div",{className:Mw,children:[p?i("p",{className:vS,...te(b),children:kS[p]}):null,e?i("time",{dateTime:Wd(t),className:vS,...te(I),children:e}):null]}),x("div",{className:Gu,children:[w?i("div",{className:h(zu,{[Tw]:!!u}),children:i(Ke,{imgSrcs:r,altText:l,videoSource:s,isBackgroundVideo:!0,className:h(xS,Aw),dataset:k})}):null,x("div",{className:Uu,children:[o||n?x("div",{className:_w,children:[o?i("h5",{className:ww,...te(S),children:o}):null,n?i("p",{className:Dw,...te(C),children:n}):null]}):null,u?i(eo,{type:Vo.Secondary,iconName:d?"arrow-left":"arrow-right",className:h(Pw,$w),link:u,onClick:m,size:g,children:y}):null]})]})]})})})};MS.displayName="EditorialGalleryCard";var NK=[{height:20,width:85},{height:20,width:60}],EK=[{height:12,width:90},{height:12,width:70}],TS=({className:e})=>{let t=h(Lw,Hw);return i("div",{className:h(Hu,e),"data-testid":"skeleton-editorial-gallery-card-container","aria-hidden":"true",children:i("div",{className:h($r,Vu),children:x("div",{className:Ou,children:[x("div",{className:Uw,children:[i("div",{className:h(t,Ww)}),i("div",{className:h(t,Qw)})]}),x("div",{className:Gu,children:[i("div",{className:zu,children:i("div",{className:h(t,zw)})}),x("div",{className:Uu,children:[x("div",{className:Gw,children:[i("div",{className:Ow,children:NK.map(({height:o,width:n},r)=>i("div",{className:h(t,IS),style:{"--skeleton-bar-height":`${o}px`,"--skeleton-bar-width":`${n}%`}},`skeleton-title-${r}`))}),i("div",{className:Vw,children:EK.map(({height:o,width:n},r)=>i("div",{className:h(t,IS),style:{"--skeleton-bar-height":`${o}px`,"--skeleton-bar-width":`${n}%`}},`skeleton-desc-${r}`))})]}),i("div",{className:h(t,qw)})]})]})]})})})};TS.displayName="SkeletonEditorialGalleryCard";var AS="24px",hi=e=>c` 3621 -webkit-line-clamp: ${e}; 3622 -webkit-box-orient: vertical; 3623 display: -webkit-box; 3624 overflow: hidden; 3625 text-overflow: ellipsis; 3626`,_S=c` 3627 border: ${a("--carousel-card-border-width")} solid ${a("--carousel-card-border-color")}; 3628 cursor: grab; 3629 display: flex; 3630 flex-direction: column; 3631 height: 100%; 3632 overflow: hidden; 3633 position: relative; 3634 transition: background-color 0.2s linear, border-color 0.2s linear, box-shadow 0.2s linear; 3635 user-select: none; 3636 3637 &:hover svg { 3638 fill: ${a("--action-text-hover-color")}; 3639 } 3640 3641 :hover { 3642 border-color: ${a("--carousel-card-hover-border-color")}; 3643 } 3644 3645 :hover .sdsm-carousel-card-text { 3646 background-color: ${a("--carousel-card-hover-bg-color")}; 3647 border-color: ${a("--carousel-card-hover-border-color")}; 3648 } 3649`,jw=c` 3650 color: ${a("--carousel-card-fg-color")}; 3651 cursor: pointer; 3652 display: flex; 3653 flex-direction: column; 3654 height: 100%; 3655 text-decoration: none; 3656`,Yw=c` 3657 aspect-ratio: 9 / 16; 3658 flex-shrink: 0; 3659 margin: calc(${a("--carousel-card-border-width")} * -1); 3660 overflow: hidden; 3661 /** 3662 * To help video controls extend full width 3663 * https://github.sc-corp.net/Snapchat/marketing-web/pull/2555#discussion_r5071157 3664 */ 3665 position: relative; 3666 3667 > picture { 3668 pointer-events: none; 3669 } 3670 3671 /** To allow object-fit cover for the video element */ 3672 > div { 3673 height: 100%; 3674 } 3675 3676 & img { 3677 aspect-ratio: 16 / 9; 3678 } 3679`,Xw=c` 3680 aspect-ratio: 16 / 9; 3681 3682 & img { 3683 aspect-ratio: 16 / 9; 3684 } 3685`,Jw=c` 3686 aspect-ratio: 3 / 2; 3687 3688 & img { 3689 aspect-ratio: 16 / 9; 3690 } 3691`,Zw=c` 3692 aspect-ratio: 1 / 1; 3693 3694 & img { 3695 aspect-ratio: 16 / 9; 3696 } 3697`,eD=c` 3698 background-color: rgb(232, 232, 235); 3699 overflow: hidden; 3700 position: relative; 3701 3702 &::before { 3703 animation: card-skeleton 2s infinite; 3704 background: linear-gradient(0.5turn, rgb(232, 232, 235), #fff, rgb(232, 232, 235)); 3705 content: ''; 3706 height: 100%; 3707 inset: 0; 3708 opacity: 0.8; 3709 pointer-events: none; 3710 position: absolute; 3711 transform: translateX(-100%); 3712 } 3713 3714 @keyframes card-skeleton { 3715 0% { 3716 transform: translateY(-100%); 3717 } 3718 100% { 3719 transform: translateY(100%); 3720 } 3721 } 3722`,tD=c` 3723 align-items: center; 3724 display: flex; 3725 inset: 0; 3726 justify-content: center; 3727 position: absolute; 3728 transition: opacity 0.2s linear; 3729 3730 :hover { 3731 opacity: 0; 3732 } 3733 3734 ::before { 3735 background-color: ${a("--neutral-v700")}; 3736 content: ''; 3737 inset: 0; 3738 opacity: 0.4; 3739 position: absolute; 3740 } 3741`,oD=c` 3742 max-height: 80%; 3743 max-width: 80%;
3744 z-index: 1; 3745`,nD=c` 3746 max-width: 100%; 3747 pointer-events: none; 3748`,aD=c` 3749 height: 32px; 3750 margin-bottom: ${a("--spacing-xs")}; 3751 padding-block: ${a("--spacing-xxs")}; 3752`,rD=c` 3753 max-height: 100%; 3754 pointer-events: none; 3755`,iD=c` 3756 width: ${a("--carousel-card-portrait-desktop-width")}; 3757 3758 ${N} { 3759 /* Fallback for browsers without container query support: keep the current fixed width. */ 3760 width: ${a("--carousel-card-portrait-mobile-width")}; 3761 /* Overrides the line above only where cqw is supported. */ 3762 width: 85cqw; 3763 max-width: ${a("--carousel-card-portrait-mobile-width")}; 3764 } 3765`,sD=c` 3766 width: ${a("--carousel-card-landscape-square-desktop-width")}; 3767 3768 ${N} { 3769 /* Fallback for browsers without container query support: keep the current fixed width. */ 3770 width: ${a("--carousel-card-landscape-square-mobile-width")}; 3771 /* Overrides the line above only where cqw is supported. */ 3772 width: 85cqw; 3773 max-width: ${a("--carousel-card-landscape-square-mobile-width")}; 3774 } 3775`,lD=c` 3776 ${H} { 3777 width: 100%; 3778 } 3779`,pD=c` 3780 max-width: ${a("--carousel-card-single-view-portrait-max-width")}; 3781 width: 100%; 3782`,cD=c` 3783 max-width: ${a("--carousel-card-single-view-landscape-max-width")}; 3784 width: 100%; 3785`,dD=c` 3786 display: flex; 3787 flex: 1; 3788 flex-direction: column; 3789 position: relative; 3790 word-break: break-word; 3791`,uD=c` 3792 align-content: flex-start; 3793 background-color: ${a("--carousel-card-bg-color")}; 3794 border: ${a("--carousel-card-border-width")} solid ${a("--carousel-card-border-color")}; 3795 color: ${a("--carousel-card-fg-color")}; 3796 display: grid; 3797 flex: 1; 3798 gap: 0 ${a("--spacing-m")}; 3799 grid-template-columns: 1fr ${AS}; 3800 margin: calc(${a("--carousel-card-border-width")} * -1); 3801 padding: ${a("--carousel-card-desktop-text-padding")}; 3802 3803 ${N} { 3804 padding: ${a("--carousel-card-mobile-text-padding")}; 3805 } 3806`,yD=c` 3807 fill: ${a("--action-text-default-color")}; 3808 grid-column: 2; 3809 height: ${AS}; 3810 width: ${AS}; 3811 3812 [dir='rtl'] & { 3813 transform: rotate(180deg); 3814 } 3815`,Ap=c` 3816 grid-column: span 2; 3817 margin: 0; 3818 text-align: ${a("--carousel-card-desktop-text-align")}; 3819 3820 ${N} { 3821 text-align: ${a("--carousel-card-mobile-text-align")}; 3822 } 3823 3824 svg + & { 3825 grid-column: span 1; 3826 grid-row: 1; 3827 } 3828`,mD=c` 3829 ${is} 3830 ${hi(2)} 3831 letter-spacing: 0.5px; 3832 margin-block-end: ${a("--spacing-xxs")}; 3833`,gD=c` 3834 ${hi(4)} 3835`,fD=c` 3836 ${ra} 3837 ${hi(2)} 3838 letter-spacing: 0.25px; 3839 margin-block-end: ${a("--spacing-xs")}; 3840`,bD=c` 3841 ${hi(5)} 3842`,SD=c` 3843 ${qt} 3844 ${hi(3)} 3845 color: ${a("--carousel-card-body-color")}; 3846 3847 a { 3848 color: ${a("--carousel-card-body-color")}; 3849 } 3850`,hD=c` 3851 ${hi(5)} 3852`,CD=c` 3853 display: block; 3854 height: 100%; 3855 object-fit: cover; 3856 object-position: center; 3857 width: 100%; 3858`,xD=c` 3859 height: 100%; 3860 object-fit: cover; 3861 object-position: center; 3862 width: 100%; 3863`,vD=c` 3864 color: ${a("--carousel-card-fg-color")}; 3865 display: flex; 3866 font-size: ${a("--annotation-mobile-font-size")}; 3867 font-weight: ${a("--annotation-mobile-font-weight")}; 3868 gap: ${a("--spacing-l")}; 3869 justify-content: space-between; 3870 letter-spacing: ${a("--annotation-mobile-font-letter-spacing")}; 3871 line-height: ${a("--annotation-mobile-font-line-height")}; 3872 margin-block-end: ${a("--spacing-xs")}; 3873 text-transform: uppercase; 3874 3875 ${H} { 3876 font-size: ${a("--annotation-desktop-font-size")}; 3877 font-weight: ${a("--annotation-desktop-font-weight")}; 3878 justify-content: flex-start; 3879 letter-spacing: ${a("--annotation-desktop-font-letter-spacing")}; 3880 margin-block-end: ${a("--spacing-xs")}; 3881 line-height: ${a("--annotation-desktop-font-line-height")}; 3882 } 3883`,wS=c` 3884 ${hi(1)} 3885 max-width: 100px; 3886`,ID=c` 3887 -webkit-box-orient: vertical; 3888 -webkit-line-clamp: ${a("--carousel-card-related-content-body-line-clamp")}; 3889 display: -webkit-box; 3890 overflow: hidden; 3891 text-overflow: ellipsis; 3892`;var Un=({aspectRatio:e,autoplay:t,body:o,captionsSource:n,imgAltText:r,imgSrcs:s,shouldLoad:l,onPlay:p,onPause:d,onTimeUpdate:u,openNewTab:y,posterSource:m,isVisible:g,showVideoControls:f,subtitle:b,title:S,url:C,videoSource:I,mobileVideoSource:k,onClick:v,isSingleView:A=!1,isResponsiveWidth:w=!1,hideLinkArrow:D,logoSrcs:M,logoAltText:_,className:F,date:$,brand:B,relatedContent:V=!1,isInsideHero:L=!1}
3892)=>{let[z,K]=(0,Oo.useState)(),[ye,se]=(0,Oo.useState)(!1),ne=(0,Oo.useCallback)(Q=>K(Q),[]),oe=(0,Oo.useRef)(l),{Anchor:pe}=(0,Oo.useContext)(He),ae=xt(),j=w&&!A&&!ae,Y=!ae&&M,J=(0,Oo.useCallback)(Q=>{C&&v&&v(C,Q)},[C,v]);(0,Oo.useEffect)(()=>{l&&(oe.current=!0)},[l]),(0,Oo.useEffect)(()=>{if(z&&z.tagName==="VIDEO"){let Q=z;if(Y){if(ye){try{Q.play()}catch{}Q.tabIndex=0}else Gn(Q)&&Q.pause(),Q.tabIndex=-1,f||(Q.currentTime=0);return}if(!g)Gn(Q)&&Q.pause(),Q.tabIndex=-1,f||(Q.currentTime=0);else{if(!f)try{Q.play()}catch{}Q.tabIndex=0}}},[g,f,z,Y,ye]);let U=b&&!L,E=o&&!L,X=!!(S||U||E),W=(0,Oo.useMemo)(()=>i(Ke,{showVideoControls:f,videoSource:I,mobileVideoSource:k,posterSource:m,onPlay:p,onPause:d,captionsSource:n,isBackgroundVideo:t,onTimeUpdate:u,altText:r,imgSrcs:s,className:I?xD:CD,ref:ne,isDraggable:!1,autoplay:Y?!1:void 0}),[I,f,m,p,d,n,t,u,ne]),ie=x("div",{className:h(Yw,{[Jw]:e==="3:2"},{[Zw]:e==="1:1"},{[Xw]:e==="16:9"},{[eD]:!g&&!oe.current}),children:[(g||oe.current)&&W,Y&&i("div",{className:tD,onMouseEnter:()=>se(!0),onMouseLeave:()=>se(!1),children:i(Ye,{imgSrcs:M,altText:_,className:oD,imgClassName:nD})})]}),ee=i("div",{className:dD,children:x("div",{className:h(uD,"sdsm-carousel-card-text"),children:[!!C&&!D&&i(Te,{className:yD,name:"arrow-right"}),ae&&M&&i(Ye,{imgSrcs:M,altText:_,className:aD,imgClassName:rD}),(B||$)&&x("div",{className:h(Ap,vD),children:[B?i("span",{className:wS,children:kS[B]}):null,$?i("span",{className:wS,children:$}):null]}),S&&i("h5",{className:h(Ap,mD,{[gD]:!U&&!E}),title:S,children:S}),U&&i("h6",{className:h(Ap,fD,{[bD]:!S&&!E}),title:b,children:b}),E&&i("p",{className:h(Ap,SD,{[ID]:V,[hD]:!S&&!U}),title:o,children:o})]})}),be={[sD]:e!=="9:16"&&!A,[cD]:e!=="9:16"&&A,[iD]:e==="9:16"&&!A,[pD]:e==="9:16"&&A,[lD]:j};return C?x(pe,{href:C,...y?{target:"_blank",rel:"noopener"}:{},className:h(_S,jw,be,F),tabIndex:g?void 0:-1,onClick:J,draggable:"false","data-testid":"sdsm-carousel-card",children:[ie,X&&ee]}):x("div",{className:h(_S,be,F),"data-testid":"sdsm-carousel-card",children:[ie,X&&ee]})};Un.displayName="CarouselCardItem";var Wu=T(P());var kD="24px",MD=c` 3893 color: ${a("--carousel-card-fg-color")}; 3894 cursor: pointer; 3895 display: flex; 3896 flex-direction: row-reverse; 3897 justify-content: space-between; 3898 text-decoration: none; 3899 3900 ${N} { 3901 padding: ${a("--spacing-l")}; 3902 } 3903`,DS=c` 3904 background: ${a("--carousel-text-item-bg-color")}; 3905 border-radius: ${a("--carousel-text-item-border-radius")}; 3906 color: ${a("--carousel-card-fg-color")}; 3907 cursor: grab; 3908 display: flex; 3909 flex-direction: column; 3910 max-width: ${a("--carousel-text-item-desktop-max-width")}; 3911 padding: ${a("--spacing-xl")}; 3912 position: relative; 3913 user-select: none; 3914 width: 100%; 3915 3916 ${N} { 3917 max-width: ${a("--carousel-text-item-mobile-max-width")}; 3918 width: 100%; 3919 } 3920 3921 ${H} { 3922 padding: ${a("--spacing-xl")} ${a("--spacing-xxxl")}; 3923 } 3924`,PS=c` 3925 margin: 0; 3926 -webkit-line-clamp: 15; 3927 -webkit-box-orient: vertical; 3928 display: -webkit-box; 3929 overflow: hidden; 3930 text-overflow: ellipsis; 3931`,NS=c` 3932 ${qt} 3933 -webkit-line-clamp: 4; 3934 -webkit-box-orient: vertical; 3935 color: ${a("--carousel-text-item-sub-text-color")}; 3936 display: -webkit-box; 3937 margin-block: ${a("--spacing-m")} 0; 3938 overflow: hidden; 3939 text-overflow: ellipsis; 3940 3941 a { 3942 color: ${a("--carousel-text-item-sub-text-color")}; 3943 } 3944`,TD=c` 3945 fill: ${a("--action-text-default-color")}; 3946 height: ${kD}; 3947 width: ${kD}; 3948 flex-shrink: 0; 3949 3950 [dir='rtl'] & { 3951 transform: rotate(180deg); 3952 right: auto; 3953 } 3954`;var ES=({description:e,subText:t,url:o,openNewWTab:n,onClick:r,...s})=>{let{Anchor:l}=(0,Wu.useContext)(He),p=(0,Wu.useCallback)(d=>{o&&r&&r(o,d)},[o,r]);return o?x(l,{href:o,className:h(DS,MD),...n?{target:"_blank",rel:"noreferrer"}:{},onClick:p,draggable:"false",...s,children:[i(Te,{className:TD,name:"arrow-right"}),x("div",{children:[e&&i("div",{className:PS,children:e}),t&&i("div",{className:NS,children:t})]})]}):x("div",{className:DS,...s,children:[e&&i("div",{className:PS,children:e}),t&&i("div",{className:NS,children:t})]})};ES.displayName="CarouselTextItem";function RK(e,t,o){return e===e&&(o!==void 0&&(e=e<=o?e:o),t!==void 0&&(e=e>=t?e:t)),e}var AD=RK;uM();function FK(e,t,o){return o===void 0&&(o=t,t=void 0),o!==void 0&&(o=ss(o),o=o===o?o:0),t!==void 0&&(t=ss(t),t=t===t?t:0),AD(ss(e),t,o)}var _D=FK;var BK=Math.max,$K=Math.min;function LK(e,t,o){return e>=$K(t,o)&&e<BK(t,o)}var wD=LK;uM();
3954function HK(e,t,o){return t=Sb(t),o===void 0?(o=t,t=0):o=Sb(o),e=ss(e),wD(e,t,o)}var RS=HK;var ze=T(P());var Qu=300,DD=c` 3955 align-items: center; 3956 display: flex; 3957 flex-direction: column; 3958 justify-content: center; 3959 padding-block-end: 20px; 3960 width: 100%; 3961 3962 ${N} { 3963 overflow-x: hidden; 3964 } 3965`,PD=c` 3966 container-type: inline-size; 3967 max-height: 100%; 3968 overflow: hidden; 3969 width: 100%; 3970 3971 ${N} { 3972 /* Tells the browser this element only consumes horizontal pan gestures so that a horizontal 3973 swipe never triggers vertical page scroll. Pinch-zoom is preserved for accessibility. */ 3974 touch-action: pan-x pinch-zoom; 3975 } 3976 3977 &.dragging { 3978 a { 3979 pointer-events: none; 3980 } 3981 } 3982`,ND=c` 3983 mask-image: linear-gradient(to left, transparent, black 10%); 3984 html[dir='rtl'] & { 3985 mask-image: linear-gradient(to right, transparent, black 10%); 3986 } 3987`,ED=c` 3988 ${H} { 3989 mask-image: none; 3990 html[dir='rtl'] & { 3991 mask-image: none; 3992 } 3993 } 3994`,RD=c` 3995 justify-content: center; 3996`,FD=c` 3997 gap: ${a("--carousel-card-mobile-grid-gap")}; 3998 3999 ${H} { 4000 gap: ${a("--carousel-card-desktop-grid-gap")}; 4001 } 4002`,BD=c` 4003 transform: translateX(-100%); 4004 4005 html[dir='rtl'] & { 4006 transform: translateX(100%); 4007 } 4008`,$D=c` 4009 display: flex; 4010 margin-block: ${a("--spacing-xl")}; 4011 transition: all ${Qu}ms linear; 4012 4013 html[dir='rtl'] &, 4014 body[dir='rtl'] & { 4015 direction: rtl; 4016 } 4017`,qu=c` 4018 display: flex; 4019 flex-direction: column; 4020 opacity: 1; 4021 4022 &.fadeOut { 4023 opacity: 0; 4024 pointer-events: none; 4025 } 4026 4027 &.animate { 4028 transition: opacity ${Qu/2}ms ease; 4029 } 4030`,Ku=c` 4031 ${H} { 4032 max-width: calc(33.33% - ((2 * ${a("--carousel-card-desktop-grid-gap")}) / 3)); 4033 min-width: calc(33.33% - ((2 * ${a("--carousel-card-desktop-grid-gap")}) / 3)); 4034 width: calc(33.33% - ((2 * ${a("--carousel-card-desktop-grid-gap")}) / 3)); 4035 } 4036`,ju=c` 4037 align-items: center; 4038 display: flex; 4039 flex-grow: 0; 4040 flex-shrink: 0; 4041 justify-content: center; 4042 width: 100%; 4043`,LD=c` 4044 align-items: center; 4045 background-color: transparent; 4046 border: 0; 4047 box-sizing: border-box; 4048 display: flex; 4049 justify-content: center; 4050 height: 20px; 4051 width: 20px; 4052`,HD=c` 4053 background-color: ${a("--carousel-inactive-dot-color")}; 4054 border-radius: ${a("--carousel-dot-border-radius")}; 4055 height: 8px; 4056 transition: background-color 200ms; 4057 width: 8px; 4058 4059 ${H} { 4060 cursor: pointer; 4061 } 4062`,VD=c` 4063 background-color: ${a("--carousel-active-dot-color")}; 4064`,OD=c` 4065 -ms-overflow-style: none; 4066 align-items: center; 4067 display: flex; 4068 flex-direction: row; 4069 height: 20px; 4070 margin-block-end: ${a("--spacing-xl")}; 4071 padding-inline-start: 0; 4072 list-style: none; 4073 margin: 0 auto; 4074 scrollbar-width: none; 4075 4076 html[dir='rtl'] & { 4077 direction: rtl; 4078 } 4079 4080 > div:first-child { 4081 margin-inline-start: 0; 4082 } 4083`,GD=c` 4084 padding-block-end: 0; 4085`,zD=c` 4086 display: flex; 4087 justify-content: center; 4088`;var FS=({currentIndex:e,length:t,onDotClick:o})=>i("nav",{className:zD,children:i("ul",{className:OD,children:Array(t).fill(void 0).map((n,r)=>i("li",{"data-index":r,children:i("button",{onClick:()=>o(r),className:LD,children:i("span",{className:h(HD,{[VD]:e===r})})})},r))})});FS.displayName="Dots";var Yu=T(P());var BS=e=>{if(!e)return null;let t=e,o=e;return t.touches?.[0]?.clientX??t.changedTouches?.[0]?.clientX??o.clientX??null},UD=e=>e.type===fa?!0:e.type.displayName==="CarouselV3",_p=(e,t)=>t?e:e*-1;var WD=(e,t,o)=>{let n=Math.abs(t-e),r=o-n,s=e<t?1:-1;return(Math.abs(n)>Math.abs(r)?-r:n)*s},QD=({dragStart:e,dragMove:t,dragEnd:o})=>{let r=Zo()===rt.Mobile,s=(0,Yu.useRef)(null),l=(0,Yu.useRef)(null),p=(0,Yu.useRef)(null);return{handleDragStart:g=>{let f=BS(g)??0;s.current=f,l.current=f,p.current=Date.now(),e?.(g)},handleDragMove:g=>{if(s.current===null)return;let f=BS(g);if(f==null)return;l.current=f;let b=s.current-f;t?.(b,g)},handleDragEnd:g=>{r||g?.stopPropagation();let f=s.current??0,b=s.current===null?0:BS(g)??l.current??0,S=f-b,C=p.current===null?0:Math.max(0,Date.now()-p.current);s.current=null,l.current=null,p.current=null,o?.(S,g,{durationMs:C})},resetDrag:()=>{s.current=null,l.current=null,p.current=null}}};var VK=300,OK=20,GK=.3,zK=(e,t,o)=>{if(t<=0||Number.isNaN(t))return 0;let n=Math.abs(e),r=o>0?n/o:0;return o>0&&o<=VK&&n>=OK&&r>=GK?Math.sign(e):Math.round(e/t)},fa=({children:e,isSingleView:t=!1,isRtl:o=!1,autoPlay:n=!0,autoPlaySpeed:r=3e3,enableOverflowDecoration:s=!1,isResponsiveWidth:l=!1,onSlideChange:p})=>{q("sdsm-carousel");let d=(0,ze.useRef)(null),[u,y]=(0,ze.useState)(null),m=(0,ze.useCallback)(Q=>{y(Q)},[]),g=(0,ze.useRef)([]),f=(0,ze.useRef)(),b=(0,ze.useRef)(!1),[S,C]=(0,ze.useState)(!1),I=nu(d),[k,v]=(0,ze.useState)(0),{isFocused:A}=aT(I),[w,D]=(0,ze.useState)({width:0,gap:0}),M=ze.Children.toArray(e),_=M.length,{width:F}=hn(),$=xt(),B=l&&!t&&!$,V=(0,ze.useMemo)(()=>{let Q=u?.clientWidth;if(!Q)return 0;let le=w.width+w.gap;return le?t?1:Math.ceil(Q/le):0},[F,u,t,w.gap,w.width]),L=(0,ze.useMemo)(()=>B?_>V:_>=V,[_,V,B]),z=(0,ze.useMemo)(()=>
4088{if(!L)return 0;let Q=Math.min(V*2-1,_);return t?1:Math.max(0,Q)},[L,t,V,_]);(0,ze.useEffect)(()=>{if(!u)return;let le=u?.firstChild?.clientWidth,me=window.getComputedStyle(u).getPropertyValue("gap"),ve=Number.parseInt(me),Ce=Number.isNaN(ve)?0:ve;D({width:le,gap:Ce})},[F,u,e,t,_]),(0,ze.useEffect)(()=>{!t||!u?.children?.length||(g.current?.forEach(Q=>clearTimeout(Q)),g.current=Array.from(u.children).map((Q,le)=>{let De=le===z+k;return setTimeout(()=>{Q.classList.toggle("fadeOut",!De)},De?Qu/2:0)}))},[u?.children,k,t,z]);let K=(0,ze.useMemo)(()=>(k+z)*(w.width+w.gap),[k,w,z]),ye=(0,ze.useMemo)(()=>{if(!L)return!1;let Q=u?.clientWidth??0,le=w.width+w.gap;return(Q+w.gap)%le>w.gap},[u?.clientWidth,w.width,w.gap,L]),se=(0,ze.useCallback)(Q=>{b.current=!0,v(le=>le+(o?-Q:Q))},[o,v]);(0,ze.useEffect)(()=>(L&&!f.current&&n&&!S&&I&&A&&(f.current=setInterval(()=>{se(1)},r)),()=>{clearInterval(f.current),f.current=void 0}),[f,S,I,A,se,n,r,L]);let ne=(0,ze.useCallback)(Q=>{if(I){if(Q.keyCode===37){se(-1),p?.((k-1+_)%_,"keyboard");return}Q.keyCode===39&&(se(1),p?.((k+1)%_,"keyboard"))}},[I,se,p,k,_]),oe=(0,ze.useCallback)(Q=>{if(Q===k||F&&F<=Mo)return;b.current=!0;let le=WD(k,Q,_),De=k+le;v(De),p?.(Q,"dot")},[_,k,F,p]),pe=QD({dragStart:()=>{},dragMove:(Q,le)=>{le?.preventDefault(),d.current?.classList.add("dragging");let De=K+_p(Q,!o);u.style.transform=`translateX(${_p(De,o)}px)`},dragEnd:(Q,le,De)=>{d.current?.classList.remove("dragging");let me=t?w.width/2:w.width,ve=zK(Q,me,De?.durationMs??0);if(b.current=!0,ve===0||Number.isNaN(ve)){u.style.transform=`translateX(${_p(K,o)}px)`;return}let Ce=_D(ve,-z,z);se(Ce),p?.((k+Ce+_)%_,"drag")}}),ae=(0,ze.useCallback)(()=>C(!0),[C]),j=(0,ze.useCallback)(()=>{pe.handleDragEnd(),C(!1)},[pe,C]),Y=(0,ze.useCallback)(()=>{pe.handleDragEnd()},[pe]),J=(0,ze.useCallback)(()=>{let Q=(k+_)%_;Q!==k&&(b.current=!1,v(Q))},[k,_]),U=Q=>{u===Q.target&&(pe.resetDrag(),J())},E=L&&!dM()?{transform:`translateX(${_p(K,o)}px)`,transition:b.current?void 0:"none"}:void 0,X=L&&!!_,W=z>0?M.slice(-z):[],ie=M.slice(0,z),ee=Q=>RS(Q,k,k+V),be=Q=>RS(Q,k-2,k+V+2);return x("div",{"data-testid":"sdsm-carousel",className:h(DD,"sdsm-carousel",{"sdsm-carousel-single-view":t,"sdsm-carousel-multi-view":!t,"sdsm-carousel-overflow":ye&&!t,[GD]:X}),onMouseEnter:L?ae:void 0,onMouseLeave:L?j:void 0,onMouseUp:L?Y:void 0,onKeyUp:L?ne:void 0,tabIndex:-1,children:[i("div",{className:h(PD,{[ND]:s&&ye&&!t,[ED]:B}),onTouchStart:L?pe.handleDragStart:void 0,onMouseDown:L?pe.handleDragStart:void 0,onTouchMove:L?pe.handleDragMove:void 0,onMouseMove:L?pe.handleDragMove:void 0,onTouchEnd:L?pe.handleDragEnd:void 0,onMouseUp:L?pe.handleDragEnd:void 0,ref:d,tabIndex:-1,children:x("div",{className:h($D,{[RD]:!L,[BD]:t,[FD]:!t}),style:E,onTransitionEnd:U,ref:m,tabIndex:-1,children:[W.map((Q,le)=>i("div",{className:h(qu,{[ju]:t,[Ku]:B,fadeOut:t,animate:b.current}),"aria-hidden":!0,children:(0,ze.cloneElement)(Q,{shouldLoad:be(le-W.length),isVisible:ee(le-W.length),isSingleView:t})},`initial-duplicated-${Q.key||le}`)),M.map((Q,le)=>i("div",{className:h(qu,{[ju]:t,[Ku]:B,fadeOut:t&&le!==k,animate:b.current}),children:(0,ze.cloneElement)(Q,{shouldLoad:be(le),isVisible:ee(le),isSingleView:t})},`carousel-item-${Q.key||le}`)),ie.map((Q,le)=>i("div",{className:h(qu,{[ju]:t,[Ku]:B,fadeOut:t,animate:b.current}),"aria-hidden":!0,children:(0,ze.cloneElement)(Q,{shouldLoad:be(le+M.length),isVisible:ee(le+M.length),isSingleView:t})},`final-duplicated-${Q.key||le}`))]})}),X&&i(FS,{currentIndex:k,length:_,onDotClick:oe})]})};var qD=c` 4089 display: block; 4090 font-size: 15px; 4091 font-weight: 700; 4092 line-height: ${32}px; 4093`;var KD=({title:e})=>i("span",{className:qD,children:e});var Rs=T(P());var jD=c` 4094 ${N} { 4095 display: none; 4096 } 4097`,YD=c` 4098 ${H} { 4099 display: none; 4100 } 4101`;var $S="--list-icon-url",XD=c` 4102 scroll-margin-top: var(--total-header-height); 4103`,JD=c` 4104 background-color: ${a("--bg-color")}; 4105 background-image: ${a("--bg-image")}; 4106 color: ${a("--fg-color")}; 4107 display: grid; 4108 /* we do only 1 column here because these are the default styles when there is only either Media or Text */ 4109 grid-template-columns: 1fr; 4110 grid-template-rows: auto; 4111 width: 100%; 4112 gap: ${a("--spacing-xl")}; 4113 border-color: ${a("--content-border-color")}; 4114 border-width: ${a("--content-border-width")}; 4115 border-style: solid; 4116 backdrop-filter: ${a("--content-backdrop-filter")}; 4117 box-shadow: ${a("--content-box-shadow")}; 4118 4119 ${N} { 4120 grid-template-columns: 1fr; 4121 grid-template-rows: auto; 4122 } 4123 4124 /* 4125 We are keeping the media queries above in addition to the container queries below in case: 4126 - this component is ever rendered without a wrapping SDS-M Page component 4127 - the browser does not support container queries (smart TVs, etc.) 4128 */ 4129 ${co} { 4130 grid-template-columns: 1fr; 4131 grid-template-rows: auto; 4132 } 4133`,ZD=c` 4134 background-color: transparent; 4135 backdrop-filter: ${a("--content-backdrop-filter")}; 4136`,eP={Normal:c` 4137 align-items: center; 4138 justify-items: stretch; 4139 justify-content: center; 4140 `,Dense:c` 4141 align-items: start; 4142 justify-items: stretch; 4143 `},tP={Normal:{Left:c` 4144 grid-template-columns: auto minmax(auto, 600px); 4145 `,Right:c` 4146 grid-template-columns: minmax(auto, 600px) auto; 4147 `,Top:c` 4148 gap: ${a("--content-desktop-grid-gap")}; 4149 grid-template-rows: auto 1fr; 4150 align-items: start; 4151 `,Bottom:c` 4152 gap: ${a("--content-desktop-grid-gap")}; 4153 grid-template-rows: 1fr auto; 4154 align-items: start; 4155 `},Dense:{Left:c` 4156 grid-template-columns: auto minmax(auto, 1fr); 4157 `,Right:c` 4158 grid-template-columns: minmax(auto, 1fr) auto; 4159 `,Top:"",Bottom:""}},oP={Normal:{Top:c` 4160 ${N} { 4161 gap: ${a("--content-mobile-grid-gap")}; 4162 grid-template-rows: auto 1fr; 4163 align-items: start; 4164 } 4165 `,Bottom:c` 4166 ${N} { 4167 gap: ${a("--content-mobile-grid-gap")}; 4168 grid-template-rows: 1fr auto; 4169 align-items: start; 4170 } 4171 `},Dense:{Top:"",Bottom:""}},nP=c` 4172 align-items: center; 4173 display: flex; 4174 justify-content: center; 4175`,aP={Right:c` 4176 order: 1; 4177 `,Bottom:c` 4178 order: 1; 4179 `},rP={Top:c` 4180 ${N} { 4181 order: 0; 4182 } 4183 `,Bottom:c` 4184 ${N} { 4185 order: 1; 4186 } 4187 `},iP={Normal:c` 4188 border-radius: ${a("--content-border-radius")}; 4189 padding: ${a("--spacing-xl")}; 4190 ${N} { 4191 padding-left: ${a("--spacing-m")}; 4192 padding-right: ${a("--spacing-m")}; 4193 } 4194 `,Dense:c` 4195 border-radius: ${a("--content-border-radius")}; 4196 padding: ${a("--spacing-l")}; 4197 ${N} { 4198 padding-left: ${a("--spacing-m")}; 4199 padding-right: ${a("--spacing-m")}; 4200 } 4201 `},sP={Normal:c` 4202 border-radius: ${a("--content-border-radius")}; 4203 padding: ${a("--content-desktop-no-bg-padding")}; 4204 ${N} { 4205 padding: ${a("--content-mobile-no-bg-padding")}; 4206 } 4207 `,Dense:c` 4208 border-radius: ${a("--content-border-radius")}; 4209 `},lP=c` 4210 /* This is needed to make the PrimitiveTable component not overflow. */ 4211 max-width: 100%; 4212 /* https://weblog.west-wind.com/posts/2016/feb/15/flexbox-containers-pre-tags-and-managing-overflow */ 4213 /* This is needed to make the Code component not overflow. The above blog post kind of explains it-ish... */ 4214 min-width: 0; 4215 4216 display: flex; 4217 flex-direction: column; 4218 gap: var(--spacing-m); 4219 height: 100%; 4220`,pP=c` 4221 ${H} { 4222 justify-self: stretch; 4223 } 4224`,cP=c` 4225 height: unset; 4226`,dP=c` 4227 & ul:not(:has(ul)) { 4228 list-style: none; 4229 /* Remove padding-left from primitive styles */ 4230 padding-inline-start: 0; 4231 4232 & li { 4233 position: relative; 4234 /* 4235 This is the size of the icon 4236 https://www.figma.com/design/MuetHWEuhUF7rJap6giyq5/%5BEXT%5D-SDS-M-Refresh-2024?node-id=465-20259&t=NPQoIP8Xk8WG9Sus-11 4237 */ 4238 padding-inline-start: 24px; 4239 4240 &::before { 4241 background-image: var(${$S}); 4242 background-repeat: no-repeat; 4243 background-size: cover; 4244 content: ''; 4245 height: 18px; 4246 inset-block-start: 4px; 4247 inset-inline-start: 3px; 4248 position: absolute; 4249 width: 18px; 4250 } 4251 } 4252 } 4253 4254 /** Only top level of list items will have the bullet replaced by icon */ 4255 & ul ul { 4256 list-style: initial; 4257 4258 & li { 4259 padding-inline-start: initial; 4260 4261 &::before { 4262 content: none; 4263 } 4264 } 4265 } 4266`,uP=c` 4267 display: flex; 4268 flex-direction: column; 4269 flex-grow: 1; 4270 gap: ${a("--spacing-m")}; 4271 justify-content: space-between; 4272`,yP=c` 4273 ${Tt} 4274 4275 display: flex; 4276 flex-direction: column; 4277 4278 .${"sdsm-button"} { 4279 margin-top: ${a("--spacing-s")}; 4280 } 4281 4282 /** 4283 * Nested Hyperlink in content body text inherit font size, line height, 4284 * font weight, and font stretch to ensure consistent typography. 4285 * */ 4286 & p .${"sdsm-hyperlink"} { 4287 font-size: inherit; 4288 line-height: inherit; 4289 } 4290 4291 & ul { 4292 margin-block-end: ${a("--spacing-s")}; 4293 4294 /** Add margin bottom only to the top level list */ 4295 & ul { 4296 margin-block-end: 0; 4297 } 4298 } 4299`,mP=c` 4300 display: flex; 4301 flex-direction: column; 4302 gap: ${a("--spacing-xs")}; 4303`,gP=c` 4304 /** 4305 * The title is rendered as an <h3> so that there's a hierarchy of Hero Title (H1), 4306 * Block Title (H2) and Content Title (H3). However, visually we want it to look like 4307 * like an H4 because users put in very long content titles. 4308 * So we force an H4 look over an H3 element. 4309 * Note the double specificity to override default h3 styles. 4310 * See https://jira.sc-corp.net/browse/WEBP-9117 4311 */ 4312 && { 4313 ${kd} 4314 } 4315 color: ${a("--content-title-color")}; 4316`,fP=c` 4317 -webkit-box-orient: vertical; 4318 -webkit-line-clamp: 5; 4319 color: ${a("--content-subtitle-color")}; 4320 display: -webkit-box; 4321 overflow: hidden; 4322 text-overflow: ellipsis; 4323`,ba={[re.Left]:c` 4324 align-items: stretch; 4325 justify-content: flex-start; 4326 text-align: start; 4327 `,[re.Start]:c` 4328 align-items: stretch; 4329 justify-content: flex-start; 4330 text-align: start; 4331 `,[re.Center]:c` 4332 align-items: center; 4333 justify-content: center; 4334 text-align: center; 4335 `,[re.End]:c` 4336 align-items: stretch; 4337 justify-content: flex-end; 4338 text-align: end; 4339 `,[re.Right]:c` 4340 align-items: stretch; 4341 justify-content: flex-end; 4342 text-align: end; 4343 `},LS=c` 4344 width: 100%; 4345`,HS={[re.Left]:c` 4346 ${H} { 4347 ${ba[re.Left]} 4348 } 4349 `,[re.Start]:c` 4350 ${H} { 4351 ${ba[re.Start]} 4352 } 4353 `,[re.Center]:c` 4354 ${H} { 4355 ${ba[re.Center]} 4356 } 4357 `,[re.End]:c` 4358 ${H} { 4359 ${ba[re.End]} 4360 } 4361 `,[re.Right]:c` 4362 ${H} { 4363 ${ba[re.Right]} 4364 } 4365 `},VS={[re.Left]:c` 4366 ${N} { 4367 ${ba[re.Left]} 4368 } 4369 `,[re.Start]:c` 4370 ${N} { 4371 ${ba[re.Start]} 4372 } 4373 `,[re.Center]:c` 4374 ${N} { 4375 ${ba[re.Center]} 4376 } 4377 `,[re.End]:c` 4378 ${N} { 4379 ${ba[re.End]} 4380 } 4381 `,[re.Right]:c` 4382 ${N} { 4383 ${ba[re.Right]} 4384 } 4385 `},bP=c` 4386 margin-bottom: ${a("--spacing-m")}; 4387 margin-top: auto; 4388`,SP=c` 4389 display: flex; 4390 align-items: center; 4391 flex-wrap: wrap; 4392 gap: ${a("--spacing-m")}; 4393`,hP=c` 4394 display: none; 4395`,OS="--border-color",CP=c` 4396 border-color: var(${OS}); 4397 border-width: ${a("--content-decoration-border-width")}; 4398`;var Fs=({className:e,body:t,bodyAlignment:o,bodyAlignmentMobile:n,callsToAction:r,displayOn:s="All",layout:l="Normal",mediaDirection:p="Top",mediaDirectionMobile:d="Top",subtitle:u,title:y,titleAlignment:m,titleAlignmentMobile:g,motifScheme:f,backgroundColor:b,borderColor:S,anchorId:C,animation:I,isRTL:k,bodyDataset:v,titleDataset:A,subt
4398itleDataset:w,asset:D,style:M,listIconUrl:_})=>{q("sdsm-content");let F=(0,Rs.useRef)(null),$=bu(F,I),B=k?"rtl":void 0,V=(0,Rs.useContext)(Ud),L=f??b,z=S?void 0:L,K=S?void 0:L||V,ye=V===void 0!=(K===void 0)?!1:Bn(V)===Bn(K),se=!!(y||u),ne=!!(r&&!Array.isArray(r)||Array.isArray(r)&&r.length),oe=t||ne,pe=!!(y||u||oe),ae=!!D&&pe,j=z?Ne(K):void 0,Y=(0,Rs.useMemo)(()=>{if(!S)return M;let E=Bn(S),X=op(E,"--bg-color"),W=X?{[OS]:X}:void 0;return{...M,...W}},[M,S]),J=!S&&ye?sP[l]:iP[l],U=h("sdsm-content",j,JD,J,{[jD]:s==="DesktopOnly",[YD]:s==="MobileOnly",[hP]:s==="Neither",[eP[l]||""]:ae,[tP[l]?.[p]]:ae,[oP[l]?.[d]]:ae,[ZD]:!z||ye,[CP]:!!S},e);return x("section",{id:C,style:$?{...Y,...$}:Y,"data-testid":"sdsm-content",className:h(U,XD),ref:F,dir:B,children:[!!D&&i("div",{"data-testid":"sdsm-content-media-container",className:h(nP,aP[p],rP[d]),children:i("div",{"data-testid":"sdsm-content-media","data-animation-id":"content-media",children:D})}),pe&&x("div",{"data-testid":"sdsm-content-header-and-body",className:h(lP,{[pP]:p==="Top"||p==="Bottom",[cP]:p==="Left"||p==="Right"}),children:[se&&i(UK,{title:y,titleAlignment:m,titleAlignmentMobile:g,titleDataset:A,subtitle:u,subtitleDataset:w}),oe&&i(WK,{body:t,bodyAlignment:o,bodyAlignmentMobile:n,bodyDataset:v,callsToAction:r,listIconUrl:_,hasCallsToAction:ne})]})]})},UK=({title:e,titleDataset:t,subtitle:o,subtitleDataset:n,titleAlignment:r=re.Start,titleAlignmentMobile:s=re.Start})=>{let l=h(LS,HS[r],VS[s]);return x("div",{"data-testid":"sdsm-content-header",className:h(mP,l),children:[e&&i("h3",{className:h(gP,l,"sdsm-content-title"),"data-testid":"sdsm-content-title","data-animation-id":"content-title",...te(t),children:e}),o&&i("div",{className:h(uo,fP,"sdsm-content-subtitle"),"data-testid":"sdsm-content-subtitle","data-animation-id":"content-subtitle",...te(n),children:o})]})},WK=({body:e,bodyDataset:t,callsToAction:o,listIconUrl:n,hasCallsToAction:r,bodyAlignment:s=re.Start,bodyAlignmentMobile:l=re.Start})=>{let p=h(LS,HS[s],VS[l]),d=n?{[$S]:`url("${n}")`}:void 0;return x("div",{"data-testid":"sdsm-content-body",style:d,className:h("sdsm-content-body",uP),children:[e&&i("div",{className:h(yP,p,{[dP]:!!n}),"data-testid":"sdsm-content-body-content","data-animation-id":"content-body",...te(t),children:e}),r&&i("div",{"data-testid":"sdsm-content-cta",className:h(bP,"sdsm-content-cta"),children:i("div",{className:h(SP,p),"data-animation-id":"content-cta",children:o})})]})};var IP=T(P());var xP=c` 4399 background-color: ${a("--definition-bg-color")}; 4400 border-radius: ${a("--definition-border-radius")}; 4401 border-bottom: 2px solid ${a("--definition-border-color")}; 4402 cursor: pointer; 4403 margin: 0; 4404 padding: 0px 4px 2px 4px; 4405 /* Ensure element is scrolled to the center of the screen when scrolled into view here: 4406 * packages/web/src/Routes.tsx 4407 */ 4408 scroll-margin-top: 50vh; 4409 transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out; 4410 4411 &:hover { 4412 background-color: ${a("--definition-hover-bg-color")}; 4413 border-bottom: 2px solid ${a("--definition-hover-border-color")}; 4414 } 4415`,vP=c` 4416 background-color: ${a("--definition-active-bg-color")}; 4417 border-bottom: 2px solid ${a("--definition-hover-border-color")}; 4418 4419 &:hover { 4420 background-color: ${a("--definition-active-bg-color")}; 4421 border-bottom: 2px solid ${a("--definition-hover-border-color")}; 4422 } 4423`;var kP=(0,IP.forwardRef)(({anchorId:e,isActive:t,onClick:o,className:n,children:r},s)=>(q("sdsm-definition"),i("span",{role:"button",tabIndex:0,id:e,ref:s,onClick:o,onKeyDown:p=>{["Enter"," "].includes(p.key)&&(p.preventDefault(),o?.())},className:h("sdsm-definition",xP,{[vP]:t},n),children:r})));var RP=T(Cr());var wp=c` 4424 opacity: 1; 4425 pointer-events: auto; 4426 visibility: visible; 4427`,PP=c` 4428 box-sizing: border-box; 4429 opacity: 0; 4430 pointer-events: none; 4431 position: fixed; 4432 transition: transform 750ms cubic-bezier(0.8, 0, 0.2, 1), 4433 opacity 750ms cubic-bezier(0.8, 0, 0.2, 1), visibility 750ms cubic-bezier(0.8, 0, 0.2, 1); 4434 visibility: hidden; 4435 z-index: ${Pe.DIRECTIONAL_OVERLAY_PANEL}; 4436 4437 @media (prefers-reduced-motion: reduce) { 4438 transition: none; 4439 } 4440`,QK=c` 4441 ${H} { 4442 height: 100vh; 4443 left: 0; 4444 right: auto; 4445 top: 0; 4446 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 4447 transform-origin: 0 50%; 4448 width: min(100vw, calc(var(--directional-overlay-desktop-size-pct) * 1vw)); 4449 } 4450`,qK=c` 4451 ${H} { 4452 height: 100vh; 4453 left: auto; 4454 right: 0; 4455 top: 0; 4456 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 4457 transform-origin: 100% 50%; 4458 width: min(100vw, calc(var(--directional-overlay-desktop-size-pct) * 1vw)); 4459 } 4460`,KK=c` 4461 ${H} { 4462 bottom: auto; 4463 height: min(100vh, calc(var(--directional-overlay-desktop-size-pct) * 1vh)); 4464 left: 0; 4465 overflow: auto; 4466 right: 0; 4467 top: 0; 4468 transform: translateY(calc(-100% - var(--directional-overlay-vertical-outset, 0px))); 4469 transform-origin: 50% 0; 4470 width: 100%; 4471 } 4472`,jK=c` 4473 ${H} { 4474 bottom: 0; 4475 height: min(100vh, calc(var(--directional-overlay-desktop-size-pct) * 1vh)); 4476 left: 0; 4477 overflow: auto; 4478 right: 0; 4479 top: auto; 4480 transform: translateY(calc(100% + var(--directional-overlay-vertical-outset, 0px))); 4481 transform-origin: 50% 100%; 4482 width: 100%; 4483 } 4484`,MP=c` 4485 ${H} { 4486 transform: translateX(0); 4487 } 4488`,TP=c` 4489 ${H} { 4490 transform: translateY(0); 4491 } 4492`,YK=c` 4493 ${N} { 4494 height: 100vh; 4495 left: 0; 4496 right: auto; 4497 top: 0; 4498 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 4499 transform-origin: 0 50%; 4500 width: min(100vw, calc(var(--directional-overlay-mobile-size-pct) * 1vw)); 4501 } 4502`,XK=c` 4503 ${N} { 4504 height: 100vh; 4505 left: auto; 4506 right: 0; 4507 top: 0; 4508 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 4509 transform-origin: 100% 50%; 4510 width: min(100vw, calc(var(--directional-overlay-mobile-size-pct) * 1vw)); 4511 } 4512`,JK=c` 4513 ${N} { 4514 bottom: auto; 4515 height: min(100vh, calc(var(--directional-overlay-mobile-size-pct) * 1vh)); 4516 left: 0; 4517 overflow: auto; 4518 right: 0; 4519 top: 0; 4520 transform: translateY(calc(-100% - var(--directional-overlay-vertical-outset, 0px))); 4521 transform-origin: 50% 0; 4522 width: 100%; 4523 } 4524`,ZK=c` 4525 ${N} { 4526 bottom: 0; 4527 height: min(100vh, calc(var(--directional-overlay-mobile-size-pct) * 1vh)); 4528 left: 0; 4529 overflow: auto; 4530 right: 0; 4531 top: auto; 4532 transform: translateY(calc(100% + var(--directional-overlay-vertical-outset, 0px))); 4533 transform-origin: 50% 100%; 4534 width: 100%; 4535 } 4536`,AP=c` 4537 ${N} { 4538 transform: translateX(0); 4539 } 4540`,_P=c` 4541 ${N} { 4542 transform: translateY(0); 4543 } 4544`,ej=c` 4545 ${Mt} { 4546 height: 100vh; 4547 left: 0; 4548 right: auto; 4549 top: 0; 4550 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 4551 transform-origin: 0 50%; 4552 width: min(100vw, calc(var(--directional-overlay-small-mobile-size-pct) * 1vw)); 4553 } 4554`,tj=c` 4555 ${Mt} { 4556 height: 100vh; 4557 left: auto; 4558 right: 0; 4559 top: 0; 4560 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 4561 transform-origin: 100% 50%; 4562 width: min(100vw, calc(var(--directional-overlay-small-mobile-size-pct) * 1vw)); 4563 } 4564`,oj=c` 4565 ${Mt} { 4566 bottom: auto; 4567 height: min(100vh, calc(var(--directional-overlay-small-mobile-size-pct) * 1vh)); 4568 left: 0; 4569 overflow: auto; 4570 right: 0; 4571 top: 0; 4572 transform: translateY(calc(-100% - var(--directional-overlay-vertical-outset, 0px))); 4573 transform-origin: 50% 0; 4574 width: 100%; 4575 } 4576`,nj=c` 4577 ${Mt} { 4578 bottom: 0; 4579 height: min(100vh, calc(var(--directional-overlay-small-mobile-size-pct) * 1vh)); 4580 left: 0; 4581 overflow: auto; 4582 right: 0; 4583 top: auto; 4584 transform: translateY(calc(100% + var(--directional-overlay-vertical-outset, 0px))); 4585 transform-origin: 50% 100%; 4586 width: 100%; 4587 } 4588`,wP=c` 4589 ${Mt} { 4590 transform: translateX(0); 4591 } 4592`,DP=c` 4593 ${Mt} { 4594 transform: translateY(0); 4595 } 4596`,NP=c` 4597 background-color: ${a("--palette-plain-black")}; 4598 height: 100vh; 4599 left: 0; 4600 opacity: 0; 4601 pointer-events: none; 4602 position: fixed; 4603 top: 0; 4604 transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out, 4605 backdrop-filter 200ms ease-in-out; 4606 visibility: hidden; 4607 width: 100vw; 4608 z-index: ${Pe.DIRECTIONAL_OVERLAY_BACKDROP}; 4609 4610 @media (prefers-reduced-motion: reduce) { 4611 transition: none; 4612 } 4613`,EP=c` 4614 opacity: 0.3; 4615 pointer-events: auto; 4616 visibility: visible; 4617`,Xu={left:{desktop:QK,desktopOpen:MP,mobile:YK,mobileOpen:AP,smallMobile:ej,smallMobileOpen:wP},right:{desktop:qK,desktopOpen:MP,mobile:XK,mobileOpen:AP,smallMobile:tj,smallMobileOpen:wP},top:{desktop:KK,desktopOpen:TP,mobile:JK,mobileOpen:_P,smallMobile:oj,smallMobileOpen:DP},bottom:{desktop:jK,desktopOpen:TP,mobile:ZK,mobileOpen:_P,smallMobile:nj,smallMobileOpen:DP}};var GS=({isOpen:e,children:t,desktopDirection:o,mobileDirection:n,smallMobileDirection:r,desktopSizePercent:s,mobileSizePercent:l=s,smallMobileSizePercent:p,onBackdropClick:d,showBackdrop:u=!0,backdropRef:y,portalRoot:m,backdropClassName:g,backdropOpe
4617nClassName:f,className:b,style:S,dataset:C,"data-testid":I,role:k,"aria-modal":v,"aria-label":A,"aria-labelledby":w,"aria-describedby":D})=>{let M=n??o,_=l??s,$={...S,"--directional-overlay-desktop-size-pct":s,"--directional-overlay-mobile-size-pct":_,"--directional-overlay-small-mobile-size-pct":p??_},B=ne=>{(ne.key==="Enter"||ne.key===" ")&&(ne.preventDefault(),d?.(ne))},V=Xu[o],L=Xu[M],z=r?Xu[r]:void 0,K=h(NP,e&&EP,g,e&&f),ye=h(PP,V.desktop,L.mobile,z?.smallMobile,e&&wp,e&&V.desktopOpen,e&&L.mobileOpen,e&&z?.smallMobileOpen,b),se=x(ue,{children:[u&&i("div",{className:K,onClick:d,onKeyDown:B,ref:y,role:"presentation"}),i("aside",{...te(C),"aria-describedby":D,"aria-label":A,"aria-labelledby":w,"aria-modal":v,className:ye,"data-testid":I,role:k,style:$,children:t})]});return m?(0,RP.createPortal)(se,m):se};GS.displayName="DirectionalOverlay";var zS="toggleButtonsWrapper",US="dropdownWrapper",WS="skeletonWrapper",FP=c` 4618 width: 100%; 4619`,aj=c` 4620 display: flex; 4621 justify-content: center; 4622 padding-top: ${a("--spacing-xxxs")}; 4623 flex-wrap: wrap; 4624 4625 ${N} { 4626 justify-content: start; 4627 overflow-x: auto; 4628 flex-wrap: nowrap; 4629 ${tT} 4630 } 4631 4632 *[dir='rtl'] & { 4633 flex-direction: row-reverse; 4634 } 4635`,rj=c` 4636 margin-inline: 0; 4637 4638 ${N} { 4639 &::before, 4640 &::after { 4641 content: ''; 4642 flex: 0 0 ${a("--spacing-xl")}; 4643 } 4644 margin-inline: calc(${a("--spacing-xl")} * -1); 4645 } 4646`,BP=c` 4647 ${aj} 4648 ${rj} 4649`,$P=c` 4650 display: flex; 4651 flex-wrap: wrap; 4652 justify-content: center; 4653 width: 100%; 4654 4655 & > div { 4656 margin: auto; 4657 4658 & > div:not(:last-of-type):not(.${zS}) { 4659 margin-bottom: calc(${a("--spacing-xxl")} * 2); 4660 } 4661 } 4662`,QS="toggleButton-active",ij=c` 4663 border-radius: 64px; 4664 cursor: pointer; 4665 font-weight: ${a("--action-desktop-font-weight")}; 4666 line-height: ${a("--action-desktop-font-line-height")}; 4667 text-decoration: none; 4668 transition: transform 150ms ease-in-out; 4669 white-space: nowrap; 4670 z-index: ${Pe.BUTTON}; 4671 4672 @media (hover: hover) { 4673 &:hover:not(:disabled) { 4674 box-shadow: ${a("--box-shadow-xl")}; 4675 transform: translateY(-2px); 4676 } 4677 } 4678 4679 &:active:not(:disabled) { 4680 box-shadow: ${a("--box-shadow-m")}; 4681 transform: translateY(-1px); 4682 } 4683 4684 ${N} { 4685 font-weight: ${a("--action-mobile-font-weight")}; 4686 line-height: ${a("--action-mobile-font-line-height")}; 4687 } 4688`,sj=c` 4689 margin-inline: ${a("--spacing-xs")}; 4690 margin-bottom: ${a("--spacing-xl")}; 4691 font-size: ${a("--action-desktop-font-size")}; 4692 padding: ${a("--spacing-s")} ${a("--spacing-xl")}; 4693 border: ${a("--border-width-xs")} solid ${a("--chart-toggle-buttons-border-color")}; 4694 background-color: ${a("--chart-toggle-buttons-bg-color")}; 4695 color: ${a("--chart-toggle-buttons-color")}; 4696 4697 ${N} { 4698 font-size: ${a("--action-mobile-font-size")}; 4699 } 4700 4701 &.${QS} { 4702 border: ${a("--border-width-xs")} solid ${a("--chart-toggle-buttons-active-border-color")}; 4703 background-color: ${a("--chart-toggle-buttons-active-bg-color")}; 4704 color: ${a("--chart-toggle-buttons-active-color")}; 4705 } 4706`,LP=c` 4707 ${ij} 4708 ${sj} 4709`,HP=c` 4710 display: flex; 4711 flex-wrap: wrap; 4712 justify-content: center; 4713 position: relative; 4714 width: 100%; 4715 4716 & > * { 4717 box-sizing: border-box; 4718 margin-left: ${a("--spacing-m")}; 4719 margin-right: ${a("--spacing-m")}; 4720 4721 ${N} { 4722 margin-left: 0; 4723 margin-right: 0; 4724 width: 100%; 4725 } 4726 4727 width: 100%; 4728 } 4729`,VP=c` 4730 align-items: flex-start; 4731 column-gap: ${a("--spacing-m")}; 4732 display: flex; 4733 min-height: 70vh; 4734 row-gap: ${a("--spacing-xl")}; 4735 4736 ${N} { 4737 flex-direction: column; 4738 4739 & > * { 4740 width: 100%; 4741 } 4742 4743 /** Style buttons in dropdown component */ 4744 button { 4745 width: 100%; 4746 } 4747 } 4748 4749 ${H} { 4750 flex-wrap: wrap; 4751 4752 & > *:not(.${US}, .${WS}) { 4753 width: 100%; 4754 } 4755 } 4756`,OP=c` 4757 display: flex; 4758 flex-direction: column; 4759 gap: ${a("--spacing-xs")}; 4760 justify-content: end; 4761 4762 label { 4763 font-size: ${a("--action-desktop-font-size")}; 4764 font-weight: ${a("--action-desktop-font-weight")}; 4765 4766 ${N} { 4767 font-size: ${a("--action-mobile-font-size")};
4768 font-weight: ${a("--action-mobile-font-weight")}; 4769 } 4770 } 4771 4772 ${N} { 4773 width: 100%; 4774 } 4775`,GP=c` 4776 ${H} { 4777 margin-block-start: calc(24px + ${a("--spacing-xs")}); 4778 } 4779`;var lj="rgb(232, 232, 235)",zP=c` 4780 /** align with dropdown */ 4781 margin-block-start: 17px; 4782`,UP=c` 4783 background-color: ${a("--dropdown-skeleton-animation-default-color")}; 4784 border-radius: ${a("--border-radius-m")}; 4785 height: 6px; 4786 margin-block-end: ${a("--spacing-xs")}; 4787 width: 51px; 4788`,WP=c` 4789 align-items: center; 4790 background-color: ${a("--dropdown-menu-bg-color")}; 4791 border: ${a("--dropdown-button-border-width")} solid ${a("--dropdown-button-border-color")}; 4792 border-radius: ${a("--dropdown-button-border-radius")}; 4793 box-shadow: ${a("--dropdown-button-shadow")}; 4794 color: ${a("--fg-color")}; 4795 display: flex; 4796 gap: 6px; 4797 justify-content: space-between; 4798 min-width: 160px; 4799 padding: ${a("--spacing-s")} ${a("--spacing-m")}; 4800`,qS=c` 4801 background-color: ${a("--dropdown-skeleton-animation-default-color")}; 4802 border-radius: ${a("--border-radius-m")}; 4803 height: 12px; 4804 4805 &:nth-child(1) { 4806 flex: 0 0 48px; 4807 } 4808 4809 &:nth-child(2) { 4810 flex: 1 1 100%; 4811 } 4812 4813 ${H} { 4814 &:nth-child(1) { 4815 flex: 0 0 28px; 4816 } 4817 } 4818`,Ju=c` 4819 overflow: hidden; 4820 position: relative; 4821 4822 &::before { 4823 animation: dropdown-skeleton 2s infinite; 4824 background: linear-gradient( 4825 0.25turn, 4826 transparent, 4827 ${a("--dropdown-skeleton-animation-color")}, 4828 transparent 4829 ); 4830 content: ''; 4831 height: 100%; 4832 left: 0; 4833 opacity: 0.8; 4834 pointer-events: none; 4835 position: absolute; 4836 top: 0; 4837 transform: translateX(-100%); 4838 width: 100%; 4839 } 4840 4841 @keyframes dropdown-skeleton { 4842 0% { 4843 transform: translateX(-100%); 4844 } 4845 30% { 4846 transform: translateX(-100%); 4847 } 4848 100% { 4849 transform: translateX(100%); 4850 } 4851 } 4852`,QP=c` 4853 flex: 0 0 20px; 4854`,qP=c` 4855 fill: ${lj}; 4856 position: relative; 4857 top: 1px; 4858 transform: rotate(0deg); 4859 transition: transform 250ms; 4860`;var KP=()=>x("aside",{className:h("sdsm-dropdown-skeleton",WS,zP),children:[i("div",{className:h(UP,Ju)}),x("div",{className:h(WP),children:[i("div",{className:h(qS,Ju)}),i("div",{className:h(qS,Ju)}),i("div",{className:QP,children:i(Te,{size:20,className:qP,name:"chevron-down"})})]})]});var jP=c` 4861 color: ${a("--emphasized-text-color")}; 4862 font-style: normal; 4863`;var YP=({text:e})=>(q("sdsm-empahasized-text"),e?i("em",{className:h("sdsm-empahasized-text",jP),children:e}):null);var o2=T(P());var XP=c` 4864 ${N} { 4865 display: none; 4866 } 4867 4868 ${H} { 4869 display: block; 4870 } 4871`,JP=c` 4872 border: none; 4873 background-color: inherit; 4874 color: ${a("--fg-color")}; 4875 cursor: pointer; 4876 align-items: center; 4877 display: flex; 4878 padding-block: ${16}px; 4879 margin-inline-end: ${32}px; 4880`,ZP=c` 4881 ${N} { 4882 position: relative; 4883 } 4884 4885 ${H} { 4886 display: none; 4887 } 4888`,e2=c` 4889 ${N} { 4890 width: 100%; 4891 } 4892`,KS=c` 4893 cursor: pointer; 4894 font-family: inherit; 4895 overflow: hidden; 4896 text-overflow: ellipsis; 4897 white-space: nowrap; 4898 4899 *[dir='rtl'] & { 4900 text-align: right; 4901 } 4902 4903 ${N} { 4904 background: none; 4905 border: none; 4906 padding-block: ${8}px; 4907 padding-inline-end: ${32}px; 4908 /* stylelint-disable-next-line property-no-vendor-prefix */ 4909 -webkit-appearance: none; 4910 appearance: none; 4911 width: 100%; 4912 } 4913`,jS=c` 4914 font-size: ${a("--h6-desktop-font-size")}; 4915 font-weight: ${a("--h6-desktop-font-weight")}; 4916 line-height: 120%; 4917 4918 ${N} { 4919 ${Ya.M400}; 4920 line-height: 28px; 4921 } 4922`,t2=c` 4923 color: ${a("--fg-color")}; 4924 font-size: 14px; 4925 font-weight: 500; 4926 line-height: 20px; 4927 margin-inline-end: ${8}px; 4928 width: 100%; 4929`,YS=c` 4930 font-size: 16px; 4931 pointer-events: none; 4932 4933 svg { 4934 fill: ${a("--fg-color")}; 4935 } 4936 4937 ${H} { 4938 margin-block-start: 3px; 4939 margin-inline-start: 9px; 4940 4941 *[dir='rtl'] & { 4942 margin-right: ${8}px; 4943 } 4944 } 4945 4946 ${N} { 4947 position: absolute; 4948 right: 4px; 4949 top: 50%; 4950 transform: translateY(-50%); 4951 4952 *[dir='rtl'] & { 4953 left: 4px; 4954 right: auto; 4955 } 4956 } 4957`;var Zu="all",XS=({title:e,onChange:t,isStandalone:o=!0,value:n,allItemTitle:r,items:s,dataset:l})=>{q("sdsm-filter-dropdown-menu");let p=(0,o2.useMemo)(()=>[{title:r,id:Zu,onClick:()=>t?.(void 0)},...s.map(({title:m,id:g})=>({title:m,id:g,onClick:()=>t?.(g)}))],[r,s,t]),d=y=>{y.target.value===Zu?t?.(void 0):t?.(y.target.value)},u=y=>x("button",{type:"button",onClick:y.onClick,onKeyDown:y.onKeyDown,onMouseDown:y.onMouseDown,"data-testid":"sds-dropdown-menu",className:JP,role:"combobox","aria-expanded":y.isExpanded,"aria-controls":y.ariaControl
4957s,"aria-haspopup":"listbox","aria-labelledby":y.ariaLabelledBy,"aria-label":y.ariaLabelledBy?void 0:y.ariaLabel,...te(l),children:[i("div",{"data-testid":"sds-dropdown-menu-title",className:h(KS,jS),children:y.children}),i("div",{className:YS,children:i(Te,{size:24,name:y.isExpanded?"chevron-up":"chevron-down"})})]});return x(ue,{children:[i("div",{"data-testid":"sds-dropdown-menu-container",className:h("sdsm-filter-dropdown-menu",XP),children:i(ls,{placeholderText:e,selectedItemId:n,items:p,ariaLabel:e,buttonComponent:u})}),x("div",{"data-testid":"sds-dropdown-menu-container-mobile",className:ZP,...te(l),children:[i("select",{"data-testid":"sds-dropdown-menu-mobile",className:h(e2,KS,{[jS]:o,[t2]:!o}),value:n,onChange:d,"aria-label":e,children:p.map(({title:y,id:m})=>i("option",{value:m,children:y},m))}),i("div",{className:YS,children:i(Te,{name:"chevron-down"})})]})]})};XS.displayName="FilterDropdownMenu";var Po=T(P());var ey=T(P());var n2=({links:e,isUrlCurrent:t,focusSection:o,isRTL:n})=>{let r=(0,ey.useRef)([]),{Anchor:s}=(0,ey.useContext)(He),l=u=>y=>{if(y.key==="ArrowDown"){let m=r.current[u+1];m&&m.focus()}if(y.key==="ArrowUp"){let m=r.current[u-1];m&&m.focus()}y.key===(n()?"ArrowRight":"ArrowLeft")&&o()},p=u=>()=>{Du(u)&&requestAnimationFrame(()=>window.scrollTo(0,0))},d=(u,y)=>{let m={ref:f=>{r.current[y]=f},onKeyDown:l(y),onClick:p(u.url),role:"menuitem"},g=t?.(u.url)?"page":void 0;return i(s,{href:u.url,target:u.inNewTab?"_blank":void 0,rel:u.inNewTab?"noopener":void 0,...m,"aria-current":g,children:u.title})};return i(ue,{children:e.map((u,y)=>{let m=t?.(u.url);return i("li",{className:h(L1,{[V1]:m}),...te(u.dataset),children:d(u,y)},y)})})};var JS=(0,Po.memo)(({className:e,items:t,isUrlCurrent:o,dataset:n,motifScheme:r,backgroundColor:s,motifSchemeMobile:l,mobileBackgroundColor:p,onSectionClick:d})=>{q("sdsm-side-navigation");let u=(0,Po.useContext)(Ze),{formatMessage:y}=(0,Po.useContext)(We),{width:m}=hn(),g=Hk(u),f=(0,Po.useRef)(null),b=(0,Po.useRef)([]),S=t.findIndex(B=>B.links.find(V=>o?.(V.url))),[C,I]=(0,Po.useState)(S),[k,v]=(0,Po.useState)(!g);(0,Po.useEffect)(()=>{I(S)},[o]);let A=()=>!!f?.current?.closest('[dir="rtl"]'),w=B=>V=>{V.preventDefault();let L=B!==C;I(L?B:null),d?.(t[B]?.title??"unknown",L,t[B]?.id)},D=B=>V=>{if(V.key==="ArrowDown"){let L=b.current[B+1];L&&L.focus()}if(V.key==="ArrowUp"){let L=b.current[B-1];L&&L.focus()}V.key==="ArrowRight"&&I(A()?null:B),V.key==="ArrowLeft"&&I(A()?B:null)},M=B=>{let V=b.current[B];V&&V.focus()},_=()=>{v(!k)},F=(0,Po.useMemo)(()=>m&&m<=Mo,[m]);(0,Po.useEffect)(()=>{v(!F)},[F]);let $=y({id:"secondaryNavigationLabel",defaultMessage:"Secondary Navigation"});return x("section",{"data-testid":"sdsm-side-navigation",className:h("sdsm-side-navigation",F?l??Ne(p):r??Ne(s),N1,{[E1]:!k},e),children:[x("button",{type:"button","data-testid":"sdsm-side-navigation-mobile-toggle","aria-label":t[S]?.title??$,className:O1,onClick:_,children:[i("span",{children:t[S]?.title??$}),i(Te,{className:G1,name:k?"chevron-up":"chevron-down"})]}),i("nav",{"data-testid":"sdsm-side-navigation-links","aria-label":$,ref:f,className:R1,style:{display:k?"block":"none"},...te(n),children:i("ul",{role:"menubar","aria-label":$,children:t.map((B,V)=>{let L=B.links.some(z=>o?.(z.url));return x("li",{children:[x("button",{ref:z=>{b.current[V]=z},type:"button",onKeyDown:D(V),onClick:w(V),role:"menuitem","aria-haspopup":t[V].links.length>0,"aria-expanded":C===V,className:h(F1,{[B1]:C===V,[$1]:L}),tabIndex:0,"aria-label":B.title,children:[i("span",{...te(B.dataset),children:B.title}),x("span",{className:H1,children:[i(Te,{className:$u,name:C===V?"chevron-up":"chevron-down",size:18}),i(Te,{className:$u,name:C===V?"chevron-up":"chevron-down",size:18}),i(Te,{className:$u,name:C===V?"chevron-up":"chevron-down",size:18})]})]}),i("ul",{role:"menu","aria-label":B.title,style:{display:C===V?"block":"none"},children:i(n2,{links:B.links,isUrlCurrent:o,focusSection:()=>M(V),isRTL:A})})]},V)})})})]})});JS.displayName="SideNavigation";var a2=c` 4958 color: ${a("--footer-bar-fg-color")}; 4959 background-color: ${a("--footer-bar-bg-color")}; 4960 border-top: 1px solid ${a("--footer-bar-divider-border-color")}; 4961 display: flex; 4962 justify-content: center; 4963`,r2=c` 4964 display: flex; 4965 justify-content: center; 4966 max-width: ${Qt}px; 4967 width: 100%; 4968`,i2=c` 4969 @media screen and (min-width: ${ct+1}px) { 4970 padding-inline-start: ${Do}px; 4971 } 4972`,PSe=c` 4973 max-width: unset; 4974`,s2=c` 4975 box-sizing: border-box; 4976 display: flex; 4977 flex-direction: column; 4978 justify-content: space-between; 4979 max-width: ${ct}px; 4980 padding-block: ${a("--spacing-xl")}; 4981 position: relative; 4982 white-space: nowrap; 4983 width: 100%; 4984 4985 ${H} { 4986 padding-block: ${a("--spacing-s")}; 4987 padding-inline: ${a("--spacing-xl")}; 4988 } 4989 4990 ${To} { 4991 gap: 27px; 4992 padding-block: ${a("--spacing-l")}; 4993 padding-inline: ${a("--spacing-xxxxl")}; 4994 } 4995 4996 ${Sn} { 4997 flex-direction: row; 4998 gap: 0; 4999 padding-inline: ${a("--spacing-xxxxl")}; 5000 5001 div { 5002 width: auto; 5003 } 5004 } 5005 5006 ${N} { 5007 gap: 0; 5008 padding-inline: ${a("--spacing-xl")}; 5009 } 5010`;var ZS=({children:e,backgroundColor:t,hasSideNav:o})=>i("div",{"data-testid":"footer-bar",className:h(rM,Ne(t),a2),children:i("div",{className:h(aM,r2,{[i2]:o}),children:i("div",{className:h(nM,s2),children:e})})});var I2=T(P());var l2=T(P()),Lr=(0,l2.createContext)({});var p2=c` 5011 border-top-color: ${a("--footer-border-color")}; 5012 border-top-style: solid; 5013 border-top-width: 1px; 5014 color: ${a("--footer-fg-color")}; 5015 background-color: ${a("--footer-bg-color")}; 5016 display: flex; 5017 justify-content: center; 5018`,c2=c` 5019 display: flex; 5020 justify-content: center; 5021 max-width: ${Qt}px; 5022 width: 100%; 5023`,d2=c` 5024 @media screen and (min-width: ${ct+1}px) { 5025 padding-inline-start: ${Do}px; 5026 } 5027`,Ci=c` 5028 box-sizing: border-box; 5029 display: flex; 5030 flex-wrap: wrap; 5031 gap: ${a("--spacing-m")}; 5032 max-width: ${ct}px; 5033 padding-block: ${a("--spacing-xl")}; 5034 padding-inline: ${a("--spacing-l")}; 5035 width: 100%; 5036 5037 ${To} { 5038 padding-inline: ${a("--spacing-xxxxl")}; 5039 } 5040 5041 ${Sn} { 5042 padding-inline: ${a("--spacing-xxxxl")}; 5043 } 5044`,u2=c` 5045 justify-content: space-between; 5046`,y2=c` 5047 box-sizing: border-box; 5048`,m2=c` 5049 align-items: center; 5050 border-top: 1px solid ${a("--footer-divider-border-color")}; 5051 color: ${a("--footer-fg-color")}; 5052 background-color: ${a("--footer-bg-color")}; 5053 display: block; 5054 padding-block: ${a("--spacing-xl")} ${a("--spacing-xl")}; 5055 padding-inline: ${a("--spacing-xl")}; 5056`,g2=c` 5057 > div { 5058 width: 100%; 5059 } 5060`,f2=c` 5061 > div { 5062 width: calc((100% - ${a("--spacing-m")}) / 2); 5063 } 5064`,b2=c` 5065 > div { 5066 width: calc((100% - (${a("--spacing-m")} * 2)) / 3); 5067 } 5068`,S2=c` 5069 > div { 5070 width: calc((100% - (${a("--spacing-m")} * 3)) / 4); 5071 } 5072`,h2=c` 5073 > div { 5074 width: calc((100% - (${a("--spacing-m")} * 4)) / 5); 5075 } 5076 5077 ${Sn} { 5078 > div { 5079 width: calc((100% - (${a("--spacing-m")} * 5)) / 6); 5080 } 5081 } 5082`;var C2=({hasSideNav:e,children:t})=>{let o=h(Ci),n=Array.isArray(t)?t.filter(r=>!!r).length:1;switch(n){case 1:o=h(Ci,g2);break;case 2:o=h(Ci,f2);break;case 3:o=h(Ci,b2);break;case 4:o=h(Ci,S2);break;default:o=h(Ci,h2);break}return n<=6&&(o=h(o,u2)),i("article",{"data-testid":"footer-columns-desktop",className:h(iM,p2),children:i("div",{className:h(sM,c2,{[d2]:e}),children:i("div",{className:o,children:t})})})};var x2=T(P());var v2=({children:e,backgroundColor:t})=>{let[o,n]=(0,x2.useState)();return i(Lr.Provider,{value:{mode:rt.Mobile,expandedItem:o,setExpandedItem:n},children:i("div",{"data-testid":"footer-columns-mobile",className:h(Ne(t),m2,y2),children:e})})};var k2=({children:e,...t})=>{let{mode:o}=(0,I2.useContext)(Lr);return o===rt.Mobile?i(v2,{...t,children:e}):i(C2,{...t,children:e})};var Dp=T(P());var M2=c`
5083 font-weight: ${a("--footer-bar-header-font-weight")}; 5084 text-transform: ${a("--footer-bar-header-mobile-font-text-transform")}; 5085 padding-inline-end: ${a("--spacing-xl")}; 5086 word-break: break-word; 5087 5088 ${H} { 5089 padding-inline-end: 0; 5090 text-transform: ${a("--footer-bar-header-desktop-font-text-transform")}; 5091 } 5092`,T2=c` 5093 ${H} { 5094 margin-block-end: ${a("--spacing-xs")}; 5095 } 5096`,A2=c` 5097 border-bottom: 1px solid ${a("--footer-border-color")}; 5098 font-size: ${a("--footer-desktop-font-size")}; 5099 line-height: 16px; 5100 padding-block: ${a("--spacing-m")}; 5101 padding-inline: 0 ${a("--spacing-m")}; 5102 color: ${a("--fg-color")}; 5103 5104 &:first-child { 5105 padding-block-start: ${a("--spacing-s")}; 5106 } 5107 5108 &:last-child { 5109 border-bottom: 0; 5110 } 5111 5112 ${H} { 5113 border-bottom: 0; 5114 padding-bottom: ${a("--spacing-xxs")}; 5115 padding-inline: 0; 5116 padding-top: 0; 5117 5118 &:first-child { 5119 padding-block-start: 0; 5120 } 5121 } 5122 5123 ${N} { 5124 font-size: ${a("--footer-mobile-font-size")}; 5125 font-weight: ${a("--action-mobile-font-weight")}; 5126 } 5127`,eh=c` 5128 display: flex; 5129 flex-direction: column; 5130 list-style-type: none; 5131 margin: 0; 5132 padding-block: ${a("--spacing-s")} 0; 5133 padding-inline: 0; 5134 width: 100%; 5135 5136 ${H} { 5137 padding: 0; 5138 } 5139`,ty=c` 5140 a { 5141 margin-inline: 0; 5142 white-space: unset; 5143 } 5144 5145 li { 5146 margin: 0; 5147 } 5148 5149 align-items: flex-start; 5150 border: 0; 5151 display: flex; 5152 flex-direction: column; 5153 gap: ${a("--spacing-m")}; 5154 padding-block: ${a("--spacing-s")}; 5155 5156 ${H} { 5157 align-items: center; 5158 flex-direction: row; 5159 gap: ${a("--spacing-l")}; 5160 padding-block: 0; 5161 5162 &:first-child { 5163 padding-block-start: 0; 5164 } 5165 } 5166 5167 ${Sn} { 5168 &:first-child { 5169 margin-inline-start: 0; 5170 } 5171 5172 &:last-child { 5173 margin-inline-end: 0; 5174 } 5175 } 5176`;var _2=({id:e,children:t,title:o,orientation:n="Vertical",isFooterBar:r,onToggle:s})=>{let{mode:l}=(0,Dp.useContext)(Lr),p=h(A2,{[ty]:n==="Horizontal"}),d=h(M2,{[T2]:n==="Vertical"}),u=(0,Dp.useMemo)(()=>o?typeof o!="string"?o:i("div",{className:d,children:i("span",{children:o})}):null,[o,d]),y=(0,Dp.useMemo)(()=>t?i("ul",{className:h(eh,{[ty]:n==="Horizontal"}),children:t}):null,[t,n]);return r&&l===rt.Mobile?i("ul",{className:h(eh,{[ty]:n==="Horizontal"}),children:t}):l===rt.Mobile?i(un,{showChevron:!!o,summary:o,summaryProps:{className:d},className:p,fadeInAnimation:!0,transitionDurationMs:300,disableScrollToOnOpen:r,summaryOnClick:()=>{s?.(e,typeof o=="string"?o:"unknown")},children:y}):x("div",{"data-testid":"footer-group",className:p,children:[u,y]})};var P2=T(P());var w2=c` 5177 margin: ${a("--spacing-s")} 0; 5178 5179 ${H} { 5180 margin: ${a("--spacing-xxs")} 0; 5181 } 5182`,D2=c` 5183 color: ${a("--action-text-default-color")}; 5184 /* Set font-family here or the var from the default motif is used */ 5185 font-family: ${a("--font-family")}; 5186 font-size: ${a("--footer-desktop-font-size")}; 5187 font-weight: ${a("--action-desktop-font-weight")}; 5188 text-decoration: none; 5189 white-space: pre-wrap; 5190 5191 @media (hover: hover) { 5192 &:hover { 5193 color: ${a("--action-text-hover-color")}; 5194 text-decoration: underline; 5195 text-decoration-thickness: ${a("--spacing-xxxs")}; 5196 text-underline-offset: ${a("--spacing-xxxs")}; 5197 } 5198 } 5199 5200 ${H} { 5201 margin: 0; 5202 margin-inline-end: ${a("--spacing-s")}; 5203 } 5204`;var N2=({id:e,url:t,title:o,onClick:n})=>{let{Anchor:r}=(0,P2.useContext)(He);return i("li",{"data-testid":"footer-item",id:e,className:w2,children:i(r,{href:t,onClick:n,className:D2,children:o})})};var E2=c` 5205 color: ${a("--footer-fg-color")}; 5206 background-color: ${a("--footer-bg-color")}; 5207 border-top-color: ${a("--footer-divider-border-color")}; 5208 border-top-style: solid; 5209 border-top-width: 2px; 5210 display: flex; 5211 justify-content: center; 5212 width: 100%; 5213`,R2=c` 5214 display: flex; 5215 justify-content: center; 5216 max-width: ${Qt}px; 5217 width: 100%; 5218`,F2=c` 5219 @media screen and (min-width: ${ct+1}px) { 5220 padding-inline-start: ${Do}px; 5221 } 5222`,B2=c` 5223 align-items: center; 5224 color: ${a("--fg-color")}; 5225 display: flex; 5226 flex-direction: row; 5227 flex-wrap: wrap; 5228 gap: ${a("--spacing-l")}; 5229 max-width: ${ct}px; 5230 padding-block: ${a("--spacing-m")}; 5231 padding-inline: ${a("--spacing-xl")}; 5232 position: relative; 5233 width: 100%; 5234 5235 ${H} { 5236 flex-direction: row; 5237 justify-content: center; 5238 padding-block: ${a("--spacing-m")}; 5239 padding-inline: ${a("--spacing-xxxxl")}; 5240 } 5241`,$2=c` 5242 display: flex; 5243 flex-wrap: wrap; 5244 align-items: center; 5245 gap: ${a("--spacing-s")}; 5246`;var L2=({title:e,hasSideNav:t,children:o})=>i("section",{"data-testid":"footer-social",className:h(lM,E2),children:i("div",{className:h(pM,R2,{[F2]:t}),children:x("div",{className:B2,children:[e&&i("h5",{children:e}),i("div",{className:$2,children:o})]})})});var oy=({children:e,motifScheme:t,backgroundColor:o,className:n})=>{let r=Zo();return q("sdsm-footer"),i(Lr.Provider,{value:{mode:r},children:i("footer",{"data-testid":"footer-v2",className:h("sdsm-footer",t??Ne(o),n),children:e})})};var H2=c` 5247 box-sizing: border-box; 5248 display: flex; 5249 gap: 0.25em; 5250 margin: 0 auto ${a("--spacing-m")}; 5251 max-width: ${ct}px; 5252 padding: 0 ${a("--spacing-xl")}; 5253 ${qt} 5254 5255 ${N} { 5256 padding: 0 ${a("--spacing-m")}; 5257 } 5258 5259 p { 5260 margin-bottom: 0; 5261 } 5262 5263 a { 5264 ${qt} 5265 5266 ${H} { 5267 font-weight: ${a("--hyperlink-desktop-font-weight")}; 5268 } 5269 5270 ${N} {
5271 font-weight: ${a("--hyperlink-mobile-font-weight")}; 5272 } 5273 } 5274`,V2=c` 5275 font-size: 10px; 5276 line-height: 18px; 5277`;var th=({index:e,children:t})=>(q("sdsm-footnote"),x("div",{"data-testid":"sdsm-footnote",className:h("sdsm-footnote",H2),children:[i("span",{className:V2,children:x(lp,{children:[e," "]})}),i("span",{children:t})]}));th.displayName="Footnote";var Hr=T(P());var O2=c` 5278 background-color: ${a("--footnote-bg-color")}; 5279 border-top: 1px solid ${a("--footnote-border-color")}; 5280`,G2=c` 5281 color: ${a("--footnote-fg-color")}; 5282 margin: 0px auto; 5283 max-width: ${ct}px; 5284 padding: 0 ${a("--spacing-xl")}; 5285 5286 ${N} { 5287 padding: 0 ${a("--spacing-m")}; 5288 } 5289`,z2=c` 5290 display: none; 5291 5292 @media print { 5293 display: block; 5294 padding-block: ${a("--spacing-l")}; 5295 } 5296`,U2=c` 5297 padding-bottom: 0; 5298 5299 @media print { 5300 display: none; 5301 } 5302`,oh=c` 5303 color: ${a("--footnote-title-color")}; 5304 font-size: ${a("--h6-desktop-font-size")}; 5305 font-weight: 500; 5306 height: 92px; 5307 line-height: 28px; 5308 margin: 0 auto; 5309 max-width: ${ct}px; 5310 padding-inline-start: ${a("--spacing-xl")}; 5311 5312 ${N} { 5313 padding: 0 ${a("--spacing-m")}; 5314 } 5315 5316 & > svg { 5317 background-color: transparent; 5318 border-radius: 100%; 5319 height: 32px; 5320 padding: 6px; 5321 transition: background-color 0.2s linear; 5322 width: 32px; 5323 } 5324 5325 &:hover { 5326 & > svg { 5327 background-color: ${a("--footnote-icon-hover-bg-color")}; 5328 } 5329 } 5330`,W2=c` 5331 padding-bottom: ${a("--spacing-m")}; 5332`;var Q2="White",pj=300,cj={className:tu,fill:a("--icon-color")},dj={className:oh},nh=({title:e,isOpenInitially:t,children:o,className:n})=>{let[r,s]=(0,Hr.useState)(t),l=(0,Hr.useRef)(null),p=(0,Hr.useCallback)(()=>{s(d=>!d)},[]);return Hr.Children.count(o)===0?null:i("footer",{"data-testid":"sdsm-footnotes",className:h(O2,n),children:x("div",{className:G2,children:[x("div",{className:z2,children:[i("h2",{className:oh,children:e}),o]}),i(un,{summary:e,detailsRef:l,chevronProps:cj,className:U2,summaryProps:dj,onToggle:p,fadeInAnimation:!0,transitionDurationMs:pj,open:r,children:i("div",{className:W2,children:o})})]})})};nh.displayName="FootnoteBlock";var Wn=T(P());var X2=T(P());var q2=/^$|^(?:\P{L}*\p{L}){2}/u,K2={Email:new RegExp('^$|^(([^<>()[\\]\\.,;:\\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,}))$'),Name:/^(?!\s*$).+/,"Email (English only)":/^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,"Name (min two characters)":q2,"Business Name":q2,Domain:/^$|^(?=.{4,253}$)(?:[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,61}[\p{L}\p{N}])?\.)+\p{L}{2,63}$/u,"Domain (English only)":/^$|^(?=.{4,253}$)(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/};function j2(e){if(e.error)return!1;for(let t of Object.keys(e.fields))if(e.fields[t]&&e.fields[t].hasError)return!1;return!0}var ah=(e,t)=>e.required&&(Array.isArray(t)&&t.length===0||!Array.isArray(t)&&(String(t).trim()===""||!t))?!0:!e.validation||!K2[e.validation]||typeof t!="string"?!1:!K2[e.validation].test(t),ny={type:"initial",fields:{},formBody:{}};function Y2(e,t){switch(e=Ho(e),t.type){case"registerField":{let o=aa(e.fields[t.name]??{},t.field);e.fields[t.name]=o,e.formBody[t.name]=t.field.initialValue,e.type!=="initial"&&(o.hasError=ah(o,t.field.initialValue));break}case"changeFieldValue":{e.lastChangedFieldName=t.name,e.formBody=Ho(e.formBody),e.formBody[t.name]=t.value,e.fields[t.name]||(e.fields[t.name]={});let o=e.fields[t.name];o.hasError=ah(o,t.value),e.type=j2(e)?"ready":"invalid",e.error=void 0;break}case"invalidateField":{e.fields[t.name].hasError=!0,e.type="invalid";break}case"submitTrigger":{for(let o of Object.keys(e.fields)){let n=e.fields[o];n&&(n.hasError=ah(n,e.formBody[o]))}e.type=j2(e)?"submitting":"invalid";break}case"submitFailure":{e.type="submitFailure",e.errorStatusCode=t.errorStatusCode,e.error=t.error;break}case"submitSuccess":{e.type="submitSuccess",e.formBody={};for(let o of Object.keys(e.fields)){let n=e.fields[o];n.hasError=!1,e.formBody[o]=n.shouldResetToInitial?n.initialValue:void 0}e.error=void 0;break}default:throw new Error(`Unhandled action type for ${JSON.stringify(t)}`)}return e}var yo=(0,X2.createContext)({state:ny,dispatch:ko});var mN=T(P());var J2=c` 5333 display: flex; 5334 align-items: center; 5335 flex-direction: column; 5336 width: 100% !important; 5337 max-width: 650px; 5338 margin: auto; 5339 /* extra margin for button shadow */ 5340 margin-bottom: ${a("--spacing-m")}; 5341`,Z2=c` 5342 display: flex; 5343 align-items: flex-start; 5344 column-gap: ${a("--form-grid-gap")}; 5345 width: 100%; 5346 5347 /* Add extra top spacing if there is a label */ 5348 &:not(:first-child) label { 5349 margin-top: ${a("--spacing-m")}; 5350 } 5351 5352 ${N} { 5353 flex-direction: column; 5354 } 5355`,eN=c` 5356 margin-bottom: ${a("--spacing-xs")}; 5357`,rh=c` 5358 ${Tt} 5359 color: ${a("--form-input-placeholder-color")}; 5360 margin-top: ${a("--spacing-xs")}; 5361`,Pp=c` 5362 ${rh} 5363 5364 color: ${a("--form-input-error-color")}; 5365`,tN=c` 5366 width: 100%; 5367 text-align: center; 5368 margin-top: ${a("--spacing-m")}; 5369`,oN=c` 5370 display: block; 5371 text-align: start; 5372 border-color: ${a("--form-input-border-color")}; 5373 border-style: solid; 5374 border-width: ${a("--form-input-border-width")}; 5375 border-radius: ${a("--spacing-m")}; 5376 background-color: ${a("--form-input-bg-color")}; 5377 box-shadow: ${a("--form-input-box-shadow")}; 5378 color: ${a("--form-input-error-color")}; 5379 margin-top: ${a("--spacing-s")}; 5380 padding: ${a("--spacing-m")}; 5381 word-wrap: break-word; 5382`,nN=c` 5383 justify-content: center; 5384 5385 margin-top: ${a("--spacing-xl")}; 5386 margin-bottom: ${a("--spacing-xl")}; 5387 5388 ${N} { 5389 width: 100%; 5390 max-width: 350px; 5391 margin-top: ${a("--spacing-m")}; 5392 margin-bottom: ${a("--spacing-m")}; 5393 } 5394`,aN=c` 5395 display: flex; 5396 flex-direction: column; 5397 width: 100%; 5398 margin-bottom: ${a("--spacing-m")}; 5399 5400 *[dir='rtl'] & > select { 5401 background-position: left ${a("--spacing-l")} top 50%; 5402 } 5403`,or=c` 5404 border-color: ${a("--form-input-error-color")}; 5405 border-style: solid; 5406 border-width: ${a("--form-input-border-width")}; 5407 5408 &[type='checkbox'] { 5409 border-width: ${a("--form-input-selection-control-border-width")}; 5410 } 5411 5412 &:hover { 5413 border-color: ${a("--form-input-error-color")}; 5414 border-style: solid; 5415 border-width: ${a("--form-input-border-width")}; 5416 5417 &[type='checkbox'] { 5418 border-width: ${a("--form-input-selection-control-border-width")}; 5419 } 5420 } 5421`,ih=c`
5422 cursor: not-allowed; 5423 opacity: 0.8; 5424`,Bs=c` 5425 background-color: ${a("--form-input-bg-color")}; 5426 border-color: ${a("--form-input-border-color")}; 5427 border-style: solid; 5428 border-width: ${a("--form-input-border-width")}; 5429 border-radius: ${a("--form-input-border-radius")}; 5430 box-shadow: ${a("--form-input-box-shadow")}; 5431 box-sizing: border-box; 5432 color: ${a("--form-input-fg-color")}; 5433 font-family: ${a("--font-family")}; 5434 height: ${a("--form-input-height")}; 5435 padding: ${a("--form-input-padding")}; 5436 width: 100%; 5437 5438 &[readonly] { 5439 ${ih} 5440 } 5441 5442 &:active, 5443 &:focus { 5444 border-color: ${a("--form-input-active-border-color")}; 5445 box-shadow: ${a("--form-input-active-box-shadow")}; 5446 } 5447 5448 &:focus-visible { 5449 outline: ${a("--form-input-border-width")} solid ${a("--form-input-active-border-color")}; 5450 outline-offset: -2px; 5451 } 5452 5453 &:hover { 5454 border-color: ${a("--form-input-hover-border-color")}; 5455 box-shadow: ${a("--form-input-hover-box-shadow")}; 5456 } 5457 5458 &[type='number']::-webkit-inner-spin-button { 5459 opacity: 1; 5460 } 5461 5462 &[type='date']::-webkit-calendar-picker-indicator { 5463 filter: invert(50%); 5464 } 5465 5466 ${H} { 5467 font-size: ${a("--form-input-desktop-font-size")}; 5468 line-height: ${a("--form-input-desktop-font-line-height")}; 5469 font-weight: ${a("--form-input-desktop-font-weight")}; 5470 font-stretch: ${a("--form-input-desktop-font-stretch")}; 5471 } 5472 5473 ${N} { 5474 font-size: ${a("--form-input-mobile-font-size")}; 5475 line-height: ${a("--form-input-mobile-font-line-height")}; 5476 font-weight: ${a("--form-input-mobile-font-weight")}; 5477 font-stretch: ${a("--form-input-mobile-font-stretch")}; 5478 } 5479`,uj="M4.95801 10.8631C4.43001 10.8631 3.91701 10.6511 3.54301 10.2771L0.293006 7.02713C-0.0979941 6.63613 -0.0979941 6.00413 0.293006 5.61313C0.684006 5.22213 1.31601 5.22213 1.70701 5.61313L4.95701 8.86313L12.253 0.655126C12.619 0.242126 13.251 0.205126 13.664 0.572126C14.077 0.940126 14.114 1.57113 13.747 1.98513L6.45201 10.1921C6.08701 10.6021 5.56301 10.8461 5.01601 10.8621C4.99601 10.8631 4.97701 10.8631 4.95801 10.8631Z",rN=c` 5480 appearance: none; 5481 background-color: ${a("--form-input-bg-color")}; 5482 border-color: ${a("--form-input-border-color")}; 5483 border-style: solid; 5484 border-width: ${a("--form-input-selection-control-border-width")}; 5485 border-radius: ${a("--form-input-checkbox-border-radius")}; 5486 display: grid; 5487 font: inherit; 5488 height: 20px; 5489 margin: 0; 5490 place-content: center; 5491 width: 20px; 5492 5493 &::before { 5494 box-shadow: inset 1em 1em ${a("--form-input-selection-control-active-color")}; 5495 clip-path: path('${uj}'); 5496 content: ''; 5497 height: 20px; 5498 margin: 8px 0px 0px 6px; 5499 transform: scale(0); 5500 width: 20px; 5501 } 5502 5503 &:checked::before { 5504 transform: scale(1); 5505 } 5506 5507 &:checked { 5508 background-color: ${a("--form-input-active-border-color")}; 5509 border-width: ${a("--border-width-none")}; 5510 box-shadow: ${a("--form-input-active-box-shadow")}; 5511 } 5512 5513 &:focus-visible { 5514 outline-color: ${a("--form-input-active-border-color")}; 5515 outline-style: solid; 5516 outline-width: ${a("--form-input-selection-control-border-width")}; 5517 outline-offset: -2px; 5518 } 5519 5520 &:not(:checked):hover { 5521 border-color: ${a("--form-input-hover-border-color")}; 5522 box-shadow: ${a("--form-input-hover-box-shadow")}; 5523 } 5524 5525 &[required]:not(:checked)::before { 5526 border-color: ${a("--form-input-error-color")}; 5527 } 5528 5529 &[readonly] { 5530 ${ih} 5531 } 5532`,iN=c` 5533 && { 5534 align-items: center; 5535 display: flex; 5536 gap: ${a("--spacing-s")}; 5537 5538 label { 5539 align-items: center; 5540 display: flex; 5541 justify-content: center; 5542 margin-top: 0; 5543 5544 a { 5545 &, 5546 &:hover, 5547 &:visited { 5548 /* TODO: See if this should be hyperlink color or its own */ 5549 color: ${a("--fg-color")}; 5550 /* Ensure hyperlinks are displayed in the same font size and weight as the label */ 5551 font-size: inherit; 5552 font-weight: inherit; 5553 } 5554 } 5555 5556 /* Remove margin from the paragraph inside the label */ 5557 p { 5558 margin: 0; 5559 } 5560 } 5561 } 5562`,sN=c` 5563 appearance: none; 5564 ${Bs} 5565 font-family: ${a("--font-family")}; 5566 height: 133px; 5567 padding: ${a("--form-input-padding")}; 5568 resize: vertical; 5569 /* Add custom resizer icon as background */ 5570 background-image: url("data:image/svg+xml,%3Csvg height='9' viewBox='0 0 9 9' width='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L8 5M1 8L8 1' stroke='rgba(133, 141, 148, 1)'/%3E%3C/svg%3E"); 5571 background-repeat: no-repeat; 5572 background-position: bottom 4px right 4px; 5573 5574 &::-webkit-resizer { 5575 display: none; 5576 } 5577 5578 &[readonly] { 5579 ${ih} 5580 } 5581 5582 /* Change custom resizer icon position according to RTL */ 5583 *[dir='rtl'] & { 5584 background-image: url("data:image/svg+xml,%3Csvg height='9' viewBox='0 0 9 9' transform='scale(-1 1)' width='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L8 5M1 8L8 1' stroke='rgba(133, 141, 148, 1)'/%3E%3C/svg%3E"); 5585 background-position: bottom 4px left 4px; 5586 } 5587`,lN=c` 5588 ${Bs} 5589 appearance: none; 5590 height: ${a("--form-input-height")}; 5591 /* select with appearance:none clips text to the content box and this cuts it off. 5592 * fix by shrinking padding-block. */ 5593 padding-block: calc(${a("--form-input-padding")} - 2px); 5594 5595 &:-ms-expand { 5596 display: none; 5597 } 5598 5599 &:has(option:disabled:checked) { 5600 color: ${a("--form-input-placeholder-color")}; 5601 } 5602`,ay=c` 5603 position: relative; 5604 5605 i { 5606 margin-left: 10px; 5607 width: 10px; 5608 cursor: pointer; 5609 5610 svg { 5611 fill: ${a("--palette-gray-v300")}; 5612 } 5613 } 5614`,nr=c` 5615 input::-webkit-input-placeholder, 5616 textarea::-webkit-input-placeholder, 5617 input:-moz-placeholder, 5618 textarea:-moz-placeholder, 5619 input::-moz-placeholder, 5620 textarea::-moz-placeholder, 5621 input:-ms-input-placeholder, 5622 textarea:-ms-input-placeholder, 5623 input::-ms-input-placeholder, 5624 textarea::-ms-input-placeholder, 5625 input::placeholder, 5626 textarea::placeholder, 5627 ::placeholder { 5628 color: ${a("--form-input-placeholder-color")}; 5629 } 5630`,pN=c` 5631 pointer-events: none; 5632 position: absolute; 5633 right: ${a("--spacing-l")}; 5634 top: calc(50% - 5px);
5635 width: 20px; 5636 height: 20px; 5637 margin: -4px; 5638 fill: ${a("--form-input-fg-color")}; 5639 5640 html[dir='rtl'] & { 5641 right: unset; 5642 left: ${a("--spacing-l")}; 5643 } 5644`,cN=c` 5645 pointer-events: none; 5646 position: absolute; 5647 right: ${a("--spacing-l")}; 5648 top: calc(50% - 5px); 5649 width: 20px; 5650 height: 20px; 5651 margin: -4px; 5652 fill: ${a("--multi-select-fg-color")}; 5653 5654 html[dir='rtl'] & { 5655 right: unset; 5656 left: ${a("--spacing-l")}; 5657 } 5658`,dN=c` 5659 ${Bs} 5660 height: auto; 5661 padding: 0; 5662 5663 /** applies styles to multi select wrapper when displaying options */ 5664 &:has(.displayBlock) { 5665 border-color: ${a("--form-input-active-border-color")}; 5666 box-shadow: ${a("--form-input-active-box-shadow")}; 5667 } 5668 5669 .searchWrapper { 5670 color: ${a("--multi-select-fg-color")}; 5671 5672 .chip { 5673 background: ${a("--multi-select-chip-bg-color")}; 5674 color: ${a("--multi-select-chip-fg-color")}; 5675 5676 svg { 5677 fill: ${a("--multi-select-chip-fg-color")}; 5678 } 5679 } 5680 } 5681 5682 .optionListContainer .option { 5683 color: ${a("--multi-select-option-fg-color")}; 5684 5685 &.highlight, 5686 &:hover { 5687 background: ${a("--multi-select-chip-bg-color")}; 5688 color: ${a("--multi-select-option-fg-color")}; 5689 } 5690 5691 input[type='checkbox'] { 5692 &:checked { 5693 accent-color: ${a("--multi-select-option-fg-color")}; 5694 } 5695 } 5696 } 5697`,uN=c` 5698 & p:last-of-type { 5699 display: inline-block; 5700 } 5701 5702 &::after { 5703 color: ${a("--form-input-error-color")}; 5704 content: '*'; 5705 } 5706`,yN=c` 5707 ${fM} 5708 ${qt} 5709 color: ${a("--form-description-fg-color")}; 5710 font-style: italic; 5711 font-weight: ${a("--action-desktop-font-weight")}; 5712 text-align: start; 5713 width: 100%; 5714`;var gN=({renderErrorMessage:e,on400ResponseMessage:t,on500ResponseMessage:o,onInvalidClientSideSubmissionMessage:n,renderErrorDetails:r})=>{let{state:s}=(0,mN.useContext)(yo),{errorStatusCode:l,error:p,type:d}=s;if(d==="invalid")return i("div",{className:Pp,children:n});if(!p)return null;let u;l===void 0?u=null:e?u=e?.(l):u=l===400?t:o;let y=JSON.stringify({name:p.name,message:p.message,callStack:p.stack},null,2);return x(ue,{children:[i("div",{className:Pp,children:u}),r&&x("div",{className:tN,children:[i("h6",{children:"Error Object"}),i("code",{className:oN,children:y})]})]})};var fN=T(P());var bN=({formRequiredFieldsMessage:e})=>{let{state:t}=(0,fN.useContext)(yo);return!Object.values(t?.fields??{}).some(n=>n.required)||!e?null:i("p",{className:yN,children:e})};var sh=({className:e,children:t,endpoint:o,submitText:n,submitSuccessText:r,submitTextDataset:s,onSubmitSuccess:l,onSubmitFailure:p,onFormBodyChange:d,formChildrenRenderer:u,extraParams:y,extraParamsAsync:m,on400ResponseMessage:g,on500ResponseMessage:f,renderErrorMessage:b,onInvalidClientSideSubmissionMessage:S,formRequiredFieldsMessage:C,renderErrorDetails:I=!1})=>{q("sdsm-form");let[k,v]=(0,Wn.useReducer)(Y2,Ao(ny)),A=(0,Wn.useMemo)(()=>({state:k,dispatch:v}),[k,v]);(0,Wn.useEffect)(()=>{d?.(Ao(k.formBody),k.lastChangedFieldName,k.type==="initial",k.type==="submitting"||k.type==="submitSuccess"||k.type==="submitFailure")},[d,k.formBody,k.lastChangedFieldName,k.type]);let w=(0,Wn.useCallback)(B=>{B?.preventDefault(),v({type:"submitTrigger"})},[]);(0,Wn.useEffect)(()=>{if(k.type!=="submitting")return;async function B(){let V=await m?.().catch(()=>({}))??{},L=aa({},k.formBody,y,V);try{let z=await fetch(o,{method:"POST",body:JSON.stringify(L),headers:{"Content-Type":"application/json"}});if(v({type:"submitTrigger"}),z.ok)v({type:"submitSuccess"}),l?.(z,L);else{let K=await z.text(),ye=new Error(`Form submit failed. Server Response: ${z.status} ${z.statusText}.\r 5715 ${K}`);v({type:"submitFailure",errorStatusCode:z.status,error:ye}),p?.(ye,L,z)}}catch(z){let K=Ft(z);v({type:"submitFailure",error:K}),p?.(K,L)}}B()},[o,y,m,p,l,k.formBody,k.type]);let D=k.type==="submitting"||k.type==="submitSuccess"||Object.values(k.fields).some(B=>B.hasError)||ep(k.fields),M=k.type==="submitting",_=k.type==="submitSuccess",F=k.type==="submitSuccess"?r:n,$;return u?$=(0,Wn.createElement)(u,{handleSubmit:w,disabled:D,loading:M,submitSuccess:_}):$=x(ue,{children:[t,i(eo,{nativeButtonType:"submit",onClick:w,type:Vo.Primary,size:"Large",disabled:D,loading:M,className:nN,buttonTextDataset:s,children:F})]}),i(yo.Provider,{value:A,children:x("form",{className:h("sdsm-form",J2,nr,e),noValidate:!0,children:[i(bN,{formRequiredFieldsMessage:C}),$,i(gN,{renderErrorMessage:b,on400ResponseMessage:g,on500ResponseMessage:f,onInvalidClientSideSubmissionMessage:S,renderErrorDetails:I})]})})};var ry=({children:e,...t})=>i("div",{className:h("sdsm-form-row",Z2),...t,children:e});var ar=T(P());var Vr=({type:e,name:t,label:o,helpText:n,error:r,hasError:s,children:l,dataset:p,labelDataset:
5715d,helpTextDataset:u,errorDataset:y,required:m=!1})=>e==="Hidden"?i(ue,{children:l}):x("div",{className:h("sdsm-form-field",h(aN)),...te(p),children:[o&&e!=="Checkbox"&&i("label",{htmlFor:t,className:h(ra,eN,{[uN]:m}),...te(d),children:o}),l,(n&&!s||n&&s&&!r)&&i("p",{className:rh,...te(u),children:n}),s&&r&&i("div",{id:`${t}-error`,className:Pp,...te(y),children:r})]});function Sa(e){return e?Array.isArray(e)?e.join(","):String(e):""}function SN(e){return typeof e=="boolean"?e:typeof e=="string"?e==="true":Array.isArray(e)?e.length>0:!1}function $s(e,t){return e&&t?`${e}*`:e}var iy=(0,ar.memo)(e=>{let{name:t,validation:o,required:n=!1,placeholder:r="",initialValue:s,type:l="Text",label:p,richLabel:d,labelDataset:u,richLabelDataset:y,readOnly:m,shouldResetToInitial:g,maxLength:f,minValue:b,maxValue:S,...C}=e,{state:I,dispatch:k}=(0,ar.useContext)(yo),v=I.fields[t],A=I.formBody[t],w=Ht(C,"dataset","helpText","helpTextDataset","errorDataset","contentfulDescriptionDataset");(0,ar.useEffect)(()=>{k({type:"registerField",name:t,field:{initialValue:s,validation:o,required:n,shouldResetToInitial:l==="Hidden"||g}})},[k,s,t,n,o,l,g]);let D=(0,ar.useCallback)($=>{let B=$.target,L=B.type==="checkbox"?B.checked:B.value;k({type:"changeFieldValue",name:t,value:L})},[k,t]),M=(0,ar.useCallback)(()=>{k({type:"invalidateField",name:t})},[k,t]),_=$s(r,n&&!d&&!p&&!v?.hasError),F=()=>l==="Textarea"?i("textarea",{name:t,placeholder:_,value:Sa(A),className:h(sN,nr,{[or]:v?.hasError}),required:n,onInvalid:M,readOnly:m,onChange:D,onBlur:D,maxLength:f??600,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,...w}):l==="Checkbox"?x("div",{className:iN,children:[i("input",{type:"checkbox",name:t,id:t,onInvalid:M,placeholder:r,checked:SN(A),className:h(rN,nr,{[or]:v?.hasError}),required:n,onChange:D,onBlur:D,readOnly:m,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,...w}),i("label",{htmlFor:t,...te(d?y:u),children:d??p})]}):l==="Number"||l==="Date"?i("input",{type:l,name:t,placeholder:_,value:Sa(A),className:h(Bs,nr,{[or]:v?.hasError}),required:n,readOnly:m,onChange:D,onInvalid:M,onBlur:D,min:b,max:S,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,...w}):i("input",{type:l==="Hidden"?"hidden":"text",name:t,placeholder:_,value:Sa(A),className:h(Bs,nr,{[or]:v?.hasError}),required:n,readOnly:m,onChange:D,onInvalid:M,onBlur:D,maxLength:f,"aria-describedby":v?.hasError?`${t}-error`:void 0,"aria-invalid":v?.hasError??!1,...w});return i(Vr,{...e,label:d??p,hasError:v?.hasError??!1,type:l??"Hidden",children:F()})});iy.displayName="Input";var Ls=T(P());var wN=T(IN()),yn=T(P()),DN=T(Cr());var kN=c` 5716 position: relative; 5717 5718 i { 5719 cursor: pointer; 5720 margin-left: 10px; 5721 width: 10px; 5722 } 5723`,MN=c` 5724 height: auto; 5725 padding: 0; 5726 5727 .displayNone { 5728 display: none; 5729 } 5730 5731 .searchWrapper { 5732 align-items: center; 5733 border: 0; 5734 color: ${a("--multi-select-fg-color")}; 5735 display: flex; 5736 flex-wrap: wrap; 5737 height: auto; 5738 min-height: ${a("--multi-select-min-height")}; 5739 padding: ${a("--multi-select-padding")}; 5740 5741 input { 5742 color: inherit; 5743 cursor: default; 5744 flex: 1 1 0%; 5745 font-family: inherit; 5746 font-size: inherit; 5747 min-width: 0px; 5748 padding-left: ${a("--spacing-xs")}; 5749 } 5750 5751 .chip { 5752 background: ${a("--multi-select-chip-bg-color")}; 5753 border-radius: ${a("--multi-select-chip-border-radius")}; 5754 color: ${a("--multi-select-chip-fg-color")}; 5755 cursor: default; 5756 font-size: inherit; 5757 margin: ${a("--multi-select-chip-margin")}; 5758 padding: ${a("--spacing-xs")}; 5759 5760 svg { 5761 fill: ${a("--multi-select-chip-fg-color")}; 5762 } 5763 } 5764 5765 .icon_down_dir { 5766 right: -60px; 5767 } 5768 } 5769 5770 .optionListContainer { 5771 background: ${a("--multi-select-bg-color")}; 5772 border-radius: ${a("--multi-select-border-radius")}; 5773 border: 1px solid ${a("--multi-select-border-color")}; 5774 border-top-color: transparent; 5775 box-shadow: ${a("--multi-select-box-shadow")}; 5776 list-style-type: none; 5777 padding: 0px ${a("--spacing-xs")}; 5778 z-index: 51; 5779 5780 .optionContainer { 5781 border: none; 5782 5783 &::-webkit-scrollbar {
5784 width: 7px; 5785 } 5786 5787 &::-webkit-scrollbar-thumb { 5788 background-color: rgba(0, 0, 0, 0.5); 5789 border-radius: ${a("--border-radius-s")}; 5790 box-shadow: 0 0 1px rgba(255, 255, 255, 0.5); 5791 } 5792 } 5793 5794 .option { 5795 align-items: center; 5796 border-radius: ${a("--multi-select-option-border-radius")}; 5797 color: ${a("--multi-select-option-fg-color")}; 5798 display: flex; 5799 margin: ${a("--spacing-xs")} 0px; 5800 padding: ${a("--multi-select-option-padding")}; 5801 5802 &.highlight, 5803 &:hover { 5804 background: ${a("--multi-select-chip-bg-color")}; 5805 color: ${a("--multi-select-option-fg-color")}; 5806 } 5807 5808 input[type='checkbox'] { 5809 height: 17px; 5810 width: 17px; 5811 5812 &:checked { 5813 accent-color: ${a("--multi-select-option-fg-color")}; 5814 } 5815 } 5816 } 5817 } 5818`,TN=c` 5819 appearance: none; 5820 background: none; 5821 border: none; 5822 cursor: pointer; 5823 height: 20px; 5824 margin: -4px; 5825 padding: 0; 5826 position: absolute; 5827 right: 16px; 5828 top: 19px; 5829 width: 20px; 5830 5831 svg { 5832 width: 100%; 5833 height: 100%; 5834 fill: ${a("--multi-select-fg-color")}; 5835 } 5836 5837 html[dir='rtl'] & { 5838 right: unset; 5839 left: 16px; 5840 } 5841`,AN=c` 5842 margin: -7px; 5843 5844 svg { 5845 fill: ${a("--multi-select-fg-color")}; 5846 } 5847`,_N=c` 5848 cursor: pointer; 5849 white-space: nowrap; 5850`;var ly=({options:e,selectedValues:t,displayValue:o="name",placeholder:n,showCheckbox:r,hidePlaceholder:s=!0,avoidHighlightFirstOption:l=!0,onSelect:p,onRemove:d,onKeyPressFn:u,dropdownClassName:y,wrapperClassName:m,arrowClassName:g,maxVisibleChips:f})=>{q("sdsm-multi-select");let b=(0,yn.useRef)(null),[S,C]=(0,yn.useState)(null),I=(0,yn.useMemo)(()=>i(Te,{name:"cross",className:AN}),[]);(0,yn.useLayoutEffect)(()=>{C(b.current?.querySelector(".searchWrapper")??null)},[]);let k=t?.length??0,v=f!=null&&k>f,A=v?k-f:0,w=(0,yn.useMemo)(()=>{if(v)return c` 5851 .searchWrapper .chip:nth-child(n + ${f+1}):not([data-overflow]) { 5852 display: none; 5853 } 5854 .searchWrapper input { 5855 order: 1; 5856 } 5857 `},[v,f]),D=(0,yn.useCallback)(F=>{F.preventDefault()},[]),M=(0,yn.useCallback)(()=>{let F=b.current?.querySelector(".searchWrapper input");F&&(document.activeElement===F?F.blur():F.focus())},[]),_=(0,yn.useCallback)(F=>{F.preventDefault()},[]);return x("div",{ref:b,className:h("sdsm-multi-select",kN,m),children:[i(wN.default,{options:e,selectedValues:t,displayValue:o,placeholder:n,showCheckbox:r,hidePlaceholder:s,avoidHighlightFirstOption:l,onSelect:p,onRemove:d,onKeyPressFn:u,className:h(MN,y,w),customCloseIcon:I}),v&&S&&(0,DN.createPortal)(x("span",{className:h("chip",_N),"data-overflow":!0,onMouseDown:_,children:["+",A," more"]}),S),i("button",{type:"button","aria-label":"Toggle dropdown",className:h(TN,g),onMouseDown:D,onClick:M,children:i(Te,{name:"chevron-down"})})]})};ly.displayName="MultiSelect";var mj=[],py=(0,Ls.memo)(e=>{let{name:t,placeholder:o,showCheckbox:n,options:r,required:s=!1,initialValues:l=mj}=e,{state:p,dispatch:d}=(0,Ls.useContext)(yo),u=p.formBody[t],y=p.fields[t];(0,Ls.useEffect)(()=>{d({type:"registerField",name:t,field:{initialValue:l,required:s}})},[l,d,t,s]);let m=b=>{d({type:"changeFieldValue",name:t,value:b})},g=b=>{b.preventDefault(),b.stopPropagation()},f=b=>{d({type:"changeFieldValue",name:t,value:b})};return i(Vr,{...e,hasError:y?.hasError,type:"MultiSelect",children:i(ly,{options:r,selectedValues:u,showCheckbox:n,onSelect:m,onRemove:f,hidePlaceholder:!0,avoidHighlightFirstOption:!0,placeholder:$s(o,!!e.required&&!e.label&&!e.richLabel&&!y?.hasError),displayValue:"name",dropdownClassName:h(dN,nr,{[or]:y?.hasError}),wrapperClassName:ay,arrowClassName:cN,onKeyPressFn:g})})});py.displayName="MultiSelectDropdown";var Or=T(P());var Ep=(0,Or.memo)(e=>{let{name:t,placeholder:o,children:n,required:r=!1,initialValue:s="",allValues:l=[],shouldResetToInitial:p,fieldDataset:d,...u}=e,y={required:r,...Ht(u,"helpText","helpTextDataset","errorDataset","labelDataset","fieldDataset")},{state:m,dispatch:g}=(0,Or.useContext)(yo),f=l.includes(Sa(s))?s:"",b=m.fields[t],S=m.formBody[t];(0,Or.useEffect)(()=>
5857{g({type:"registerField",name:t,field:{required:r,initialValue:f,shouldResetToInitial:p}})},[g,t,r,f,p]);let C=k=>{g({type:"changeFieldValue",name:t,value:k.target.value})},I=(0,Or.useCallback)(()=>{g({type:"invalidateField",name:t})},[g,t]);return i(Vr,{hasError:b?.hasError,...Ht(e,"dataset"),dataset:d,type:"Select",children:x("div",{className:h(ay),children:[x("select",{value:Sa(S),name:t,className:h(lN,{[or]:b?.hasError}),onChange:C,onBlur:C,onInvalid:I,"aria-describedby":b?.hasError?`${t}-error`:void 0,"aria-invalid":b?.hasError??!1,...y,children:[o&&i("option",{value:"",disabled:!0,children:$s(o,r&&!e.label&&!e.richLabel&&!b?.hasError)}),n]}),i(Te,{name:"chevron-down",className:pN})]})})});Ep.displayName="Select";var cy=T(P());var PN=c` 5858 ${N} { 5859 display: none; 5860 } 5861 5862 ${H} { 5863 display: block; 5864 } 5865`,NN=c` 5866 ${N} { 5867 display: block; 5868 } 5869 5870 ${H} { 5871 display: none; 5872 } 5873`,Rp=c` 5874 background: none; 5875 border: none; 5876 color: ${a("--fg-color")}; 5877 cursor: pointer; 5878 padding: 0; 5879 /* stylelint-disable-next-line property-no-vendor-prefix */ 5880 -webkit-appearance: none; 5881 appearance: none; 5882`,ch=c` 5883 display: flex; 5884 width: 100%; 5885 5886 ${H} { 5887 align-items: center; 5888 flex-wrap: wrap; 5889 padding-bottom: 50px; 5890 } 5891 5892 ${N} { 5893 flex-direction: column; 5894 justify-content: flex-end; 5895 margin-block: ${a("--spacing-m")}; 5896 } 5897`,EN=c` 5898 align-items: center; 5899 display: flex; 5900 justify-content: space-between; 5901 padding-block: ${a("--spacing-m")}; 5902`,dh=c` 5903 font-size: ${a("--action-desktop-font-size")}; 5904 line-height: ${a("--action-desktop-font-line-height")}; 5905 5906 ${N} { 5907 font-size: ${a("--action-mobile-font-size")}; 5908 line-height: ${a("--action-mobile-font-line-height")}; 5909 } 5910`,RN=c` 5911 font-family: inherit; 5912 font-weight: ${a("--action-desktop-font-weight")}; 5913 5914 ${N} { 5915 font-weight: ${a("--action-mobile-font-weight")}; 5916 } 5917`,FN=c` 5918 font-weight: ${a("--p1-desktop-font-weight")}; 5919 5920 ${N} { 5921 font-weight: ${a("--p1-mobile-font-weight")}; 5922 } 5923`,BN=c` 5924 align-items: center; 5925 display: flex; 5926`,uh=c` 5927 font-family: inherit; 5928 font-size: ${a("--action-mobile-font-size")}; 5929 font-weight: ${a("--action-mobile-font-weight")}; 5930 line-height: ${a("--action-mobile-font-line-height")}; 5931 margin-inline-end: ${a("--spacing-m")}; 5932 5933 ${H} { 5934 padding-block: ${a("--spacing-m")}; 5935 font-size: ${a("--action-desktop-font-size")}; 5936 font-weight: ${a("--action-desktop-font-weight")}; 5937 line-height: ${a("--action-desktop-font-line-height")}; 5938 } 5939`,$N=c` 5940 align-items: center; 5941 display: flex; 5942 width: ${a("--spacing-l")}; 5943`,LN=c` 5944 fill: ${a("--fg-color")}; 5945 height: auto; 5946 transform: rotate(0deg); 5947 transform-origin: center; 5948 transition: transform 100ms cubic-bezier(0.4, 0, 0.2, 1); 5949 width: 100%; 5950`,HN=c` 5951 transform: rotate(-180deg); 5952`;var Fp=({searchMenus:e=[],selectedFilters:t,onChangeFilter:o,mobileFiltersToggleLabel:n,onClearFilters:r,clearButtonLabel:s,mobileFiltersWrapperTextDataset:l,clearFiltersCtaCopyDataset:p})=>{q("sdsm-gallery");let[d,u]=(0,cy.useState)(!1),y=()=>u(!d),m=(0,cy.useMemo)(()=>Object.keys(t).length,[t]);if(e.length===0)return null;let f=e.map(({title:S,id:C,allItemTitle:I,items:k,dataset:v})=>({title:S,id:C,allItemTitle:I,items:k,dataset:v,value:t[C]?t[C]:Zu,onChange:A=>o(C,A)})).map(S=>i(XS,{...S,isStandalone:e.length===1},S.id)),b=n??(e.length>1?"Filters":"Filter");return x("section",{className:"sdsm-gallery",children:[i("aside",{className:PN,children:x("div",{className:ch,children:[f,!!m&&i("button",{"data-testid":"clear-btn-desktop",type:"button",className:h(Rp,uh),onClick:r,...te(p),children:s??"Clear"})]})}),x("aside",{className:NN,children:[e.length>1&&x("div",{className:EN,"data-testid":"dropdowns-mobile-wrapper",children:[x("div",{children:[i("button",{type:"button",className:h(Rp,dh,RN),onClick:y,...te(l),children:b}),!!m&&i("span",{"data-testid":"selected-filters-counter-mobile",className:h(dh,FN),children:` (${m})`})]}),x("div",{className:BN,children:[!!m&&i("button",{"data-testid":"clear-btn-mobile",type:"button",className:h(Rp,uh),onClick:r,...te(p),children:s??"Clear"}),i("button",{type:"button",className:h(Rp,$N),onClick:y,children:i(Te,{name:"bars-triangle",className:h(LN,{[HN]:d})})})]})]}),(d||e.length===1)&&i("div",{className:ch,children:f})]})]})};Fp.displayName="GalleryFiltersV2";var VN=c` 5953 display: flex; 5954 justify-content: flex-start; 5955 flex-wrap: wrap; 5956 gap: ${a("--spacing-m")}; 5957 margin-bottom: ${a("--spacing-m")}; 5958 margin-inline: auto; 5959 5960 /* 5961 We are keeping the media queries in addition to the container queries in case: 5962 - this component is ever rendered without a wrapping SDS-M Page component 5963 - the browser does not support container queries (smart TVs, etc.) 5964 */ 5965 ${qe} { 5966 gap: ${a("--spacing-l")}; 5967 margin-bottom: ${a("--spacing-l")}; 5968 } 5969 5970 ${Id} { 5971 gap: ${a("--spacing-m")}; 5972 } 5973 5974 ${pb} { 5975 gap: ${a("--spacing-l")}; 5976 margin-bottom: ${a("--spacing-l")}; 5977 } 5978 5979 > * { 5980 width: 100%; 5981 5982 /* 5983 We are keeping the media queries in addition to the container queries in case: 5984 - this component is ever rendered without a wrapping SDS-M Page component 5985 - the browser does not support container queries (smart TVs, etc.) 5986 */ 5987 ${H} { 5988 /* 5989 Width calculation assumes 2 cards per line 5990 {50% of parent width} - { gap size / 2 } 5991 */ 5992 width: calc(50% - ${a("--spacing-m")} / 2); 5993 } 5994 5995 ${qe} { 5996 /* 5997 Width calculation assumes 2 cards per line 5998 {50% of parent width} - { gap size / 2 } 5999 */ 6000 width: calc(50% - ${a("--spacing-l")} / 2); 6001 } 6002 6003 ${co} { 6004 width: 100%; 6005 } 6006 6007 ${ci} { 6008 /* 6009 Width calculation assumes 2 cards per line 6010 {50% of parent width} - { gap size / 2 } 6011 */ 6012 width: calc(50% - ${a("--spacing-m")} / 2); 6013 } 6014 6015 ${pb} { 6016 /* 6017 Width calculation assumes 2 cards per line 6018 {50% of parent width} - { gap size / 2 } 6019 */ 6020 width: calc(50% - ${a("--spacing-l")} / 2); 6021 } 6022 } 6023`;var Gr=({children:e})=>(q("sdsm-gallery"),i("div",{"data-testid":"sdsm-gallery-grid",className:h("sdsm-gallery",VN),children:e}));
6023Gr.displayName="GalleryGridV2";var gj=1,fj=2;function bj(e,t,o,n){var r=o.length,s=r,l=!n;if(e==null)return!s;for(e=Object(e);r--;){var p=o[r];if(l&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++r<s;){p=o[r];var d=p[0],u=e[d],y=p[1];if(l&&p[2]){if(u===void 0&&!(d in e))return!1}else{var m=new bk;if(n)var g=n(u,y,d,e,t,m);if(!(g===void 0?Nd(y,u,gj|fj,n,m):g))return!1}}return!0}var ON=bj;dk();function Sj(e){return e===e&&!Jl(e)}var dy=Sj;function hj(e){for(var t=gd(e),o=t.length;o--;){var n=t[o],r=e[n];t[o]=[n,r,dy(r)]}return t}var GN=hj;function Cj(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==void 0||e in Object(o))}}var uy=Cj;function xj(e){var t=GN(e);return t.length==1&&t[0][2]?uy(t[0][0],t[0][1]):function(o){return o===e||ON(o,e,t)}}var zN=xj;function vj(e,t,o){var n=e==null?void 0:cs(e,t);return n===void 0?o:n}var Bp=vj;function Ij(e,t){return e!=null&&t in Object(e)}var UN=Ij;function kj(e,t,o){t=ps(t,e);for(var n=-1,r=t.length,s=!1;++n<r;){var l=kr(t[n]);if(!(s=e!=null&&o(e,l)))break;e=e[l]}return s||++n!=r?s:(r=e==null?0:e.length,!!r&&yk(r)&&md(l,r)&&(Yo(e)||gk(e)))}var WN=kj;function Mj(e,t){return e!=null&&WN(e,t,UN)}var yy=Mj;var Tj=1,Aj=2;function _j(e,t){return Pd(e)&&dy(t)?uy(kr(e),t):function(o){var n=Bp(o,e);return n===void 0&&n===t?yy(o,e):Nd(t,n,Tj|Aj)}}var QN=_j;function wj(e){return function(t){return t?.[e]}}var my=wj;function Dj(e){return function(t){return cs(t,e)}}var qN=Dj;function Pj(e){return Pd(e)?my(kr(e)):qN(e)}var KN=Pj;function Nj(e){return typeof e=="function"?e:e==null?yd:typeof e=="object"?Yo(e)?QN(e[0],e[1]):zN(e):KN(e)}var tn=Nj;function Ej(e,t){return function(o,n){if(o==null)return o;if(!hr(o))return e(o,n);for(var r=o.length,s=t?r:-1,l=Object(o);(t?s--:++s<r)&&n(l[s],s,l)!==!1;);return o}}var jN=Ej;var Rj=jN(Ed),zr=Rj;function Fj(e,t){var o=-1,n=hr(e)?Array(e.length):[];return zr(e,function(r,s,l){n[++o]=t(r,s,l)}),n}var YN=Fj;function Bj(e,t){var o=Yo(e)?xd:YN;return o(e,tn(t,3))}var gy=Bj;var $j={"&":"&","<":"<",">":">",""":'"',"'":"'"},Lj=Ok($j),XN=Lj;var JN=/&(?:amp|lt|gt|quot|#39);/g,Hj=RegExp(JN.source);function Vj(e){return e=Gk(e),e&&Hj.test(e)?e.replace(JN,XN):e}var ha=Vj;var mn=T(P()),Oe=T(DM()),dE=T(eE()),bh=T(oE()),uE=T(aE());function Vt(){return Vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},Vt.apply(this,arguments)}function xh(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Sh(e,t)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(o,n){return o.__proto__=n,o},Sh(e,t)}function rE(e,t){if(e==null)return{};var o,n,r={},s=Object.keys(e);for(n=0;n<s.length;n++)t.indexOf(o=s[n])>=0||(r[o]=e[o]);return r}var Ee={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Qj={rel:["amphtml","canonical","alternate"]},qj={type:["application/ld+json"]},Kj={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},iE=Object.keys(Ee).map(function(e){return Ee[e]}),hy={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},jj=Object.keys(hy).reduce(function(e,t){return e[hy[t]]=t,e},{}),Vs=function(e,t){for(var o=e.length-1;o>=0;o-=1){var n=e[o];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},Yj=function(e){var t=Vs(e,Ee.TITLE),o=Vs(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),o&&t)return o.replace(/%s/g,function(){return t});var n=Vs(e,"defaultTitle");return t||n||void 0},Xj=function(e){return Vs(e,"onChangeClientState")||function(){}},yh=function(e,t){return t.filter(function(o){return o[e]!==void 0}).map(function(o){return o[e]}).reduce(function(o,n){return Vt({},o,n)},{})},Jj=function(e,t){return t.filter(function(o){return o[Ee.BASE]!==void 0}).map(function(o){return o[Ee.BASE]}).reverse().reduce(function(o,n){if(!o.length)for(var r=Object.keys(n),s=0;s<r.length;s+=1){var l=r[s].toLowerCase();if(e.indexOf(l)!==-1&&n[l])return o.concat(n)}return o},[])},$p=function(e,t,o){var n={};return o.filter(function(r){return!!Array.isArray(r[e])||(r[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof r[e]+'"'),!1)}).map(function(r){return r[e]}).reverse().reduce(function(r,s){var l={};s.filter(function(m){for(var g,f=Object.keys(m),b=0;b<f.length;b+=1){var S=f[b],C=S.toLowerCase();t.indexOf(C)===-1||g==="rel"&&m[g].toLowerCase()==="canonical"||C==="rel"&&m[C].toLowerCase()==="stylesheet"||(g=C),t.indexOf(S)===-1||S!=="innerHTML"&&S!=="cssText"&&S!=="itemprop"||(g=S)}if(!g||!m[g])return!1;var I=m[g].toLowerCase();return n[g]||(n[g]={}),l[g]||(l[g]={}),!n[g][I]&&(l[g][I]=!0,!0)}
6023).reverse().forEach(function(m){return r.push(m)});for(var p=Object.keys(l),d=0;d<p.length;d+=1){var u=p[d],y=Vt({},n[u],l[u]);n[u]=y}return r},[]).reverse()},Zj=function(e,t){if(Array.isArray(e)&&e.length){for(var o=0;o<e.length;o+=1)if(e[o][t])return!0}return!1},yE=function(e){return Array.isArray(e)?e.join(""):e},mh=function(e,t){return Array.isArray(e)?e.reduce(function(o,n){return(function(r,s){for(var l=Object.keys(r),p=0;p<l.length;p+=1)if(s[l[p]]&&s[l[p]].includes(r[l[p]]))return!0;return!1})(n,t)?o.priority.push(n):o.default.push(n),o},{priority:[],default:[]}):{default:e}},sE=function(e,t){var o;return Vt({},e,((o={})[t]=void 0,o))},eY=[Ee.NOSCRIPT,Ee.SCRIPT,Ee.STYLE],gh=function(e,t){return t===void 0&&(t=!0),t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},lE=function(e){return Object.keys(e).reduce(function(t,o){var n=e[o]!==void 0?o+'="'+e[o]+'"':""+o;return t?t+" "+n:n},"")},pE=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(o,n){return o[hy[n]||n]=e[n],o},t)},Sy=function(e,t){return t.map(function(o,n){var r,s=((r={key:n})["data-rh"]=!0,r);return Object.keys(o).forEach(function(l){var p=hy[l]||l;p==="innerHTML"||p==="cssText"?s.dangerouslySetInnerHTML={__html:o.innerHTML||o.cssText}:s[p]=o[l]}),mn.default.createElement(e,s)})},In=function(e,t,o){switch(e){case Ee.TITLE:return{toComponent:function(){return r=t.titleAttributes,(s={key:n=t.title})["data-rh"]=!0,l=pE(r,s),[mn.default.createElement(Ee.TITLE,l,n)];var n,r,s,l},toString:function(){return(function(n,r,s,l){var p=lE(s),d=yE(r);return p?"<"+n+' data-rh="true" '+p+">"+gh(d,l)+"</"+n+">":"<"+n+' data-rh="true">'+gh(d,l)+"</"+n+">"})(e,t.title,t.titleAttributes,o)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return pE(t)},toString:function(){return lE(t)}};default:return{toComponent:function(){return Sy(e,t)},toString:function(){return(function(n,r,s){return r.reduce(function(l,p){var d=Object.keys(p).filter(function(m){return!(m==="innerHTML"||m==="cssText")}).reduce(function(m,g){var f=p[g]===void 0?g:g+'="'+gh(p[g],s)+'"';return m?m+" "+f:f},""),u=p.innerHTML||p.cssText||"",y=eY.indexOf(n)===-1;return l+"<"+n+' data-rh="true" '+d+(y?"/>":">"+u+"</"+n+">")},"")})(e,t,o)}}}},hh=function(e){var t=e.baseTag,o=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,s=e.noscriptTags,l=e.styleTags,p=e.title,d=p===void 0?"":p,u=e.titleAttributes,y=e.linkTags,m=e.metaTags,g=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var b=(function(S){var C=S.linkTags,I=S.scriptTags,k=S.encode,v=mh(S.metaTags,Kj),A=mh(C,Qj),w=mh(I,qj);return{priorityMethods:{toComponent:function(){return[].concat(Sy(Ee.META,v.priority),Sy(Ee.LINK,A.priority),Sy(Ee.SCRIPT,w.priority))},toString:function(){return In(Ee.META,v.priority,k)+" "+In(Ee.LINK,A.priority,k)+" "+In(Ee.SCRIPT,w.priority,k)}},metaTags:v.default,linkTags:A.default,scriptTags:w.default}})(e);f=b.priorityMethods,y=b.linkTags,m=b.metaTags,g=b.scriptTags}return{priority:f,base:In(Ee.BASE,t,n),bodyAttributes:In("bodyAttributes",o,n),htmlAttributes:In("htmlAttributes",r,n),link:In(Ee.LINK,y,n),meta:In(Ee.META,m,n),noscript:In(Ee.NOSCRIPT,s,n),script:In(Ee.SCRIPT,g,n),style:In(Ee.STYLE,l,n),title:In(Ee.TITLE,{title:d,titleAttributes:u},n)}},by=[],Ch=function(e,t){var o=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(n){o.context.helmet=n},helmetInstances:{get:function(){return o.canUseDOM?by:o.instances},add:function(n){(o.canUseDOM?by:o.instances).push(n)},remove:function(n){var r=(o.canUseDOM?by:o.instances).indexOf(n);(o.canUseDOM?by:o.instances).splice(r,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=hh({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},mE=mn.default.createContext({}),tY=Oe.default.shape({setHelmet:Oe.default.func,helmetInstances:Oe.default.shape({get:Oe.default.func,add:Oe.default.func,remove:Oe.default.func})}),oY=typeof document<"u",xi=(function(e){function t(o){var n;return(n=e.call(this,o)||this).helmetData=new Ch(n.props.context,t.canUseDOM),n}return xh(t,e),t.prototype.render=function(){return mn.default.createElement(mE.Provider,{value:this.helmetData.value},this.props.children)},t})(mn.Component);xi.canUseDOM=oY,xi.propTypes={context:Oe.default.shape({helmet:Oe.default.shape()}),children:Oe.default.node.isRequired},xi.defaultProps={context:{}},xi.displayName="HelmetProvider";var Hs=function(e,t){var o,n=document.head||document.querySelector(Ee.HEAD),r=n.querySelectorAll(e+"[data-rh]"),s=[].slice.call(r),l=[];return t&&t.length&&t.forEach(function(p){var d=document.createElement(e);for(var u in p)Object.prototype.hasOwnProperty.call(p,u)&&(u==="innerHTML"?d.innerHTML=p.innerHTML:u==="cssText"?d.styleSheet?d.styleSheet.cssText=p.cssText:d.appendChild(document.createTextNode(p.cssText)):d.setAttribute(u,p[u]===void 0?"":p[u]));d.setAttribute("data-rh","true"),s.some(function(y,m){return o=m,d.isEqualNode(y)})?s.splice(o,1):l.push(d)}
6023),s.forEach(function(p){return p.parentNode.removeChild(p)}),l.forEach(function(p){return n.appendChild(p)}),{oldTags:s,newTags:l}},fh=function(e,t){var o=document.getElementsByTagName(e)[0];if(o){for(var n=o.getAttribute("data-rh"),r=n?n.split(","):[],s=[].concat(r),l=Object.keys(t),p=0;p<l.length;p+=1){var d=l[p],u=t[d]||"";o.getAttribute(d)!==u&&o.setAttribute(d,u),r.indexOf(d)===-1&&r.push(d);var y=s.indexOf(d);y!==-1&&s.splice(y,1)}for(var m=s.length-1;m>=0;m-=1)o.removeAttribute(s[m]);r.length===s.length?o.removeAttribute("data-rh"):o.getAttribute("data-rh")!==l.join(",")&&o.setAttribute("data-rh",l.join(","))}},cE=function(e,t){var o=e.baseTag,n=e.htmlAttributes,r=e.linkTags,s=e.metaTags,l=e.noscriptTags,p=e.onChangeClientState,d=e.scriptTags,u=e.styleTags,y=e.title,m=e.titleAttributes;fh(Ee.BODY,e.bodyAttributes),fh(Ee.HTML,n),(function(S,C){S!==void 0&&document.title!==S&&(document.title=yE(S)),fh(Ee.TITLE,C)})(y,m);var g={baseTag:Hs(Ee.BASE,o),linkTags:Hs(Ee.LINK,r),metaTags:Hs(Ee.META,s),noscriptTags:Hs(Ee.NOSCRIPT,l),scriptTags:Hs(Ee.SCRIPT,d),styleTags:Hs(Ee.STYLE,u)},f={},b={};Object.keys(g).forEach(function(S){var C=g[S],I=C.newTags,k=C.oldTags;I.length&&(f[S]=I),k.length&&(b[S]=g[S].oldTags)}),t&&t(),p(e,f,b)},Lp=null,Cy=(function(e){function t(){for(var n,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return(n=e.call.apply(e,[this].concat(s))||this).rendered=!1,n}xh(t,e);var o=t.prototype;return o.shouldComponentUpdate=function(n){return!(0,uE.default)(n,this.props)},o.componentDidUpdate=function(){this.emitChange()},o.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},o.emitChange=function(){var n,r,s=this.props.context,l=s.setHelmet,p=null,d=(n=s.helmetInstances.get().map(function(u){var y=Vt({},u.props);return delete y.context,y}),{baseTag:Jj(["href"],n),bodyAttributes:yh("bodyAttributes",n),defer:Vs(n,"defer"),encode:Vs(n,"encodeSpecialCharacters"),htmlAttributes:yh("htmlAttributes",n),linkTags:$p(Ee.LINK,["rel","href"],n),metaTags:$p(Ee.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:$p(Ee.NOSCRIPT,["innerHTML"],n),onChangeClientState:Xj(n),scriptTags:$p(Ee.SCRIPT,["src","innerHTML"],n),styleTags:$p(Ee.STYLE,["cssText"],n),title:Yj(n),titleAttributes:yh("titleAttributes",n),prioritizeSeoTags:Zj(n,"prioritizeSeoTags")});xi.canUseDOM?(r=d,Lp&&cancelAnimationFrame(Lp),r.defer?Lp=requestAnimationFrame(function(){cE(r,function(){Lp=null})}):(cE(r),Lp=null)):hh&&(p=hh(d)),l(p)},o.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},o.render=function(){return this.init(),null},t})(mn.Component);Cy.propTypes={context:tY.isRequired},Cy.displayName="HelmetDispatcher";var nY=["children"],aY=["children"],kt=(function(e){function t(){return e.apply(this,arguments)||this}xh(t,e);var o=t.prototype;return o.shouldComponentUpdate=function(n){return!(0,dE.default)(sE(this.props,"helmetData"),sE(n,"helmetData"))},o.mapNestedChildrenToProps=function(n,r){if(!r)return null;switch(n.type){case Ee.SCRIPT:case Ee.NOSCRIPT:return{innerHTML:r};case Ee.STYLE:return{cssText:r};default:throw new Error("<"+n.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},o.flattenArrayTypeChildren=function(n){var r,s=n.child,l=n.arrayTypeChildren;return Vt({},l,((r={})[s.type]=[].concat(l[s.type]||[],[Vt({},n.newChildProps,this.mapNestedChildrenToProps(s,n.nestedChildren))]),r))},o.mapObjectTypeChildren=function(n){var r,s,l=n.child,p=n.newProps,d=n.newChildProps,u=n.nestedChildren;switch(l.type){case Ee.TITLE:return Vt({},p,((r={})[l.type]=u,r.titleAttributes=Vt({},d),r));case Ee.BODY:return Vt({},p,{bodyAttributes:Vt({},d)});case Ee.HTML:return Vt({},p,{htmlAttributes:Vt({},d)});default:return Vt({},p,((s={})[l.type]=Vt({},d),s))}},o.mapArrayTypeChildrenToProps=function(n,r){var s=Vt({},r);return Object.keys(n).forEach(function(l){var p;s=Vt({},s,((p={})[l]=n[l],p))}),s}
6023,o.warnOnInvalidChildren=function(n,r){return(0,bh.default)(iE.some(function(s){return n.type===s}),typeof n.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+iE.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),(0,bh.default)(!r||typeof r=="string"||Array.isArray(r)&&!r.some(function(s){return typeof s!="string"}),"Helmet expects a string as a child of <"+n.type+">. Did you forget to wrap your children in braces? ( <"+n.type+">{``}</"+n.type+"> ) Refer to our API for more information."),!0},o.mapChildrenToProps=function(n,r){var s=this,l={};return mn.default.Children.forEach(n,function(p){if(p&&p.props){var d=p.props,u=d.children,y=rE(d,nY),m=Object.keys(y).reduce(function(f,b){return f[jj[b]||b]=y[b],f},{}),g=p.type;switch(typeof g=="symbol"?g=g.toString():s.warnOnInvalidChildren(p,u),g){case Ee.FRAGMENT:r=s.mapChildrenToProps(u,r);break;case Ee.LINK:case Ee.META:case Ee.NOSCRIPT:case Ee.SCRIPT:case Ee.STYLE:l=s.flattenArrayTypeChildren({child:p,arrayTypeChildren:l,newChildProps:m,nestedChildren:u});break;default:r=s.mapObjectTypeChildren({child:p,newProps:r,newChildProps:m,nestedChildren:u})}}}),this.mapArrayTypeChildrenToProps(l,r)},o.render=function(){var n=this.props,r=n.children,s=rE(n,aY),l=Vt({},s),p=s.helmetData;return r&&(l=this.mapChildrenToProps(r,l)),!p||p instanceof Ch||(p=new Ch(p.context,p.instances)),p?mn.default.createElement(Cy,Vt({},l,{context:p.value,helmetData:void 0})):mn.default.createElement(mE.Consumer,null,function(d){return mn.default.createElement(Cy,Vt({},l,{context:d}))})},t})(mn.Component);kt.propTypes={base:Oe.default.object,bodyAttributes:Oe.default.object,children:Oe.default.oneOfType([Oe.default.arrayOf(Oe.default.node),Oe.default.node]),defaultTitle:Oe.default.string,defer:Oe.default.bool,encodeSpecialCharacters:Oe.default.bool,htmlAttributes:Oe.default.object,link:Oe.default.arrayOf(Oe.default.object),meta:Oe.default.arrayOf(Oe.default.object),noscript:Oe.default.arrayOf(Oe.default.object),onChangeClientState:Oe.default.func,script:Oe.default.arrayOf(Oe.default.object),style:Oe.default.arrayOf(Oe.default.object),title:Oe.default.string,titleAttributes:Oe.default.object,titleTemplate:Oe.default.string,prioritizeSeoTags:Oe.default.bool,helmetData:Oe.default.object},kt.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},kt.displayName="Helmet";var vi=({title:e,ogTitle:t,description:o,keywords:n,ogImage:r,ogVideo:s,noIndex:l,noFollow:p,customMetas:d})=>{let u;l&&p?u="noindex, nofollow":l?u="noindex":p&&(u="nofollow");let y=t||e;return x(kt,{children:[!!e&&i("title",{children:ha(e)}),!!y&&i("meta",{property:"og:title",content:ha(y)}),!!o&&i("meta",{name:"description",content:ha(o)}),!!o&&i("meta",{property:"og:description",content:ha(o)}),!!n&&i("meta",{name:"keywords",content:ha(n.join(","))}),!!r&&i("meta",{property:"og:image",content:r}),!!r&&i("meta",{property:"og:image:secure_url",content:r}),!!s&&i("meta",{property:"og:video",content:s}),!!s&&i("meta",{property:"og:video:secure_url",content:s}),!!u&&i("meta",{name:"robots",content:u}),!!d&&gy(d,m=>i("meta",{name:m.name,content:m.content},m.name))]})};vi.displayName="Header";var jR=T(P());var Ty=T(P());var Ca=T(rQ()),kn=T(P()),Ih=T(iQ()),Ur=T(vE()),CY=Object.defineProperty,xY=Object.defineProperties,vY=Object.getOwnPropertyDescriptors,Iy=Object.getOwnPropertySymbols,kE=Object.prototype.hasOwnProperty,ME=Object.prototype.propertyIsEnumerable,IE=(e,t,o)=>t in e?CY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,gn=(e,t)=>{for(var o in t||(t={}))kE.call(t,o)&&IE(e,o,t[o]);if(Iy)for(var o of Iy(t))ME.call(t,o)&&IE(e,o,t[o]);return e},ky=(e,t)=>xY(e,vY(t)),My=(e,t)=>{var o={};for(var n in e)kE.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&Iy)for(var n of Iy(e))t.indexOf(n)<0&&ME.call(e,n)&&(o[n]=e[n]);return o};function wt(e){return o=>{var n=o,{bgStyle:r={},borderRadius:s=0,iconFillColor:l="white",round:p=!1,size:d=64}
6023=n,u=My(n,["bgStyle","borderRadius","iconFillColor","round","size"]);return(0,Ca.jsxs)("svg",ky(gn({viewBox:"0 0 64 64",width:d,height:d},u),{children:[p?(0,Ca.jsx)("circle",{cx:"32",cy:"32",r:"32",fill:e.color,style:r}):(0,Ca.jsx)("rect",{width:"64",height:"64",rx:s,ry:s,fill:e.color,style:r}),(0,Ca.jsx)("path",{d:e.path,fill:l})]}))}}var VIe=wt({color:"#7f7f7f",networkName:"email",path:"M17,22v20h30V22H17z M41.1,25L32,32.1L22.9,25H41.1z M20,39V26.6l12,9.3l12-9.3V39H20z"});function dt(e){let t=Object.entries(e).filter(([,o])=>o!=null).map(([o,n])=>`${encodeURIComponent(o)}=${encodeURIComponent(String(n))}`);return t.length>0?`?${t.join("&")}`:""}var IY=e=>!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function",kY=(e,t)=>({left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}),MY=(e,t)=>({top:(window.screen.height-t)/2,left:(window.screen.width-e)/2});function TY(e,t,o){var n=t,{height:r,width:s}=n,l=My(n,["height","width"]);let p=gn({height:r,width:s,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},l),d=window.open(e,"",Object.keys(p).map(u=>`${u}=${p[u]}`).join(", "));if(o){let u=window.setInterval(()=>{try{(d===null||d.closed)&&(window.clearInterval(u),o(d))}catch(y){console.error(y)}},1e3)}return d}function AY(e){var t=e,{beforeOnClick:o,children:n,className:r,disabled:s,disabledStyle:l={opacity:.6},forwardedRef:p,htmlTitle:d,networkLink:u,networkName:y,onClick:m,onShareWindowClose:g,openShareDialogOnClick:f=!0,opts:b,resetButtonStyle:S=!0,style:C,url:I,windowHeight:k=400,windowPosition:v="windowCenter",windowWidth:A=550}=t,w=My(t,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","htmlTitle","networkLink","networkName","onClick","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"]);let D=async F=>{let $=u(I,b);if(!s){if(F.preventDefault(),o){let B=o();IY(B)&&await B}if(f){let B=gn({height:k,width:A},v==="windowCenter"?kY(A,k):MY(A,k));TY($,B,g)}m&&m(F,$)}},M=(0,Ih.default)("react-share__ShareButton",{"react-share__ShareButton--disabled":!!s,disabled:!!s},r),_=gn(gn(S?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer"}:{},C),s&&l);return(0,Ca.jsx)("button",ky(gn({},w),{className:M,onClick:D,ref:p,style:_,title:d,children:n}))}function Bt(e,t,o,n){function r(s,l){let p=o(s),d=gn({},s);return Object.keys(p).forEach(y=>{delete d[y]}),(0,Ca.jsx)(AY,ky(gn(gn({},n),d),{forwardedRef:l,networkName:e,networkLink:t,opts:o(s)}))}return r.displayName=`ShareButton-${e}`,(0,kn.forwardRef)(r)}function _Y(e,{subject:t,body:o,separator:n}){return"mailto:"+dt({subject:t,body:o?o+n+e:e})}var OIe=Bt("email",_Y,e=>({subject:e.subject,body:e.body,separator:e.separator||" "}),{openShareDialogOnClick:!1,onClick:(e,t)=>{window.location.href=t}});var GIe=wt({color:"#0965FE",networkName:"facebook",path:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"});var zIe=wt({color:"#0A7CFF",networkName:"facebookmessenger",path:"M 53.066406 21.871094 C 52.667969 21.339844 51.941406 21.179688 51.359375 21.496094 L 37.492188 29.058594 L 28.867188 21.660156 C 28.339844 21.207031 27.550781 21.238281 27.054688 21.730469 L 11.058594 37.726562 C 10.539062 38.25 10.542969 39.09375 11.0625 39.613281 C 11.480469 40.027344 12.121094 40.121094 12.640625 39.839844 L 26.503906 32.28125 L 35.136719 39.679688 C 35.667969 40.132812 36.457031 40.101562 36.949219 39.609375 L 52.949219 23.613281 C 53.414062 23.140625 53.464844 22.398438 53.066406 21.871094 Z M 53.066406 21.871094"});function wY(e,{appId:t,redirectUri:o,to:n}){return"https://www.facebook.com/dialog/send"+dt({link:e,redirect_uri:o||e,app_id:t,to:n})}var UIe=Bt("facebookmessenger",wY,e=>({appId:e.appId,redirectUri:e.redirectUri,to:e.to}),{windowWidth:1e3,windowHeight:820});
6023var vh=class extends Error{constructor(t){super(t),this.name="AssertionError"}};function _t(e,t){if(!e)throw new vh(t)}function DY(e,{hashtag:t}){return _t(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+dt({u:e,hashtag:t})}var WIe=Bt("facebook",DY,e=>({hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});function PY(){let e=(0,kn.useRef)(!1);return(0,kn.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),(0,kn.useCallback)(()=>e.current,[])}function NY(e){var t=e,{children:o=g=>g,className:n,getCount:r,url:s}=t,l=My(t,["children","className","getCount","url"]);let p=PY(),[d,u]=(0,kn.useState)(void 0),[y,m]=(0,kn.useState)(!1);return(0,kn.useEffect)(()=>{m(!0),r(s,g=>{p()&&(u(g),m(!1))})},[s]),(0,Ca.jsx)("span",ky(gn({className:(0,Ih.default)("react-share__ShareCount",n)},l),{children:!y&&d!==void 0&&o(d)}))}function ki(e){let t=o=>(0,Ca.jsx)(NY,gn({getCount:e},o));return t.displayName=`ShareCount(${e.name})`,t}function EY(e,t){let o=`https://graph.facebook.com/?id=${e}&fields=og_object{engagement}`;(0,Ur.default)(o,(n,r)=>{t(!n&&r&&r.og_object&&r.og_object.engagement?r.og_object.engagement.count:void 0)})}var QIe=ki(EY),qIe=wt({color:"#009ad9",networkName:"hatena",path:"M 36.164062 33.554688 C 34.988281 32.234375 33.347656 31.5 31.253906 31.34375 C 33.125 30.835938 34.476562 30.09375 35.335938 29.09375 C 36.191406 28.09375 36.609375 26.78125 36.609375 25.101562 C 36.628906 23.875 36.332031 22.660156 35.75 21.578125 C 35.160156 20.558594 34.292969 19.71875 33.253906 19.160156 C 32.304688 18.640625 31.175781 18.265625 29.847656 18.042969 C 28.523438 17.824219 26.195312 17.730469 22.867188 17.730469 L 14.769531 17.730469 L 14.769531 47.269531 L 23.113281 47.269531 C 26.46875 47.269531 28.886719 47.15625 30.367188 46.929688 C 31.851562 46.695312 33.085938 46.304688 34.085938 45.773438 C 35.289062 45.148438 36.28125 44.179688 36.933594 42.992188 C 37.597656 41.796875 37.933594 40.402344 37.933594 38.816406 C 37.933594 36.621094 37.347656 34.867188 36.164062 33.554688 Z M 22.257812 24.269531 L 23.984375 24.269531 C 25.988281 24.269531 27.332031 24.496094 28.015625 24.945312 C 28.703125 25.402344 29.042969 26.183594 29.042969 27.285156 C 29.042969 28.390625 28.664062 29.105469 27.9375 29.550781 C 27.210938 29.992188 25.84375 30.199219 23.855469 30.199219 L 22.257812 30.199219 Z M 29.121094 41.210938 C 28.328125 41.691406 26.976562 41.925781 25.078125 41.925781 L 22.257812 41.925781 L 22.257812 35.488281 L 25.195312 35.488281 C 27.144531 35.488281 28.496094 35.738281 29.210938 36.230469 C 29.925781 36.726562 30.304688 37.582031 30.304688 38.832031 C 30.304688 40.078125 29.914062 40.742188 29.105469 41.222656 Z M 29.121094 41.210938 M 46.488281 39.792969 C 44.421875 39.792969 42.742188 41.46875 42.742188 43.535156 C 42.742188 45.605469 44.421875 47.28125 46.488281 47.28125 C 48.554688 47.28125 50.230469 45.605469 50.230469 43.535156 C 50.230469 41.46875 48.554688 39.792969 46.488281 39.792969 Z M 46.488281 39.792969 M 43.238281 17.730469 L 49.738281 17.730469 L 49.738281 37.429688 L 43.238281 37.429688 Z M 43.238281 17.730469 "});function RY(e,{title:t}){return _t(e,"hatena.url"),`http://b.hatena.ne.jp/add?mode=confirm&url=${e}&title=${t}`}var KIe=Bt("hatena",RY,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function FY(e,t){(0,Ur.default)("https://bookmark.hatenaapis.com/count/entry"+dt({url:e}),(n,r)=>{t(r??void 0)})}var jIe=ki(FY),YIe=wt({color:"#1F1F1F",networkName:"instapaper",path:"M35.688 43.012c0 2.425.361 2.785 3.912 3.056V48H24.401v-1.932c3.555-.27 3.912-.63 3.912-3.056V20.944c0-2.379-.36-2.785-3.912-3.056V16H39.6v1.888c-3.55.27-3.912.675-3.912 3.056v22.068h.001z"});function BY(e,{title:t,description:o}){return _t(e,"instapaper.url"),"http://www.instapaper.com/hello2"+dt({url:e,title:t,description:o})}var XIe=Bt("instapaper",BY,e=>({title:e.title,description:e.description}),{windowWidth:500,windowHeight:500,windowPosition:"windowCenter"});var JIe=wt({color:"#00b800",networkName:"line",path:"M52.62 30.138c0 3.693-1.432 7.019-4.42 10.296h.001c-4.326 4.979-14 11.044-16.201 11.972-2.2.927-1.876-.591-1.786-1.112l.294-1.765c.069-.527.142-1.343-.066-1.865-.232-.574-1.146-.872-1.817-1.016-9.909-1.31-17.245-8.238-17.245-16.51 0-9.226 9.251-16.733 20.62-16.733 11.37 0 20.62 7.507 20.62 16.733zM27.81 25.68h-1.446a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-8.985a.402.402 0 0 0-.402-.401zm9.956 0H36.32a.402.402 0 0 0-.402.401v5.338L31.8 25.858a.39.39 0 0 0-.031-.04l-.002-.003-.024-.025-.008-.007a.313.313 0 0 0-.032-.026.255.255 0 0 1-.021-.014l-.012-.007-.021-.012-.013-.006-.023-.01-.013-.005-.024-.008-.014-.003-.023-.005-.017-.002-.021-.003-.021-.002h-1.46a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-5.337l4.123 5.568c.028.04.063.072.101.099l.004.003a.236.236 0 0 0 .025.015l.012.006.019.01a.154.154 0 0 1 .019.008l.012.004.028.01.005.001a.442.442 0 0 0 .104.013h1.446a.4.4 0 0 0 .401-.4v-8.985a.402.402 0 0 0-.401-.401zm-13.442 7.537h-3.93v-7.136a.401.401 0 0 0-.401-.401h-1.447a.4.4 0 0 0-.401.401v8.984a.392.392 0 0 0 .123.29c.072.068.17.111.278.111h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401zm21.429-5.287c.222 0 .401-.18.401-.402v-1.446a.401.401 0 0 0-.401-.402h-5.778a.398.398 0 0 0-.279.113l-.005.004-.006.008a.397.397 0 0 0-.111.276v8.984c0 .108.043.206.112.278l.005.006a.401.401 0 0 0 .284.117h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401h-3.93v-1.519h3.93c.222 0 .401-.18.401-.402V29.85a.401.401 0 0 0-.401-.402h-3.93V27.93h3.93z"});function $Y(e,{title:t}){return _t(e,"line.url"),"https://social-plugins.line.me/lineit/share"+dt({url:e,text:t})}var ZIe=Bt("line",$Y,e=>({title:e.title}),{windowWidth:500,windowHeight:500});var LY=wt({color:"#0077B5",networkName:"linkedin",path:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"}),TE=LY;function HY(e,{title:t,summary:o,source:n}){return _t(e,"linkedin.url"),"https://linkedin.com/shareArticle"+dt({url:e,mini:"true",title:t,summary:o,source:n})}var VY=Bt("linkedin",HY,({title:e,summary:t,source:o})=>({title:e,summary:t,source:o}),{windowWidth:750,windowHeight:600}),AE=VY,eke=wt({color:"#21A5D8",networkName:"livejournal",path:"M18.3407821,28.1764706 L21.9441341,31.789916 L33.0055865,42.882353 C33.0055865,42.882353 33.0893855,42.9663866 33.0893855,42.9663866 L46.6648046,47 C46.6648046,47 46.6648046,47 46.7486034,47 C46.8324022,47 46.8324022,47 46.9162012,46.9159664 C47,46.8319327 47,46.8319327 47,46.7478991 L42.9776536,33.1344537 C42.9776536,33.1344537 42.9776536,33.1344537 42.8938548,33.0504202 L31.1620111,21.3697479 L31.1620111,21.3697479 L28.1452514,18.2605042 C27.3072626,17.4201681 26.5530726,17 25.7150838,17 C24.2905028,17 23.0335195,18.3445378 21.5251397,19.8571429 C21.273743,20.1092437 20.9385475,20.4453781 20.6871508,20.697479 C20.3519553,21.0336134 20.1005586,21.2857143 19.849162,21.5378151 C18.3407821,22.9663866 17.0837989,24.2268908 17,25.7394958 C17.0837989,26.4957983 17.5027933,27.3361345 18.3407821,28.1764706 Z M39.9012319,39.6134454 C39.7336341,39.4453781 39.4822374,37.6806724 40.2364275,36.8403362
6023C40.9906174,36.0840337 41.6610084,36 42.1638017,36 C42.3313995,36 42.4989973,36 42.5827961,36 L44.8453659,43.5630253 L43.5883828,44.8235295 L36.0464833,42.5546218 C35.9626843,42.2184874 35.8788855,41.2100841 36.8844722,40.2016807 C37.2196676,39.8655463 37.8900587,39.6134454 38.5604498,39.6134454 C39.147042,39.6134454 39.5660364,39.7815126 39.5660364,39.7815126 C39.6498353,39.8655463 39.8174331,39.8655463 39.8174331,39.7815126 C39.9850307,39.7815126 39.9850307,39.697479 39.9012319,39.6134454 Z"});function OY(e,{title:t,description:o}){return _t(e,"livejournal.url"),"https://www.livejournal.com/update.bml"+dt({subject:t,event:o})}var tke=Bt("livejournal",OY,e=>({title:e.title,description:e.description}),{windowWidth:660,windowHeight:460});var oke=wt({color:"#168DE2",networkName:"mailru",path:"M39.7107745,17 C41.6619755,17 43.3204965,18.732852 43.3204965,21.0072202 C43.3204965,23.2815885 41.7595357,25.0144404 39.7107745,25.0144404 C37.7595732,25.0144404 36.1010522,23.2815885 36.1010522,21.0072202 C36.1010522,18.732852 37.7595732,17 39.7107745,17 Z M24.3938451,17 C26.3450463,17 28.0035672,18.732852 28.0035672,21.0072202 C28.0035672,23.2815885 26.4426063,25.0144404 24.3938451,25.0144404 C22.4426439,25.0144404 20.7841229,23.2815885 20.7841229,21.0072202 C20.7841229,18.732852 22.4426439,17 24.3938451,17 Z M51.9057817,43.4259928 C51.7106617,44.0758123 51.4179815,44.6173285 50.9301812,44.9422383 C50.637501,45.1588448 50.2472607,45.267148 49.8570205,45.267148 C49.07654,45.267148 48.3936197,44.833935 48.0033795,44.0758123 L46.2472985,40.7184115 L45.759498,41.2599278 C42.5400162,44.9422383 37.466893,47 32.0035297,47 C26.5401664,47 21.5646034,44.9422383 18.2475614,41.2599278 L17.7597611,40.7184115 L16.00368,44.0758123 C15.6134398,44.833935 14.9305194,45.267148 14.1500389,45.267148 C13.7597986,45.267148 13.3695584,45.1588448 13.0768782,44.9422383 C12.0037176,44.2924187 11.7110374,42.7761733 12.2963978,41.5848375 L16.7841605,33.0288807 C17.1744007,32.270758 17.8573211,31.8375453 18.6378016,31.8375453 C19.0280418,31.8375453 19.4182821,31.9458485 19.7109623,32.1624548 C20.7841229,32.8122743 21.0768031,34.3285197 20.4914427,35.5198555 L20.1012025,36.2779783 L20.2963226,36.602888 C22.4426439,39.9602888 27.0279667,42.234657 31.9059697,42.234657 C36.7839727,42.234657 41.3692955,40.068592 43.5156167,36.602888 L43.7107367,36.2779783 L43.3204965,35.6281587 C43.0278165,35.0866425 42.9302562,34.436823 43.1253765,33.7870035 C43.3204965,33.137184 43.6131767,32.5956678 44.100977,32.270758 C44.3936572,32.0541515 44.7838975,31.9458485 45.1741377,31.9458485 C45.9546182,31.9458485 46.6375385,32.3790613 47.0277787,33.137184 L51.5155415,41.6931408 C52.003342,42.234657 52.100902,42.8844765 51.9057817,43.4259928 Z"});function GY(e,{title:t,description:o,imageUrl:n}){return _t(e,"mailru.url"),"https://connect.mail.ru/share"+dt({url:e,title:t,description:o,image_url:n})}var nke=Bt("mailru",GY,e=>({title:e.title,description:e.description,imageUrl:e.imageUrl}),{windowWidth:660,windowHeight:460});var ake=wt({color:"#F97400",networkName:"ok",path:"M39,30c-1,0-3,2-7,2s-6-2-7-2c-1.1,0-2,0.9-2,2c0,1,0.6,1.5,1,1.7c1.2,0.7,5,2.3,5,2.3l-4.3,5.4 c0,0-0.8,0.9-0.8,1.6c0,1.1,0.9,2,2,2c1,0,1.5-0.7,1.5-0.7S32,39,32,39c0,0,4.5,5.3,4.5,5.3S37,45,38,45c1.1,0,2-0.9,2-2 c0-0.6-0.8-1.6-0.8-1.6L35,36c0,0,3.8-1.6,5-2.3c0.4-0.3,1-0.7,1-1.7C41,30.9,40.1,30,39,30z M32,15c-3.9,0-7,3.1-7,7s3.1,7,7,7c3.9,0,7-3.1,7-7S35.9,15,32,15z M32,25.5 c-1.9,0-3.5-1.6-3.5-3.5c0-1.9,1.6-3.5,3.5-3.5c1.9,0,3.5,1.6,3.5,3.5C35.5,23.9,33.9,22.5,35,22.5z "});function zY(e,{title:t,description:o,image:n}){return _t(e,"ok.url"),"https://connect.ok.ru/offer"+dt({url:e,title:t,description:o,imageUrl:n})}var rke=Bt("ok",zY,e=>({title:e.title,description:e.description,image:e.image}),{windowWidth:588,windowHeight:480,windowPosition:"screenCenter"});function UY(e,t){window.OK||(window.OK={Share:{count:function(s,l){var p,d;(d=(p=window.OK.callbacks)[s])==null||d.call(p,l)}},callbacks:[]});let o="https://connect.ok.ru/dk",n=window.OK.callbacks.length;return window.ODKL={updateCount(r,s){var l,p;let d=r===""?0:parseInt(r.replace("react-share-",""),10);(p=(l=window.OK.callbacks)[d])==null||p.call(l,s===""?void 0:parseInt(s,10))}},window.OK.callbacks.push(t),(0,Ur.default)(o+dt({"st.cmd":"extLike",uid:`react-share-${n}`,ref:e}))}var ike=ki(UY),ske=wt({color:"#E60023",networkName:"pinterest",path:"M32,16c-8.8,0-16,7.2-16,16c0,6.6,3.9,12.2,9.6,14.7c0-1.1,0-2.5,0.3-3.7 c0.3-1.3,2.1-8.7,2.1-8.7s-0.5-1-0.5-2.5c0-2.4,1.4-4.1,3.1-4.1c1.5,0,2.2,1.1,2.2,2.4c0,1.5-0.9,3.7-1.4,5.7 c-0.4,1.7,0.9,3.1,2.5,3.1c3,0,5.1-3.9,5.1-8.5c0-3.5-2.4-6.1-6.7-6.1c-4.9,0-7.9,3.6-7.9,7.7c0,1.4,0.4,2.4,1.1,3.1 c0.3,0.3,0.3,0.5,0.2,0.9c-0.1,0.3-0.3,1-0.3,1.3c-0.1,0.4-0.4,0.6-0.8,0.4c-2.2-0.9-3.3-3.4-3.3-6.1c0-4.5,3.8-10,11.4-10 c6.1,0,10.1,4.4,10.1,9.2c0,6.3-3.5,11-8.6,11c-1.7,0-3.4-0.9-3.9-2c0,0-0.9,3.7-1.1,4.4c-0.3,1.2-1,2.5-1.6,3.4 c1.4,0.4,3,0.7,4.5,0.7c8.8,0,16-7.2,16-16C48,23.2,40.8,16,32,16z"});function WY(e,{media:t,description:o,pinId:n}){return n?`https://pinterest.com/pin/${n}/repin/x/`:(_t(e,"pinterest.url"),_t(t,"pinterest.media"),"https://pinterest.com/pin/create/button/"+dt({url:e,media:t,description:o}))}var lke=Bt("pinterest",WY,e=>({media:e.media,description:e.description,pinId:e.pinId}),{windowWidth:1e3,windowHeight:730});function QY(e,t){(0,Ur.default)("https://api.pinterest.com/v1/urls/count.json"+dt({url:e}),(n,r)=>{t(r?r.count:void 0)})}var pke=ki(QY),cke=wt({color:"#EF3F56",networkName:"pocket",path:"M41.084 29.065l-7.528 7.882a2.104 2.104 0 0 1-1.521.666 2.106 2.106 0 0 1-1.522-.666l-7.528-7.882c-.876-.914-.902-2.43-.065-3.384.84-.955 2.228-.987 3.1-.072l6.015 6.286 6.022-6.286c.88-.918 2.263-.883 3.102.071.841.938.82 2.465-.06 3.383l-.015.002zm6.777-10.976C47.463 16.84 46.361 16 45.14 16H18.905c-1.2 0-2.289.82-2.716 2.044-.125.363-.189.743-.189 1.125v10.539l.112 2.096c.464 4.766 2.73 8.933 6.243 11.838.06.053.125.102.19.153l.04.033c1.882 1.499 3.986 2.514 6.259 3.014a14.662 14.662 0 0 0 6.13.052c.118-.042.235-.065.353-.087.03 0 .065-.022.098-.042a15.395 15.395 0 0 0 6.011-2.945l.039-.045.18-.153c3.502-2.902 5.765-7.072 6.248-11.852L48 29.674v-10.52c0-.366-.041-.728-.161-1.08l.022.015z"});function qY(e,{title:t}){return _t(e,"pocket.url"),"https://getpocket.com/save"+dt({url:e,title:t})}var dke=Bt("pocket",qY,e=>({title:e.title}),{windowWidth:500,windowHeight:500});
6023var uke=wt({color:"#FF5700",networkName:"reddit",path:"M 53.34375 32 C 53.277344 30.160156 52.136719 28.53125 50.429688 27.839844 C 48.722656 27.148438 46.769531 27.523438 45.441406 28.800781 C 41.800781 26.324219 37.519531 24.957031 33.121094 24.863281 L 35.199219 14.878906 L 42.046875 16.320312 C 42.214844 17.882812 43.496094 19.09375 45.066406 19.171875 C 46.636719 19.253906 48.03125 18.183594 48.359375 16.644531 C 48.6875 15.105469 47.847656 13.558594 46.382812 12.992188 C 44.914062 12.425781 43.253906 13.007812 42.464844 14.367188 L 34.625 12.800781 C 34.363281 12.742188 34.09375 12.792969 33.871094 12.9375 C 33.648438 13.082031 33.492188 13.308594 33.441406 13.566406 L 31.070312 24.671875 C 26.617188 24.738281 22.277344 26.105469 18.59375 28.609375 C 17.242188 27.339844 15.273438 26.988281 13.570312 27.707031 C 11.863281 28.429688 10.746094 30.089844 10.71875 31.941406 C 10.691406 33.789062 11.757812 35.484375 13.441406 36.257812 C 13.402344 36.726562 13.402344 37.195312 13.441406 37.664062 C 13.441406 44.832031 21.792969 50.65625 32.097656 50.65625 C 42.398438 50.65625 50.753906 44.832031 50.753906 37.664062 C 50.789062 37.195312 50.789062 36.726562 50.753906 36.257812 C 52.363281 35.453125 53.371094 33.800781 53.34375 32 Z M 21.34375 35.199219 C 21.34375 33.433594 22.777344 32 24.542969 32 C 26.3125 32 27.742188 33.433594 27.742188 35.199219 C 27.742188 36.96875 26.3125 38.398438 24.542969 38.398438 C 22.777344 38.398438 21.34375 36.96875 21.34375 35.199219 Z M 39.9375 44 C 37.664062 45.710938 34.871094 46.582031 32.03125 46.464844 C 29.191406 46.582031 26.398438 45.710938 24.128906 44 C 23.847656 43.65625 23.871094 43.15625 24.183594 42.839844 C 24.5 42.527344 25 42.503906 25.34375 42.785156 C 27.269531 44.195312 29.617188 44.90625 32 44.800781 C 34.386719 44.929688 36.746094 44.242188 38.6875 42.847656 C 39.042969 42.503906 39.605469 42.511719 39.953125 42.863281 C 40.296875 43.21875 40.289062 43.785156 39.9375 44.128906 Z M 39.359375 38.527344 C 37.59375 38.527344 36.160156 37.09375 36.160156 35.328125 C 36.160156 33.5625 37.59375 32.128906 39.359375 32.128906 C 41.128906 32.128906 42.558594 33.5625 42.558594 35.328125 C 42.59375 36.203125 42.269531 37.054688 41.65625 37.6875 C 41.046875 38.316406 40.203125 38.664062 39.328125 38.65625 Z M 39.359375 38.527344"});function KY(e,{title:t}){return _t(e,"reddit.url"),"https://www.reddit.com/submit"+dt({url:e,title:t})}var yke=Bt("reddit",KY,e=>({title:e.title}),{windowWidth:660,windowHeight:460,windowPosition:"windowCenter"});function jY(e,{title:t}){return _t(e,"gab.url"),"https://gab.com/compose"+dt({url:e,text:t})}var mke=Bt("gab",jY,e=>({title:e.title}),{windowWidth:660,windowHeight:640,windowPosition:"windowCenter"});var gke=wt({color:"#00d178",networkName:"gab",path:"m17.0506,23.97457l5.18518,0l0,14.23933c0,6.82699 -3.72695,10.09328 -9.33471,10.09328c-2.55969,0 -4.82842,-0.87286 -6.22084,-2.0713l2.07477,-3.88283c1.19844,0.81051 2.33108,1.29543 3.85511,1.29543c2.75366,0 4.44049,-1.97432 4.44049,-4.82149l0,-0.87286c-1.16728,1.39242 -2.81947,2.0713 -4.63446,2.0713c-4.44048,0 -7.81068,-3.68885 -7.81068,-8.28521c0,-4.59289 3.37019,-8.28174 7.81068,-8.28174c1.81499,0 3.46718,0.67888 4.63446,2.0713l0,-1.55521zm-3.62997,11.39217c1.97777,0 3.62997,-1.6522 3.62997,-3.62652c0,-1.97432 -1.6522,-3.62305 -3.62997,-3.62305c-1.97778,0 -3.62997,1.64873 -3.62997,3.62305c0,1.97432 1.65219,3.62652 3.62997,3.62652zm25.7077,4.13913l-5.18518,0l0,-1.29197c-1.00448,1.13264 -2.3969,1.81152 -4.21188,1.81152c-3.62997,0 -5.63893,-2.52504 -5.63893,-5.4034c0,-4.27076 5.251,-5.85715 9.78846,-4.49937c-0.09698,-1.39241 -0.9733,-2.39343 -2.78829,-2.39343c-1.26426,0 -2.72248,0.48492 -3.62997,1.00102l-1.5552,-3.72003c1.19844,-0.77587 3.40136,-1.55174 5.96452,-1.55174c3.78931,0 7.25648,2.13365 7.25648,7.95962l0,8.08777zm-5.18518,-6.14809c-2.42806,-0.77587 -4.66563,-0.3533 -4.66563,1.36124c0,1.00101 0.84168,1.6799 1.84616,1.6799c1.20191,0 2.56315,-0.96984 2.81947,-3.04115zm13.00626,-17.66495l0,9.83695c1.16727,-1.39242 2.81946,-2.0713 4.63445,-2.0713c4.44048,0 7.81068,3.68885 7.81068,8.28174c0,4.59636 -3.37019,8.28521 -7.81068,8.28521c-1.81499,0 -3.46718,-0.67888 -4.63445,-2.0713l0,1.55174l-5.18519,0l0,-23.81304l5.18519,0zm3.62997,19.67391c1.97777,0 3.62997,-1.6522 3.62997,-3.62652c0,-1.97432 -1.6522,-3.62305 -3.62997,-3.62305c-1.97778,0 -3.62997,1.64873 -3.62997,3.62305c0,1.97432 1.65219,3.62652 3.62997,3.62652zm0,0"});
6023function YY(e,t){let o=`https://www.reddit.com/api/info.json?limit=1&url=${e}`;(0,Ur.default)(o,{param:"jsonp"},(n,r)=>{t(!n&&r&&r.data&&r.data.children.length>0&&r.data.children[0].data.score?r.data.children[0].data.score:void 0)})}var fke=ki(YY),bke=wt({color:"#25A3E3",networkName:"telegram",path:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"});function XY(e,{title:t}){return _t(e,"telegram.url"),"https://telegram.me/share/url"+dt({url:e,text:t})}var Ske=Bt("telegram",XY,e=>({title:e.title}),{windowWidth:550,windowHeight:400});var hke=wt({color:"#34526f",networkName:"tumblr",path:"M39.2,41c-0.6,0.3-1.6,0.5-2.4,0.5c-2.4,0.1-2.9-1.7-2.9-3v-9.3h6v-4.5h-6V17c0,0-4.3,0-4.4,0 c-0.1,0-0.2,0.1-0.2,0.2c-0.3,2.3-1.4,6.4-5.9,8.1v3.9h3V39c0,3.4,2.5,8.1,9,8c2.2,0,4.7-1,5.2-1.8L39.2,41z"});function JY(e,{title:t,caption:o,tags:n,posttype:r}){return _t(e,"tumblr.url"),"https://www.tumblr.com/widgets/share/tool"+dt({canonicalUrl:e,title:t,caption:o,tags:n,posttype:r})}var Cke=Bt("tumblr",JY,e=>({title:e.title,tags:(e.tags||[]).join(","),caption:e.caption,posttype:e.posttype||"link"}),{windowWidth:660,windowHeight:460});function ZY(e,t){return(0,Ur.default)("https://api.tumblr.com/v2/share/stats"+dt({url:e}),(n,r)=>{t(!n&&r&&r.response?r.response.note_count:void 0)})}var xke=ki(ZY),eX=wt({color:"#00aced",networkName:"twitter",path:"M48,22.1c-1.2,0.5-2.4,0.9-3.8,1c1.4-0.8,2.4-2.1,2.9-3.6c-1.3,0.8-2.7,1.3-4.2,1.6 C41.7,19.8,40,19,38.2,19c-3.6,0-6.6,2.9-6.6,6.6c0,0.5,0.1,1,0.2,1.5c-5.5-0.3-10.3-2.9-13.5-6.9c-0.6,1-0.9,2.1-0.9,3.3 c0,2.3,1.2,4.3,2.9,5.5c-1.1,0-2.1-0.3-3-0.8c0,0,0,0.1,0,0.1c0,3.2,2.3,5.8,5.3,6.4c-0.6,0.1-1.1,0.2-1.7,0.2c-0.4,0-0.8,0-1.2-0.1 c0.8,2.6,3.3,4.5,6.1,4.6c-2.2,1.8-5.1,2.8-8.2,2.8c-0.5,0-1.1,0-1.6-0.1c2.9,1.9,6.4,2.9,10.1,2.9c12.1,0,18.7-10,18.7-18.7 c0-0.3,0-0.6,0-0.8C46,24.5,47.1,23.4,48,22.1z"}),_E=eX;function tX(e,{title:t,via:o,hashtags:n=[],related:r=[]}){return _t(e,"twitter.url"),_t(Array.isArray(n),"twitter.hashtags is not an array"),_t(Array.isArray(r),"twitter.related is not an array"),"https://twitter.com/intent/tweet"+dt({url:e,text:t,via:o,hashtags:n.length>0?n.join(","):void 0,related:r.length>0?r.join(","):void 0})}var oX=Bt("twitter",tX,e=>({hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}),{windowWidth:550,windowHeight:400}),wE=oX,vke=wt({color:"#7360f2",networkName:"viber",path:"m31.0,12.3c9.0,0.2 16.4,6.2 18.0,15.2c0.2,1.5 0.3,3.0 0.4,4.6a1.0,1.0 0 0 1 -0.8,1.2l-0.1,0a1.1,1.1 0 0 1 -1.0,-1.2l0,0c-0.0,-1.2 -0.1,-2.5 -0.3,-3.8a16.1,16.1 0 0 0 -13.0,-13.5c-1.0,-0.1 -2.0,-0.2 -3.0,-0.3c-0.6,-0.0 -1.4,-0.1 -1.6,-0.8a1.1,1.1 0 0 1 0.9,-1.2l0.6,0l0.0,-0.0zm10.6,39.2a19.9,19.9 0 0 1 -2.1,-0.6c-6.9,-2.9 -13.2,-6.6 -18.3,-12.2a47.5,47.5 0 0 1 -7.0,-10.7c-0.8,-1.8 -1.6,-3.7 -2.4,-5.6c-0.6,-1.7 0.3,-3.4 1.4,-4.7a11.3,11.3 0 0 1 3.7,-2.8a2.4,2.4 0 0 1 3.0,0.7a39.0,39.0 0 0 1 4.7,6.5a3.1,3.1 0 0 1 -0.8,4.2c-0.3,0.2 -0.6,0.5 -1.0,0.8a3.3,3.3 0 0 0 -0.7,0.7a2.1,2.1 0 0 0 -0.1,1.9c1.7,4.9 4.7,8.7 9.7,10.8a5.0,5.0 0 0 0 2.5,0.6c1.5,-0.1 2.0,-1.8 3.1,-2.7a2.9,2.9 0 0 1 3.5,-0.1c1.1,0.7 2.2,1.4 3.3,2.2a37.8,37.8 0 0 1 3.1,2.4a2.4,2.4 0 0 1 0.7,3.0a10.4,10.4 0 0 1 -4.4,4.8a10.8,10.8 0 0 1 -1.9,0.6c-0.7,-0.2 0.6,-0.2 0,0l0.0,0l0,-0.0zm3.1,-21.4a4.2,4.2 0 0 1 -0.0,0.6a1.0,1.0 0 0 1 -1.9,0.1a2.7,2.7 0 0 1 -0.1,-0.8a10.9,10.9 0 0 0 -1.4,-5.5a10.2,10.2 0 0 0 -4.2,-4.0a12.3,12.3 0 0 0 -3.4,-1.0c-0.5,-0.0 -1.0,-0.1 -1.5,-0.2a0.9,0.9 0 0 1 -0.9,-1.0l0,-0.
60231a0.9,0.9 0 0 1 0.9,-0.9l0.1,0a14.1,14.1 0 0 1 5.9,1.5a11.9,11.9 0 0 1 6.5,9.3c0,0.1 0.0,0.3 0.0,0.5c0,0.4 0.0,0.9 0.0,1.5l0,0l0.0,0.0zm-5.6,-0.2a1.1,1.1 0 0 1 -1.2,-0.9l0,-0.1a11.3,11.3 0 0 0 -0.2,-1.4a4.0,4.0 0 0 0 -1.5,-2.3a3.9,3.9 0 0 0 -1.2,-0.5c-0.5,-0.1 -1.1,-0.1 -1.6,-0.2a1.0,1.0 0 0 1 -0.8,-1.1l0,0l0,0a1.0,1.0 0 0 1 1.1,-0.8c3.4,0.2 6.0,2.0 6.3,6.2a2.8,2.8 0 0 1 0,0.8a0.8,0.8 0 0 1 -0.8,0.7l0,0l0.0,-0.0z"});function nX(e,{title:t,separator:o}){return _t(e,"viber.url"),"viber://forward"+dt({text:t?t+o+e:e})}var Ike=Bt("viber",nX,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:660,windowHeight:460});var kke=wt({color:"#4C75A3",networkName:"vk",path:"M44.94,44.84h-0.2c-2.17-.36-3.66-1.92-4.92-3.37C39.1,40.66,38,38.81,36.7,39c-1.85.3-.93,3.52-1.71,4.9-0.62,1.11-3.29.91-5.12,0.71-5.79-.62-8.75-3.77-11.35-7.14A64.13,64.13,0,0,1,11.6,26a10.59,10.59,0,0,1-1.51-4.49C11,20.7,12.56,21,14.11,21c1.31,0,3.36-.29,4.32.2C19,21.46,19.57,23,20,24a37.18,37.18,0,0,0,3.31,5.82c0.56,0.81,1.41,2.35,2.41,2.14s1.06-2.63,1.1-4.18c0-1.77,0-4-.5-4.9S25,22,24.15,21.47c0.73-1.49,2.72-1.63,5.12-1.63,2,0,4.84-.23,5.62,1.12s0.25,3.85.2,5.71c-0.06,2.09-.41,4.25,1,5.21,1.09-.12,1.68-1.2,2.31-2A28,28,0,0,0,41.72,24c0.44-1,.91-2.65,1.71-3,1.21-.47,3.15-0.1,4.92-0.1,1.46,0,4.05-.41,4.52.61,0.39,0.85-.75,3-1.1,3.57a61.88,61.88,0,0,1-4.12,5.61c-0.58.78-1.78,2-1.71,3.27,0.05,0.94,1,1.67,1.71,2.35a33.12,33.12,0,0,1,3.92,4.18c0.47,0.62,1.5,2,1.4,2.76C52.66,45.81,46.88,44.24,44.94,44.84Z"});function aX(e,{title:t,image:o,noParse:n,noVkLinks:r}){return _t(e,"vk.url"),"https://vk.com/share.php"+dt({url:e,title:t,image:o,noparse:n?1:0,no_vk_links:r?1:0})}var Mke=Bt("vk",aX,e=>({title:e.title,image:e.image,noParse:e.noParse,noVkLinks:e.noVkLinks}),{windowWidth:660,windowHeight:460});function rX(e,t){window.VK||(window.VK={}),window.VK.Share={count:(r,s)=>{var l,p;return(p=(l=window.VK.callbacks)==null?void 0:l[r])==null?void 0:p.call(l,s)}},window.VK.callbacks=[];let o="https://vk.com/share.php",n=window.VK.callbacks.length;return window.VK.callbacks.push(t),(0,Ur.default)(o+dt({act:"count",index:n,url:e}))}var Tke=ki(rX),Ake=wt({color:"#DF2029",networkName:"weibo",path:"M40.9756152,15.0217119 C40.5000732,15.0546301 39.9999314,15.1204666 39.5325878,15.2192213 C38.6634928,15.4085016 38.0977589,16.2643757 38.2863368,17.1284787 C38.4667163,18.0008129 39.3194143,18.5686519 40.1885094,18.3793715 C42.8613908,17.8115326 45.7720411,18.6427174 47.7316073,20.8153207 C49.6911735,22.996153 50.2077122,25.975254 49.3714112,28.5840234 C49.1008441,29.4316684 49.5763861,30.3533789 50.4208857,30.6249537 C51.2653852,30.8965286 52.1754769,30.4192153 52.4542425,29.5715703 C53.6349013,25.9011885 52.9133876,21.7699494 50.1585171,18.7085538 C48.0923641,16.4042776 45.2063093,15.1533848 42.3530505,15.0217119 C41.8775084,14.9970227 41.4511594,14.9887937 40.9756152,15.0217119 Z M27.9227762,19.8277737 C24.9957268,20.140498 20.863421,22.4365431 17.2312548,26.0822378 C13.2711279,30.0571148 11,34.2871065 11,37.9328012 C11,44.9032373 19.8713401,49.125 28.5786978,49.125 C39.9917329,49.125 47.600423,42.4261409 47.600423,37.1427636 C47.600423,33.9496952 44.9603397,32.1638816 42.549827,31.4149913 C41.9594976,31.2339421 41.5167516,31.1434164 41.8283133,30.3616079 C42.5006339,28.66632 42.6236176,27.1932286 41.8939054,26.1480742 C40.5328692,24.1894405 36.7203236,24.2881952 32.448635,26.0822378 C32.448635,26.0822378 31.1203949,26.6912261 31.4647526,25.6213825 C32.1206742,23.4981576 32.0304845,21.712342 31.0056075,20.6836478 C30.2840938,19.9512176 29.2510184,19.6878718 27.9227762,19.8277737 Z M42.0906819,20.6836478 C41.6233383,20.6589586 41.1723917,20.716566 40.7132466,20.8153207 C39.9671353,20.9716828 39.4997917,21.7781784 39.6637721,22.5270687 C39.8277525,23.275959 40.5574647,23.7450433 41.303576,23.5804521 C42.1972686,23.3911718 43.2057485,23.6380596 43.8616701,24.3704897 C44.5175916,25.1029198 44.6733735,26.0657797 44.3864073,26.9381118 C44.1486363,27.6705419 44.5093932,28.4770397 45.2391054,28.7156963 C45.9688176,28.9461239 46.780521,28.5922524 47.0100936,27.8598223 C47.584026,26.0740087 47.2396661,24.0248493 45.8950269,22.5270687 C44.886547,21.4078489 43.4845162,20.7494842 42.0906819,20.6836478 Z M29.496988,29.9665891 C35.3100922,30.1723275 39.9917329,33.0691319 40.3852858,37.0769272 C40.8362324,41.6607904 35.5970585,45.9319315 28.6442899,46.6232144 C21.6915214,47.3144973 15.6488446,44.154347 15.197898,39.5787128 C14.7469514,34.9948495 20.059916,30.7237084 27.004486,30.0324256 C27.8735831,29.950131 28.6688875,29.9336709 29.496988,29.9665891 Z M25.5614586,34.3776322 C23.183744,34.5916017 20.9372116,35.9577073 19.9205332,37.9328012 C18.5348994,40.6238672 19.9041362,43.6029661 23.0689567,44.582284 C26.340366,45.5945202 30.1857056,44.0638213 31.5303448,41.1587879 C32.8503864,38.3195909 31.1613894,35.3734082 27.9227762,34.5751416 C27.1438688,34.3776322 26.356763,34.3035667 25.5614586,34.3776322 Z M24.052839,38.7228388 C24.3316067,38.7310678 24.5857748,38.8215935 24.8399449,38.9203482 C25.8648218,39.3400561 26.1845841,40.4428158 25.5614586,41.4221338 C24.9219361,42.3932227 23.5690963,42.8623069 22.5442194,42.4096807 C21.5357395,41.9652856 21.2487754,40.8542948 21.8882979,39.9078951 C22.3638421,39.2001542 23.2247386,38.714
60236097 24.052839,38.7228388 Z"});function iX(e,{title:t,image:o}){return _t(e,"weibo.url"),"http://service.weibo.com/share/share.php"+dt({url:e,title:t,pic:o})}var _ke=Bt("weibo",iX,e=>({title:e.title,image:e.image}),{windowWidth:660,windowHeight:550,windowPosition:"screenCenter"});var wke=wt({color:"#25D366",networkName:"whatsapp",path:"m42.32286,33.93287c-0.5178,-0.2589 -3.04726,-1.49644 -3.52105,-1.66732c-0.4712,-0.17346 -0.81554,-0.2589 -1.15987,0.2589c-0.34175,0.51004 -1.33075,1.66474 -1.63108,2.00648c-0.30032,0.33658 -0.60064,0.36247 -1.11327,0.12945c-0.5178,-0.2589 -2.17994,-0.80259 -4.14759,-2.56312c-1.53269,-1.37217 -2.56312,-3.05503 -2.86603,-3.57283c-0.30033,-0.5178 -0.03366,-0.80259 0.22524,-1.06149c0.23301,-0.23301 0.5178,-0.59547 0.7767,-0.90616c0.25372,-0.31068 0.33657,-0.5178 0.51262,-0.85437c0.17088,-0.36246 0.08544,-0.64725 -0.04402,-0.90615c-0.12945,-0.2589 -1.15987,-2.79613 -1.58964,-3.80584c-0.41424,-1.00971 -0.84142,-0.88027 -1.15987,-0.88027c-0.29773,-0.02588 -0.64208,-0.02588 -0.98382,-0.02588c-0.34693,0 -0.90616,0.12945 -1.37736,0.62136c-0.4712,0.5178 -1.80194,1.76053 -1.80194,4.27186c0,2.51134 1.84596,4.945 2.10227,5.30747c0.2589,0.33657 3.63497,5.51458 8.80262,7.74113c1.23237,0.5178 2.1903,0.82848 2.94111,1.08738c1.23237,0.38836 2.35599,0.33657 3.24402,0.20712c0.99159,-0.15534 3.04985,-1.24272 3.47963,-2.45956c0.44013,-1.21683 0.44013,-2.22654 0.31068,-2.45955c-0.12945,-0.23301 -0.46601,-0.36247 -0.98382,-0.59548m-9.40068,12.84407l-0.02589,0c-3.05503,0 -6.08417,-0.82849 -8.72495,-2.38189l-0.62136,-0.37023l-6.47252,1.68286l1.73463,-6.29129l-0.41424,-0.64725c-1.70875,-2.71846 -2.6149,-5.85116 -2.6149,-9.07706c0,-9.39809 7.68934,-17.06155 17.15993,-17.06155c4.58253,0 8.88029,1.78642 12.11655,5.02268c3.23625,3.21036 5.02267,7.50812 5.02267,12.06476c-0.0078,9.3981 -7.69712,17.06155 -17.14699,17.06155m14.58906,-31.58846c-3.93529,-3.80584 -9.1133,-5.95471 -14.62789,-5.95471c-11.36055,0 -20.60848,9.2065 -20.61625,20.52564c0,3.61684 0.94757,7.14565 2.75211,10.26282l-2.92557,10.63564l10.93337,-2.85309c3.0136,1.63108 6.4052,2.4958 9.85634,2.49839l0.01037,0c11.36574,0 20.61884,-9.2091 20.62403,-20.53082c0,-5.48093 -2.14111,-10.64081 -6.03239,-14.51915"});function sX(){return/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)}function lX(e,{title:t,separator:o}){return _t(e,"whatsapp.url"),"https://"+(sX()?"api":"web")+".whatsapp.com/send"+dt({text:t?t+o+e:e})}var Dke=Bt("whatsapp",lX,e=>({title:e.title,separator:e.separator||" "}),{windowWidth:550,windowHeight:400});var Pke=wt({color:"#4326c4",networkName:"workplace",path:"M34.019,10.292c0.21,0.017,0.423,0.034,0.636,0.049 c3.657,0.262,6.976,1.464,9.929,3.635c3.331,2.448,5.635,5.65,6.914,9.584c0.699,2.152,0.983,4.365,0.885,6.623 c-0.136,3.171-1.008,6.13-2.619,8.867c-0.442,0.75-0.908,1.492-1.495,2.141c-0.588,0.651-1.29,1.141-2.146,1.383 c-1.496,0.426-3.247-0.283-3.961-1.642c-0.26-0.494-0.442-1.028-0.654-1.548c-1.156-2.838-2.311-5.679-3.465-8.519 c-0.017-0.042-0.037-0.082-0.065-0.145c-0.101,0.245-0.192,0.472-0.284,0.698c-1.237,3.051-2.475,6.103-3.711,9.155 c-0.466,1.153-1.351,1.815-2.538,2.045c-1.391,0.267-2.577-0.154-3.496-1.247c-0.174-0.209-0.31-0.464-0.415-0.717 c-2.128-5.22-4.248-10.442-6.37-15.665c-0.012-0.029-0.021-0.059-0.036-0.104c0.054-0.003,0.103-0.006,0.15-0.006 c1.498-0.001,2.997,0,4.495-0.004c0.12-0.001,0.176,0.03,0.222,0.146c1.557,3.846,3.117,7.691,4.679,11.536 c0.018,0.046,0.039,0.091,0.067,0.159c0.273-0.673,0.536-1.32,0.797-1.968c1.064-2.627,2.137-5.25,3.19-7.883 c0.482-1.208,1.376-1.917,2.621-2.135c1.454-0.255,2.644,0.257,3.522,1.449c0.133,0.18,0.229,0.393,0.313,0.603 c1.425,3.495,2.848,6.991,4.269,10.488c0.02,0.047,0.04,0.093,0.073,0.172c0.196-0.327,0.385-0.625,0.559-0.935 c0.783-1.397,1.323-2.886,1.614-4.461c0.242-1.312,0.304-2.634,0.187-3.962c-0.242-2.721-1.16-5.192-2.792-7.38 c-2.193-2.939-5.086-4.824-8.673-5.625c-1.553-0.346-3.124-0.405-4.705-0.257c-3.162,0.298-6.036,1.366-8.585,3.258 c-3.414,2.534-5.638,5.871-6.623,10.016c-0.417,1.76-0.546,3.547-0.384,5.348c0.417,4.601,2.359,8.444,5.804,11.517 c2.325,2.073,5.037,3.393,8.094,3.989c1.617,0.317,3.247,0.395,4.889,0.242c1-0.094,1.982-0.268,2.952-0.529 c0.04-0.01,0.081-0.018,0.128-0.028c0,1.526,0,3.047,0,4.586c-0.402,0.074-0.805,0.154-1.21,0.221 c-0.861,0.14-1.728,0.231-2.601,0.258c-0.035,0.002-0.071,0.013-0.108,0.021c-0.493,0-0.983,0-1.476,0 c-0.049-0.007-0.1-0.018-0.149-0.022c-0.315-0.019-0.629-0.033-0.945-0.058c-1.362-0.105-2.702-0.346-4.017-0.716 c-3.254-0.914-6.145-2.495-8.66-4.752c-2.195-1.971-3.926-4.29-5.176-6.963c-1.152-2.466-1.822-5.057-1.993-7.774 c-0.014-0.226-0.033-0.451-0.05-0.676c0-0.502,0-1.003,0-1.504c0.008-0.049,0.02-0.099,0.022-0.148 c0.036-1.025,0.152-2.043,0.338-3.052c0.481-2.616,1.409-5.066,2.8-7.331c2.226-3.625,5.25-6.386,9.074-8.254 c2.536-1.24,5.217-1.947,8.037-2.12
60236c0.23-0.015,0.461-0.034,0.691-0.051C33.052,10.292,33.535,10.292,34.019,10.292z"});function pX(e,{quote:t,hashtag:o}){return _t(e,"workplace.url"),"https://work.facebook.com/sharer.php"+dt({u:e,quote:t,hashtag:o})}var Nke=Bt("workplace",pX,e=>({quote:e.quote,hashtag:e.hashtag}),{windowWidth:550,windowHeight:400});var Eke=wt({color:"#000000",networkName:"X",path:"M 41.116 18.375 h 4.962 l -10.8405 12.39 l 12.753 16.86 H 38.005 l -7.821 -10.2255 L 21.235 47.625 H 16.27 l 11.595 -13.2525 L 15.631 18.375 H 25.87 l 7.0695 9.3465 z m -1.7415 26.28 h 2.7495 L 24.376 21.189 H 21.4255 z"});var kh=({title:e,...t})=>{q("sdsm-social");let[o,n]=(0,Ty.useState)("");return q("sdsm-social"),(0,Ty.useEffect)(()=>{n(window.location.origin+window.location.pathname)},[]),x("article",{...t,className:h("sdsm-social",t.className),"data-testid":"sdsm-social",children:[i(AE,{title:e,url:o,children:i(TE,{size:32,round:!0})}),i(wE,{title:e,url:o,children:i(_E,{size:32,round:!0})})]})};kh.displayName="Social";var Mh=256,DE=714,PE=1014,NE="860px",EE=375,Ay="--hero-curtain-opacity",RE=c` 6024 align-items: start; 6025`,FE=c` 6026 align-items: end; 6027`,BE=c` 6028 display: flex; 6029 flex-direction: column; 6030 justify-content: center; 6031 padding-block: ${a("--spacing-xl")}; 6032 padding-inline: ${a("--spacing-xl")}; 6033 z-index: ${Pe.HERO_TEXT}; 6034 6035 ${N} { 6036 padding-inline: 0; 6037 width: 100%; 6038 } 6039`,Th=c` 6040 & .${"sdsm-topic"} { 6041 &:hover { 6042 background-color: rgba(0, 0, 0, calc(var(${Ay}, 0) + 0.2)); 6043 } 6044 } 6045`,$E=c` 6046 overflow: hidden; 6047 max-height: 100%; 6048`,LE=c` 6049 background-color: ${a("--bg-color")}; 6050 background-image: ${a("--bg-image")}; 6051 position: relative; 6052 width: 100%; 6053 --hero-text-color-curtain-title-color: ${a("--hero-title-color")}; 6054 --hero-text-color-curtain-subtitle-color: ${a("--hero-subtitle-color")}; 6055 6056 &[data-curtain='true'] { 6057 --hero-text-color-curtain-title-color: ${a("--hero-text-color-curtain-active")}; 6058 --hero-text-color-curtain-subtitle-color: ${a("--hero-text-color-curtain-active")}; 6059 6060 & .${"sdsm-topic"} { 6061 border-color: ${a("--hero-text-color-curtain-active")}; 6062 color: ${a("--hero-text-color-curtain-active")}; 6063 } 6064 6065 ${Th} 6066 } 6067 6068 ${N} { 6069 min-height: ${Mh}px; 6070 6071 & > video { 6072 min-height: ${Mh}px; 6073 } 6074 } 6075`,HE=c` 6076 align-items: center; 6077 display: grid; 6078 grid-auto-columns: minmax(0, 100%) 40%; 6079 grid-auto-flow: column; 6080 grid-gap: ${a("--spacing-xl")}; 6081 min-height: ${DE}px; 6082 padding: ${a("--hero-content-desktop-padding")}; 6083 6084 ${N} { 6085 grid-auto-flow: row; 6086 padding: ${a("--hero-content-mobile-padding")}; 6087 min-height: ${Mh}px; 6088 max-width: 100vw; 6089 } 6090 6091 ${Mt} { 6092 padding-bottom: ${a("--spacing-xl")}; 6093 } 6094`,VE=c` 6095 ${N} { 6096 padding-block-start: ${a("--spacing-xxl")}; 6097 } 6098 6099 ${H} { 6100 padding-block-start: ${a("--spacing-xxxxl")}; 6101 } 6102`,OE=c` 6103 inset-block: 0 auto; 6104 inset-inline: 0; 6105 position: absolute; 6106 /** Allow tooltip to show on top the Hero text */ 6107 z-index: 10; 6108 6109 & ol { 6110 padding-block: ${a("--spacing-xs")}; 6111 /** 6112 * Hardcoded calc(28px - var('--spacing-xxs')) to align the element with the first element on the header and to make 6113 * the dependency on the breadcrumb padding explicit. 6114 * Find the design in the jira ticket: https://jira.sc-corp.net/browse/WEBP-11085 6115 */ 6116 padding-inline: calc(28px - ${a("--spacing-xxs")}) ${a("--spacing-xxs")}; 6117 6118 ${H} { 6119 padding-block: ${a("--spacing-m")}; 6120 /** 6121 * Hardcoded calc(60px - var('--spacing-xxs')) to align the element with the first element on the header and to make 6122 * the dependency on the breadcrumb padding explicit. 6123 * Find the design in the jira ticket: https://jira.sc-corp.net/browse/WEBP-11085 6124 */ 6125 padding-inline: calc(60px - ${a("--spacing-xxs")}) ${a("--spacing-l")}; 6126 max-width: 50%; 6127 } 6128 } 6129`,GE=c` 6130 & ol { 6131 background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); 6132 } 6133`,zE=c` 6134 & ol { 6135 background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)); 6136 } 6137`,UE=c` 6138 min-height: 0px; 6139`,WE=c` 6140 /** Relative color syntax decomposes the hex --curtain-color into r g b channels so opacity can be applied dynamically */ 6141 background-color: rgb(from ${a("--curtain-color")} r g b / var(${Ay}, 0)); 6142 backdrop-filter: ${a("--curtain-backdrop-filter")}; 6143 inset: 0; 6144 position: absolute; 6145 z-index: ${Pe.HERO_CURTAIN}; 6146`,QE=c` 6147 color: var(--hero-text-color-curtain-title-color); 6148`,qE=c` 6149 /** 6150 * using var instead of m function because this is not a motif variable. 6151 * It is a custom css var defined in heroCss. 6152 */ 6153 color: var(--hero-text-color-curtain-title-color); 6154 font-size: ${a("--annotation-desktop-font-size")}; 6155 line-height: ${a("--annotation-desktop-font-line-height")}; 6156 font-weight: ${a("--annotation-desktop-font-weight")}; 6157 letter-spacing: ${a("--annotation-desktop-font-letter-spacing")}; 6158 margin-block-end: ${a("--spacing-m")}; 6159 6160 ${N} { 6161 font-size: ${a("--annotation-mobile-font-size")}; 6162 line-height: ${a("--annotation-mobile-font-line-height")};
6163 font-weight: ${a("--annotation-mobile-font-weight")}; 6164 letter-spacing: ${a("--annotation-mobile-font-letter-spacing")}; 6165 } 6166`,Ah=c` 6167 /** 6168 * using var instead of m function because this is not a motif variable. 6169 * It is a custom css var defined in heroCss. 6170 */ 6171 color: var(--hero-text-color-curtain-title-color); 6172 margin-block: 0 ${a("--spacing-m")}; 6173 6174 &:has(.${"sdsm-empahasized-text"}) { 6175 color: ${a("--hero-title-de-emphasized-color")}; 6176 } 6177 6178 ${N} { 6179 margin-block: 0 ${a("--spacing-xs")}; 6180 } 6181`,KE=c` 6182 ${Ah} 6183 /** 6184 * Ensure Hero Split title uses compact desktop font size 6185 */ 6186 && { 6187 ${H} { 6188 && { 6189 font-size: ${a("--h1-desktop-font-size-compact")}; 6190 line-height: ${a("--h1-desktop-font-line-height-compact")}; 6191 } 6192 } 6193 } 6194`,jE=c` 6195 && { 6196 font-size: ${a("--hero-title-increased-font-size")}; 6197 line-height: ${a("--hero-title-increased-font-line-height")}; 6198 } 6199`,YE=c` 6200 ${uo} 6201 color: var(--hero-text-color-curtain-subtitle-color); 6202 margin-block-end: ${a("--spacing-m")}; 6203 max-width: ${NE}; 6204 6205 ${N} { 6206 margin-block-end: ${a("--spacing-xs")}; 6207 } 6208 6209 /** Overriding margin added from renderRichTextWithElementsNoHeadings*/ 6210 & p { 6211 margin: 0; 6212 } 6213`,XE=c` 6214 display: flex; 6215 flex-wrap: wrap; 6216 gap: ${a("--spacing-s")}; 6217 margin-top: ${a("--spacing-xs")}; 6218`,JE=c` 6219 ${Tt} 6220 color: var(--hero-text-color-curtain-subtitle-color); 6221 margin-block-end: ${a("--spacing-m")}; 6222 max-width: ${NE}; 6223 6224 ${N} { 6225 margin-block-end: ${a("--spacing-xs")}; 6226 } 6227 /** Overriding margin added from renderRichTextWithElementsNoHeadings */ 6228 & p { 6229 margin-bottom: 0; 6230 } 6231 6232 /** 6233 * If the body has multiple paragraphs, we need to add a top margin. 6234 * Do not add a margin bottom to avoid extra white space by adding the paragraph and parent margins. 6235 */ 6236 & p + p { 6237 margin-block-start: ${a("--spacing-s")}; 6238 } 6239`,ZE=c` 6240 display: flex; 6241 gap: ${a("--spacing-m")}; 6242 margin-block-start: ${a("--spacing-m")}; 6243 6244 ${N} { 6245 flex-direction: column; 6246 } 6247 6248 ${Mt} { 6249 width: 100%; 6250 } 6251`,eR=c` 6252 ${Tt} 6253 color: var(--hero-text-color-curtain-subtitle-color); 6254 margin-block-start: ${a("--spacing-xl")}; 6255 6256 ${N} { 6257 margin-block-start: ${a("--spacing-l")}; 6258 text-align: center; 6259 } 6260`,tR=c` 6261 position: absolute; 6262 bottom: calc(${a("--break-total-desktop-height")} + ${a("--spacing-xl")}); 6263 left: ${a("--spacing-xl")}; 6264 z-index: ${Pe.HERO_CURTAIN}; 6265 6266 button { 6267 margin-right: ${a("--spacing-s")}; 6268 } 6269 6270 ${N} { 6271 bottom: calc(${a("--break-total-mobile-height")} + ${a("--spacing-m")}); 6272 left: ${a("--spacing-xl")}; 6273 } 6274`,_h=c` 6275 ${H} { 6276 height: calc(100vh - ${64}px); 6277 max-height: 1600px; 6278 min-height: ${DE}px; 6279 } 6280`,wh=c` 6281 height: 100%; 6282 left: 0; 6283 /* Prevent overflowing elements from adding extra page width, e.g. background media stickers */ 6284 overflow: hidden; 6285 position: absolute; 6286 top: 0; 6287 width: 100%; 6288`,Dh=c` 6289 height: 100%; 6290 object-fit: cover; 6291 width: 100%; 6292`,oR=c` 6293 ${N} { 6294 max-width: 100%; 6295 overflow-x: auto; 6296 } 6297`,nR=c` 6298 z-index: ${Pe.HERO_BOUNDARY}; 6299`,aR=c` 6300 bottom: ${a("--spacing-xl")}; 6301 position: absolute; 6302 left: 50%; 6303 transform: translateX(-50%); 6304 z-index: ${Pe.HERO_TEXT}; 6305`,rR=c` 6306 background: ${a("--hero-scroll-button-bg-color")}; 6307 border: none; 6308 box-shadow: none; 6309 transition: background 0.2s linear; 6310 6311 svg { 6312 fill: ${a("--hero-scroll-button-fg-color")}; 6313 } 6314 6315 &:hover { 6316 background: ${a("--hero-scroll-button-hover-bg-color")}; 6317 border: none; 6318 transform: none; 6319 6320 svg { 6321 fill: ${a("--hero-scroll-button-hover-fg-color")}; 6322 } 6323 } 6324 6325 [data-curtain='true'] & { 6326 background: ${a("--hero-scroll-button-curtain-active-bg-color")}; 6327 6328 svg { 6329 fill: ${a("--hero-scroll-button-curtain-active-fg-color")}; 6330 } 6331 6332 &:hover { 6333 background: ${a("--hero-scroll-button-curtain-active-hover-bg-color")}; 6334 6335 svg { 6336 fill: ${a("--hero-scroll-button-curtain-active-hover-fg-color")}; 6337 } 6338 } 6339 } 6340`,iR=c` 6341 align-items: stretch; 6342 display: flex; 6343 justify-content: space-between; 6344 6345 ${N} { 6346 flex-direction: column; 6347 flex-direction: column-reverse; 6348 } 6349`,sR=c` 6350 flex-direction: row-reverse; 6351`,_y=c` 6352 width: 50%; 6353 ${N} { 6354 width: 100%; 6355 } 6356`,Ph=c` 6357 height: inherit; 6358 position: relative; 6359 6360 ${N} { 6361 height: ${EE}px; 6362 } 6363`,Nh=c` 6364 ${N} { 6365 max-height: ${EE}px; 6366 } 6367`;var pR=c` 6368 ${ra} 6369 display: flex; 6370 gap: ${a("--spacing-xs")}; 6371 margin-block-end: ${a("--spacing-xl")}; 6372 max-width: 100%; 6373`,cR=c` 6374 align-items: center; 6375 flex-direction: row; 6376 flex-wrap: wrap; 6377`,dR=c` 6378 flex-direction: column; 6379 flex-wrap: nowrap; 6380`,uR=c` 6381 ${pR} 6382 margin-block-end: ${a("--spacing-xs")}; 6383 6384 ${H} { 6385 display: none; 6386 } 6387`,yR=c` 6388 ${pR} 6389 6390 ${N} { 6391 display: none; 6392 } 6393`,mR=c` 6394 flex: 1 1 ${219}px; 6395 min-width: ${219}px; 6396`,gR=c` 6397 flex: 1 1 auto; 6398 min-width: 0; 6399 width: 100%; 6400`,fR=c` 6401 flex-shrink: 0; 6402 max-width: 100%; 6403 width: fit-content; 6404 6405 ${N} { 6406 max-width: min(${311}px, 100%); 6407 } 6408 6409 ${H} { 6410 max-width: min(${460}px, 100%); 6411 } 6412`,bR=c` 6413 border-radius: ${a("--spacing-xs")}; 6414 display: block; 6415 height: auto; 6416 max-height: ${84}px; 6417 object-fit: contain; 6418 width: auto; 6419 6420 ${N} { 6421 max-width: min(${311}px, 100%); 6422 min-height: ${24}px; 6423 } 6424 6425 ${H} { 6426 max-width: min(${460}px, 100%); 6427 min-height: ${32}px; 6428 } 6429`;function hR(e){return e?typeof e.getFullYear=="function":!1}var CR=e=>e.toLocaleDateString(void 0,{year:"numeric",month:"long",day:"numeric"}),xR=e=>e.toLocaleDateString(void 0,{year:"numeric",month:"numeric",day:"2-digit"}),Mi={Inline:"inline",Stacked:"stacked"},SR=e=>{let t=e?.width??0,o=e?.height??0;return t<=0||o<=0||t/o>1.1?Mi.Stacked:Mi.Inline},vR=e=>{let t=e?.desktop??e?.mobile,o=e?.mobile??e?.desktop;return{desktop:SR(t),mobile:SR(o)}};var IR=e=>{let t=e===Mi.Stacked;return{groupCss:t?dR:cR,textCss:t?gR:mR,isStacked:t}},Rh=({content:e,iconSrcs:t,iconAltText:o,headerMediaPixelSize:n,textAlign:r,textAlignMobile:s,headerDataset:l,className:p})=>{if(!e&&!t)return null;
6429let d=hR(e),u=d?xR(e):e,y=d?CR(e):e,m=t?vR(n):{desktop:Mi.Inline,mobile:Mi.Inline},g=IR(m.desktop),f=IR(m.mobile),b=r??re.Start,S=s??re.Start,C=t&&i("div",{className:fR,children:i(Ye,{imgSrcs:t,imgClassName:bR,altText:o})});return x(ue,{children:[x("div",{"data-testid":"sdsm-hero-header",className:h(yR,g.groupCss,g.isStacked?Tb[b]:dp[b],p),...te(l),children:[C,e&&i("span",{className:g.textCss,children:y})]}),x("div",{className:h(uR,f.groupCss,f.isStacked?Tb[S]:dp[S],p),...te(l),children:[C,e&&i("span",{className:f.textCss,children:u})]})]})};Rh.displayName="HeroHeader";var KR=T(P());var kR=225,MR=180,TR=20,Hp=c` 6430 color: ${a("--summary-card-fg-color")}; 6431 background-color: ${a("--summary-card-bg-color")}; 6432 border: ${a("--summary-card-border-width")} solid ${a("--summary-card-border-color")}; 6433 border-radius: ${a("--summary-card-border-radius")}; 6434 display: flex; 6435 box-shadow: ${a("--summary-card-box-shadow")}; 6436 flex-direction: row; 6437 height: ${MR}px; 6438 transition: background-color 0.2s linear, border-color 0.2s linear, box-shadow 0.2s linear; 6439 will-change: filter; 6440 6441 ${H} { 6442 height: ${kR}px; 6443 } 6444 6445 :hover { 6446 background-color: ${a("--summary-card-hover-bg-color")}; 6447 border-color: ${a("--summary-card-hover-border-color")}; 6448 box-shadow: ${a("--summary-card-hover-box-shadow")}; 6449 } 6450`,wy=c` 6451 display: flex; 6452 flex-direction: row; 6453 width: 100%; 6454`,Dy=c` 6455 background-position: center; 6456 background-repeat: no-repeat; 6457 background-size: cover; 6458 height: 100%; 6459 min-width: 101px; 6460 width: 101px; 6461 6462 video { 6463 border-radius: 0; 6464 height: ${MR}px; 6465 width: 100%; 6466 6467 ${H} { 6468 height: ${kR}px; 6469 } 6470 } 6471 6472 ${qe} { 6473 min-width: 126px; 6474 width: 126px; 6475 } 6476 6477 ${Kk} { 6478 min-width: 134px; 6479 width: 134px; 6480 } 6481`,AR=c` 6482 /* stylelint-disable-next-line value-no-vendor-prefix */ 6483 display: -webkit-box; 6484 -webkit-box-orient: vertical; 6485 font-weight: 500; 6486 margin-bottom: ${a("--spacing-xxs")}; 6487 overflow: hidden; 6488 word-break: break-word; 6489 color: ${a("--summary-card-title-color")}; 6490 6491 ${qe} { 6492 margin-bottom: ${a("--spacing-xs")}; 6493 } 6494`,_R=c` 6495 /* NOTE(dvazbynd): margin-block-start should match line-height of summaryCardDateCss */ 6496 margin-block-start: ${TR}px; 6497`,wR=c` 6498 -webkit-line-clamp: 4; 6499 font-size: 18px; 6500 line-height: 26px; 6501 6502 ${H} { 6503 font-size: 24px; 6504 line-height: 34px; 6505 } 6506`,DR=c` 6507 -webkit-line-clamp: 5; 6508 font-size: 14px; 6509 line-height: 20px; 6510 6511 ${H} { 6512 -webkit-line-clamp: 4; 6513 font-size: 20px; 6514 line-height: 30px; 6515 } 6516`,PR=c` 6517 -webkit-line-clamp: 3; 6518 font-size: 18px; 6519 line-height: 26px; 6520 6521 ${H} { 6522 -webkit-line-clamp: 4; 6523 font-size: 20px; 6524 line-height: 30px; 6525 } 6526`,NR=c` 6527 -webkit-line-clamp: 3; 6528 font-size: 18px; 6529 line-height: 26px; 6530 6531 ${H} { 6532 -webkit-line-clamp: 3; 6533 font-size: 20px; 6534 line-height: 30px; 6535 } 6536`,ER=c` 6537 -webkit-line-clamp: 3; 6538 font-size: 14px; 6539 line-height: 20px; 6540 6541 ${H} { 6542 font-size: 20px; 6543 line-height: 30px; 6544 } 6545`,Fh=c` 6546 font-size: 12px; 6547 font-weight: 500; 6548 line-height: ${TR}px; 6549 margin-bottom: ${a("--spacing-xxs")}; 6550 6551 ${qe} { 6552 font-size: 14px; 6553 margin-bottom: ${a("--spacing-xs")}; 6554 } 6555`,Py=c` 6556 color: ${a("--summary-card-fg-color")}; 6557 display: flex; 6558 flex-direction: column; 6559 flex-grow: 1; 6560 padding: ${a("--spacing-m")}; 6561 6562 ${H} { 6563 padding: ${a("--spacing-l")}; 6564 } 6565`,RR=c` 6566 justify-content: space-between; 6567`,FR=c` 6568 -webkit-box-orient: vertical; 6569 color: ${a("--summary-card-description-color")}; 6570 /* stylelint-disable-next-line value-no-vendor-prefix */ 6571 display: -webkit-box; 6572 font-size: 14px; 6573 font-weight: 400; 6574 line-height: 20px; 6575 overflow: hidden; 6576 pointer-events: none; 6577 word-break: break-word; 6578 6579 b, 6580 strong, 6581 > * b, 6582 > * strong { 6583 font-weight: normal; 6584 } 6585 6586 i, 6587 > * i { 6588 font-style: normal; 6589 } 6590 6591 a, 6592 u, 6593 > * a, 6594 > * u { 6595 text-decoration: none; 6596 color: inherit; 6597 } 6598 6599 ${H} { 6600 font-size: 16px; 6601 line-height: 26px; 6602 } 6603 6604 > *:not(:first-child) { 6605 display: none; 6606 } 6607`,BR=c` 6608 -webkit-line-clamp: 3; 6609 6610 ${H} { 6611 -webkit-line-clamp: 2; 6612 } 6613`,$R=c` 6614 -webkit-line-clamp: 2; 6615`,LR=c` 6616 display: block; 6617 height: 100%; 6618 width: 100%; 6619`,HR=c` 6620 /* Due to stickers overlapping the image, we cannot have 'overflow: hidden' on the container or they 6621 * get clipped. Therefore, we need to set the border radius on the image as well. 6622 * 6623 * As the image is inside the outer card container, which has the border applied, the radius needs to 6624 * be smaller in order to match the curve of the container, so remove the border width from the radius. 6625 * 6626 * NOTE: Ensure that '--summary-card-border-width' has 'px' unit as it is required for 'calc()', which 6627 * will not work with '0'. 6628 */ 6629 border-end-end-radius: calc( 6630 ${a("--summary-card-border-radius")} - ${a("--summary-card-border-width")} 6631 ); 6632 border-start-end-radius: calc( 6633 ${a("--summary-card-border-radius")} - ${a("--summary-card-border-width")} 6634 ); 6635 height: 100%; 6636 object-fit: cover; 6637 object-position: center; 6638 width: 100%; 6639`,VR=c` 6640 text-decoration: none; 6641`,Bh=c` 6642 background-color: rgb(232, 232, 235); 6643`,OR=c` 6644 gap: 10px; 6645`,GR=c` 6646 border-radius: ${a("--border-radius-m")}; 6647`,$h=c` 6648 position: relative; 6649 overflow: hidden; 6650 6651 &::before { 6652 position: absolute; 6653 top: 0; 6654 left: 0; 6655 height: 100%; 6656 width: 100%; 6657 transform: translateX(-100%); 6658 content: ''; 6659 background: linear-gradient(0.25turn, transparent, #fff, transparent); 6660 pointer-events: none; 6661 opacity: 0.8; 6662 animation: summary-card-skeleton 2s infinite; 6663 } 6664 6665 @keyframes summary-card-skeleton { 6666 0% { 6667 transform: translateX(-100%); 6668 } 6669 30% { 6670 transform: translateX(-100%); 6671 } 6672 100% { 6673 transform: translateX(100%); 6674 } 6675 } 6676`;var uX=[{height:8,items:[20]},{height:12,items:[40,17,25]},{height:12,items:[25,55]},{height:8,items:[36,19,27]},{height:8,items:[15,46,25]},{height:8,items:[22,39]}],Ti=({className:e})=>{let t=h(Hp,e),o=h(Py,RR),n=h(Dy,Bh),r=h(GR,Bh,$h),s=h(wy,OR);return x("div",{className:t,"data-testid":"skeleton-summary-card-container",children:[i("div",{className:o,children:uX.map(({height:l,items:p},d)=>i("div",{style:{height:l},className:s,children:p.map((u,y)=>i("div",{className:r,style:{height:l,width:`${u}%`}},`skeleton-line-${d}-${y}`))},`skeleton-line-${d}`))}),i("div",{className:h(n,$h)})]})};Ti.displayName="SkeletonSummaryCard";var zR=T(P());var Vp=({date:e,dateTime:t,className:o,title:n,description:r,onClick:s,link:l,imgSrcs:p,imgAltText:d,showMedia:u,showDescription:y,showDate:m,dataset:g,dateDataset:f,titleDataset:b,descriptionDataset:S,mediaDataset:C,eyebrowText:I,stickers:k})=>{q("sdsm-summary-card");let{Anchor:v}=(0,zR.useContext)(He),A=h("sdsm-summary-card",{[Hp]:!l,[wy]:!!l},o),w=h(VR,{[Hp]:!!l},o),D=h(AR,{[ER]:y&&u,[wR]:!y&&!u,[NR]:y&&!u&&m,[PR]:!y&&!u&&!m,[DR]:!y&&u,[_R]:!e&&m}),M=h(FR,{[BR]:u,[$R]:!u}
6676),_=x("div",{className:A,"data-testid":"summary-card-container",...te(g),children:[x("div",{className:Py,children:[I?i("span",{className:Fh,children:I}):m&&e?i("time",{dateTime:Wd(t),className:Fh,...te(f),children:e}):null,n?i("div",{className:D,...te(b),children:n}):null,y&&r?i("div",{className:M,...te(S),children:r}):null]}),u?i("div",{className:Dy,children:p?i(On,{altText:d,imgSrcs:p,className:LR,imgClassName:HR,dataset:C,stickers:k}):null}):null]});return l?i(v,{href:l,className:w,onClick:s,children:_}):_};Vp.displayName="SummaryCard";var UR=e=>{let t=e;if(t?.type===Vp||t?.type===Ti)return!0;let o=e.type;return o.displayName==="SummaryCard"||o.displayName==="SkeletonSummaryCard"};var WR=c` 6677 /* Setting height so that we reserve the space for the video/carousel. */ 6678 max-height: 650px; 6679 6680 /* Limiting the width to at least allow for 1 tile. */ 6681 min-width: 274px; 6682 max-width: 100%; 6683 6684 /* Matches the padding on the Hero Text container. */ 6685 padding-inline: ${a("--spacing-xxl")}; 6686 6687 /* TODO: Fix this for the case where VIDEOS overflow */ 6688 overflow: visible; 6689 6690 ${N} { 6691 height: unset; 6692 } 6693 6694 /* Limits the height of the video wrapper. Without this max-height is ignored */ 6695 * { 6696 max-height: 650px; 6697 } 6698`,QR=c` 6699 padding-inline: 0; 6700`,qR=c` 6701 max-height: 350px; 6702 6703 /* Limits the height of the video wrapper. Without this max-height is ignored */ 6704 * { 6705 max-height: 350px; 6706 } 6707`;var Lh=({className:e,foregroundMedia:t,imgSrcs:o,wrapMedia:n,showMediaMobile:r,size:s})=>{let l=xt();if(n=t?.props?.wrap??n,l&&!r)return null;let p;return t?(p=t,UD(t)&&(p=(0,KR.cloneElement)(t,{isSingleView:!0}))):p=i(Ke,{imgSrcs:o,wrap:n}),i("aside",{"data-testid":"sdsm-hero-media",className:h(WR,e,{[qR]:s==="Compact"},{[QR]:t?UR(t):!1}),children:p})};Lh.displayName="HeroMedia";var Ai={FullScreen:"Full screen",Start:"50% start",End:"50% end"},Hh=(0,jR.forwardRef)((e,t)=>{q("sdsm-hero");let{backgroundVideoSource:o,backgroundPosterSource:n,mobileBackgroundVideoSource:r,body:s,callsToAction:l,fitWindow:p=!1,foregroundMedia:d,curtainOpacityPercentage:u,headerImgSrcs:y,headerImgAltText:m,headerMediaPixelSize:g,eyebrow:f,title:b,motifScheme:S,backgroundColor:C,header:I,bgImgSrcs:k,bgImgAltText:v,imgSrcs:A,textAlign:w,textAlignMobile:D,verticalTextAlign:M=en.Middle,shareable:_=!1,className:F,footer:$,anchorId:B,eyebrowDataset:V,titleDataset:L,bodyDataset:z,headerDataset:K,postChildren:ye,showMediaMobile:se,wrapMedia:ne,size:oe,subTitle:pe,subTitleDataset:ae,showScrollButton:j,onScrollDownButtonClick:Y,backgroundMediaLayout:J=Ai.FullScreen,breadcrumbs:U,breadcrumbsPropsOverride:E,topics:X,backgroundMediaStickers:W,increaseTitleFontSize:ie=!1}=e,ee=!!(d||A),{width:be}=hn(),Q=xt(),le=S??Ne(C)??"sdsm-secondary",De=!!be&&be>Mo&&be<PE,me=!ep(k)||!ep(o),ve=oe==="Compact",Ce=u;ht(Ce)&&(Ce=me?75:0);let _e=J===Ai.Start||J===Ai.End,Pt,pt=W?.map(de=>({...de,size:_e?da.Medium:da.Large,insetPx:16,className:au}));k?Pt=i(On,{imgSrcs:k,altText:v,className:h(wh,{[_y]:_e,[Ph]:_e,[Nh]:_e}),imgClassName:Dh,fetchPriority:"high",stickers:pt}):o&&(Pt=i("div",{className:h({[_y]:_e,[Ph]:_e}),children:i(Xa,{mobileSource:r,className:h(wh,{[Nh]:_e}),videoClassName:Dh,source:o,posterSource:n,isBackgroundVideo:!0,stickers:pt})}));let lo=wr[D??re.Start],ho=ee?re.Start:re.Center,at=_r[w??ho],Me=h({[RE]:M===en.Top,[FE]:M===en.Bottom}),Fe=!!Ce&&!_e,jo=J===Ai.Start,po=h(OE,{[GE]:jo&&le!=="sdsm-secondary",[zE]:jo&&le==="sdsm-secondary"});return x("section",{ref:t,className:h("sdsm-hero",le,LE,{[_h]:p,[iR]:_e,[sR]:J===Ai.End,[Th]:me},F),id:B,"data-curtain":Fe,children:[Pt,Fe&&i("div",{"data-testid":"sdsm-hero-curtain",className:WE,style:{[Ay]:Ce/100}}),!!U?.length&&i(hS,{className:po,breadcrumbsItems:U,shouldCollapseOnMobile:!0,...E}),x(Ja,{"data-testid":"sdsm-hero-block-content",className:h(HE,Me,{[VE]:!!U?.length},{[_h]:p},{[UE]:ve,[_y]:_e}),children:[x("div",{"data-testid":"sdsm-hero-text",className:h(lo,at,BE,{[$E]:p}),children:[(I||y)&&i(Rh,{content:I,iconSrcs:y,iconAltText:m,headerMediaPixelSize:g,textAlign:w??ho,textAlignMobile:D,headerDataset:K,className:QE}),f&&i("div",{className:qE,...te(V),children:f}),b&&i("div",{className:oR,children:i("h1",{className:h({[Ah]:!_e&&!ee,[KE]:_e||ee,[jE]:ie&&!_e&&!ee},at,lo),...te(L),children:b})}),pe&&i("div",{className:YE,...te(ae),children:pe}),s&&i("div",{className:h(lo,at,JE),...te(z),children:s}),X&&i("div",{className:h(XE,at),children:X}),l&&i("div",{className:h(lo,ZE),children:l}),$&&i("footer",{className:eR,children:$})]}),ee&&!De&&!_e&&i(Lh,{className:nR,foregroundMedia:d,imgSrcs:A,wrapMedia:ne,showMediaMobile:se,size:oe}),p&&j&&!Q&&i("div",{className:aR,children:i(wo,{size:"small",iconName:"
6707chevron-down",className:rR,onClick:Y})})]}),_&&i(kh,{className:tR,title:b?.toString()??""}),ye]})});Hh.displayName="Hero";var Ny=T(P());var YR=c` 6708 cursor: pointer; 6709 6710 /** TODO: Troubleshoot this w/ designers. */ 6711 text-decoration: underline; 6712 6713 color: ${a("--hyperlink-color")}; 6714 :hover { 6715 color: ${a("--hyperlink-hover-color")}; 6716 border-bottom: 0; 6717 } 6718 6719 ${N} { 6720 font-size: ${a("--hyperlink-mobile-font-size")}; 6721 font-weight: ${a("--hyperlink-mobile-font-weight")}; 6722 letter-spacing: ${a("--hyperlink-mobile-font-letter-spacing")}; 6723 line-height: ${a("--hyperlink-mobile-font-line-height")}; 6724 } 6725 6726 ${H} { 6727 font-size: ${a("--hyperlink-desktop-font-size")}; 6728 font-weight: ${a("--hyperlink-desktop-font-weight")}; 6729 letter-spacing: ${a("--hyperlink-desktop-font-letter-spacing")}; 6730 line-height: ${a("--hyperlink-desktop-font-line-height")}; 6731 } 6732`;var Vh=(0,Ny.memo)(({children:e,link:t,target:o,draggable:n,onClick:r,className:s})=>{q("sdsm-hyperlink");let{Anchor:l}=(0,Ny.useContext)(He);return i(l,{href:t,target:o,draggable:n,className:h("sdsm-hyperlink",YR,s),onClick:r,children:e})});Vh.displayName="Hyperlink";var XR=T(P());var yX=c` 6733 background: none; 6734 border: none; 6735 cursor: pointer; 6736 outline: inherit; 6737`,Us=({height:e,imgSrcs:t,url:o,width:n,onClick:r,altText:s,pictureClassName:l,className:p})=>{q("sdsm-image-button");let{Anchor:d}=(0,XR.useContext)(He);return o?i(d,{href:o,className:h("sdsm-image-button",p),onClick:r,children:i(Ye,{className:l,altText:s,height:e,width:n,imgSrcs:t})}):i("button",{className:h("sdsm-image-button",yX,p),onClick:r,children:i(Ye,{className:l,altText:s,height:e,width:n,imgSrcs:t})})};var rr=T(P());var JR=c` 6738 background-color: ${a("--bg-color")}; 6739`,ZR=c` 6740 padding: ${a("--spacing-xxxl")} ${a("--spacing-l")}; 6741 6742 ${H} { 6743 padding-inline: ${a("--spacing-xxxxl")}; 6744 } 6745`,eF=c` 6746 display: grid; 6747 gap: ${a("--spacing-xl")}; 6748 grid-template-columns: 1fr; 6749 6750 ${H} { 6751 grid-template-areas: 'text text text text text . cards cards cards cards cards cards'; 6752 grid-template-columns: repeat(12, 1fr); 6753 } 6754`,tF=c` 6755 ${H} { 6756 grid-template-areas: 'cards cards cards cards cards cards . text text text text text'; 6757 } 6758`,oF=c` 6759 grid-column: span 1; 6760 6761 ${H} { 6762 align-items: center; 6763 display: flex; 6764 grid-area: text; 6765 height: calc(100vh - ${64}px); 6766 position: sticky; 6767 top: ${64}px; 6768 } 6769`,nF=c` 6770 ${H} { 6771 flex-direction: row-reverse; 6772 } 6773`,aF=c` 6774 display: none; 6775 list-style: none; 6776 6777 > li { 6778 line-height: 0; 6779 } 6780 6781 ${H} { 6782 display: flex; 6783 flex-direction: column; 6784 flex: 0 0 20%; 6785 gap: ${a("--spacing-m")}; 6786 } 6787`,rF=c` 6788 ${H} { 6789 align-items: flex-end; 6790 } 6791`,iF=a("--neutral-v700"),sF=a("--primary-v100"),lF=e=>c` 6792 background-color: transparent; 6793 height: 24px; 6794 transition: height 0.3s ease-in-out, background-color 0.3s ease-in-out; 6795 width: 14px; 6796 6797 &::before { 6798 background-color: rgba(133, 141, 148, 0.5); 6799 border-radius: ${a("--border-radius-s")}; 6800 content: ''; 6801 display: block; 6802 height: 100%; 6803 width: 4px; 6804 } 6805 6806 @media (hover: hover) { 6807 cursor: pointer; 6808 6809 &:hover { 6810 height: 56px; 6811 } 6812 6813 &:hover::before { 6814 background-color: ${e==="sdsm-secondary"?sF:iF}; 6815 } 6816 } 6817`,pF=e=>c` 6818 height: 56px; 6819 6820 &::before { 6821 background-color: ${e==="sdsm-secondary"?sF:iF}; 6822 } 6823`,cF=c` 6824 color: ${a("--fg-color")}; 6825 6826 ${N} { 6827 display: flex; 6828 flex-direction: column; 6829 flex: 0 0 80%; 6830 gap: ${a("--spacing-m")}; 6831 padding: ${a("--spacing-m")}; 6832 } 6833 6834 ${H} { 6835 align-self: center; 6836 flex: 1; 6837 padding-block: 134px; 6838 } 6839`,dF=c` 6840 ${N} { 6841 text-align: start; 6842 } 6843`,uF=c` 6844 ${N} { 6845 text-align: center; 6846 } 6847`,yF=c` 6848 ${N} { 6849 text-align: end; 6850 } 6851`,mF=c` 6852 grid-column: span 1; 6853 list-style: none; 6854 6855 ${N} { 6856 display: flex; 6857 flex-direction: column; 6858 gap: ${a("--spacing-m")}; 6859 } 6860 6861 ${H} { 6862 grid-area: cards; 6863 } 6864`,gF=c` 6865 align-items: center; 6866 display: flex; 6867 justify-content: center; 6868 6869 > div { 6870 cursor: initial; 6871 } 6872 6873 ${N} { 6874 transform: scale(0.7); 6875 transition: transform 50ms linear; 6876 will-change: transform; 6877 } 6878 6879 ${H} { 6880 padding-block: 134px; 6881 scroll-margin-top: ${64}px; 6882 6883 /* Override the Carousel Card width. Value defined by the design team. */ 6884 > div { 6885 width: 320px; 6886 } 6887 } 6888`,fF=c` 6889 /** 6890 * using var instead of m function because this is not a motif variable. 6891 * It is a custom css var defined in heroCss. 6892 */ 6893 color: ${a("--fg-color")}; 6894 font-size: ${a("--annotation-desktop-font-size")}; 6895 font-weight: ${a("--annotation-desktop-font-weight")}; 6896 letter-spacing: ${a("--annotation-desktop-font-letter-spacing")}; 6897 line-height: ${a("--annotation-desktop-font-line-height")}; 6898 6899 ${N} { 6900 font-size: ${a("--annotation-mobile-font-size")};
6901 font-weight: ${a("--annotation-mobile-font-weight")}; 6902 letter-spacing: ${a("--annotation-mobile-font-letter-spacing")}; 6903 line-height: ${a("--annotation-mobile-font-line-height")}; 6904 } 6905`,bF=c` 6906 ${eM} 6907 margin-block-start: ${a("--spacing-xs")}; 6908`,SF=c` 6909 ${uo} 6910 6911 ${H} { 6912 margin-block-start: ${a("--spacing-m")}; 6913 } 6914`;var Ey=T(P()),hF=({cardRefs:e,childCount:t,options:o})=>{let{threshold:n=.5,isEnabled:r}=o,[s,l]=(0,Ey.useState)(0);return(0,Ey.useEffect)(()=>{if(!r){l(0);return}let p=e.current.slice(0,t);if(p.length===0)return;let d=new Map,u=g=>{for(let k of g)d.set(k.target,k.intersectionRatio);let f=-1,b=0,S=-1,C=0;for(let k=0;k<p.length;k++){let v=p[k];if(!v)continue;let A=d.get(v)??0;A>=n&&A>C&&(C=A,S=k),A>b&&(b=A,f=k)}let I=S!==-1?S:f;I!==-1&&l(I)},y=[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1],m=new IntersectionObserver(u,{threshold:y});for(let g of p)g&&m.observe(g);return()=>{m.disconnect()}},[e,t,n,r]),s};db();var Op=T(P());var CF=({childCount:e,elementRefs:t,isEnabled:o})=>{let n=(0,Op.useRef)(new Set),r=(0,Op.useRef)(!1);(0,Op.useEffect)(()=>{let s=t.current.slice(0,e);if(!o){for(let m of s)m&&(m.style.transform="scale(1)");return}let l=()=>{let m=window.innerHeight/2+64;for(let g of n.current){let f=s[g];if(!f)continue;let b=f.getBoundingClientRect(),S=b.top+b.height/2,C=Math.abs(m-S),k=Math.max(0,C-30),v=Math.min(1,k/m),w=1-v*v*.3;f.style.transform=`scale(${w})`}},p=()=>{r.current||(window.requestAnimationFrame(()=>{l(),r.current=!1}),r.current=!0)},d=m=>{for(let g of m){let f=g.target,b=s.indexOf(f);if(b===-1)return;g.isIntersecting?n.current.add(b):n.current.delete(b)}},u=new IntersectionObserver(d,{rootMargin:"20px",threshold:0});for(let m of s)m&&u.observe(m);let y=di(l,200,{trailing:!0});return window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",y),l(),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",y),u.disconnect(),n.current.clear()}},[t,e,o])};var Oh=e=>{let{anchor:t,motifScheme:o,backgroundColor:n,children:r,eyebrow:s,text:l,textAlignmentMobile:p=re.Center,tilesDirection:d=re.End,title:u}=e;q("sdsm-carousel");let y=(0,rr.useRef)([]),m=(0,rr.useRef)(null),g=rr.Children.count(r),f=xt(),b=(0,rr.useId)(),S=o??Ne(n)??"sdsm-secondary",C=(k,v)=>{y.current[v]=k};CF({elementRefs:y,childCount:g,isEnabled:f});let I=hF({cardRefs:y,childCount:g,options:{isEnabled:!f,threshold:.8}}
6914);return i("section",{"aria-labelledby":b,className:h(JR,S),id:t,ref:m,children:i(Ja,{className:ZR,children:x("div",{className:h(eF,{[tF]:d===re.Start}),children:[x("section",{className:h(oF,{[nF]:d===re.Start}),children:[i("ul",{className:h(aF,{[rF]:d===re.Start}),children:rr.Children.map(r,(k,v)=>i("li",{children:i("button",{type:"button","aria-label":`Go to item ${v+1}`,onClick:()=>{y.current[v]?.scrollIntoView({behavior:"smooth"})},className:h(lF(S),{[pF(S)]:I===v}),"aria-current":I===v?"true":"false"})},v))}),x("div",{className:h(cF,{[dF]:p===re.Start,[uF]:p===re.Center,[yF]:p===re.End}),children:[s&&i("div",{className:fF,children:s}),i("h2",{id:b,className:bF,children:u}),l&&i("div",{className:SF,children:l})]})]}),i("ul",{className:mF,children:rr.Children.map(r,(k,v)=>i("li",{className:gF,ref:A=>C(A,v),children:k},v))})]})})})};Oh.displayName="ImmersiveScrollBlock";var xF=c` 6915 width: 100%; 6916 margin-top: ${a("--spacing-xs")}; 6917 padding: 0 0 ${a("--spacing-m")}; 6918`,vF=c` 6919 font-size: 2rem; 6920 font-weight: 600; 6921 line-height: 2.5rem; 6922 margin-bottom: 0; 6923 6924 :hover { 6925 text-decoration: underline; 6926 } 6927 6928 a { 6929 /* TODO: See if this should be hyperlink color or its own */ 6930 color: ${a("--fg-color")}; 6931 text-decoration: none; 6932 } 6933`;var IF=({anchorId:e,title:t,items:o,cta:n,motifScheme:r,backgroundColor:s,scrollSnap:l,className:p,preChildren:d,postChildren:u})=>{let y=i(ue,{children:o.map((m,g)=>x("article",{"data-testid":"latest-post-item",className:xF,children:[m.category&&i(KD,{title:m.category}),i("div",{className:vF,children:m.title}),(m.author||m.date)&&i(JA,{author:m.author,date:m.date}),i("hr",{})]},g))});return i(oo,{title:t,titleAlignment:re.Center,anchorId:e,className:p,fullHeight:l,motifScheme:r,backgroundColor:s,maxColumns:1,preChildren:d,postChildren:u,children:i(Fs,{body:y,callsToAction:n?[n]:void 0})})};var mX=c` 6934 @keyframes loader-animation { 6935 0% { 6936 left: -60%; 6937 } 6938 50% { 6939 left: 60%; 6940 } 6941 100% { 6942 left: -60%; 6943 } 6944 } 6945`,gX=c` 6946 position: absolute; 6947 height: 3.75px; 6948 width: 100%; 6949 overflow: hidden; 6950`,fX=c` 6951 position: relative; 6952 height: 5px; 6953 z-index: ${Pe.LOADING_BAR}; 6954 width: 75%; 6955 margin: 0; 6956 background: linear-gradient( 6957 90deg, 6958 transparent 0%, 6959 ${a("--loading-bar-left-color")} 14%, 6960 ${a("--loading-bar-right-color")} 86%, 6961 transparent 100% 6962 ); 6963 6964 animation-name: loader-animation; 6965 animation-duration: 2s; 6966 animation-iteration-count: infinite; 6967 animation-timing-function: ease-in-out; 6968`,kF=({className:e})=>(q("sdsm-loading-bar"),i("div",{className:h("sdsm-loading-bar",gX,mX,e),children:i("hr",{className:fX})}));var PF=T(P());var MF=c` 6969 fill: ${a("--logo-stroke-color")}; 6970`,TF=c` 6971 fill: ${a("--logo-fill-color")}; 6972`,AF=c` 6973 fill: ${a("--logo-stroke-color")}; 6974 fill-rule: evenodd; 6975`;var _F=({className:e,width:t,height:o})=>(q("sdsm-logo"),i("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 500 500",className:h("sdsm-logo",e),width:t,height:o,children:i("g",{id:"Layer_1",children:x("g",{children:[i("g",{children:i("path",{className:TF,d:`M484.6,369.3c-2-6.8-11.9-11.6-11.9-11.6l0,0c-0.9-0.5-1.7-0.9-2.4-1.3c-16.4-7.9-30.8-17.4-43.1-28.2 6976 c-9.8-8.7-18.2-18.2-25-28.4c-8.2-12.4-12.1-22.8-13.8-28.4c-0.9-3.7-0.8-5.1,0-7c0.6-1.6,2.5-3.1,3.4-3.8 6977 c5.5-3.9,14.4-9.7,19.9-13.2c4.7-3.1,8.8-5.7,11.2-7.4c7.7-5.4,12.9-10.8,16-16.7c4-7.6,4.5-16,1.4-24.3 6978 c-4.2-11.1-14.6-17.8-27.8-17.8c-2.9,0-6,0.3-9,1c-7.6,1.6-14.8,4.3-20.8,6.7c-0.4,0.2-0.9-0.2-0.9-0.6 6979 c0.6-14.9,1.3-34.9-0.3-53.9c-1.5-17.2-5-31.7-10.8-44.3c-5.8-12.7-13.4-22.1-19.3-28.9c-5.7-6.5-15.5-16-30.5-24.5 6980 c-21-12-45-18.1-71.1-18.1c-26.1,0-50,6.1-71.1,18.1c-15.8,9-25.9,19.2-30.5,24.5c-5.9,6.8-13.5,16.2-19.3,28.9 6981 c-5.8,12.6-9.3,27.1-10.8,44.3c-1.6,19.1-1,37.5-0.3,53.9c0,0.5-0.5,0.8-0.9,0.6c-6-2.3-13.2-5-20.7-6.7c-3-0.7-6-1-9-1 6982 c-13.2,0-23.6,6.7-27.8,17.8c-3.1,8.3-2.7,16.7,1.4,24.3c3.1,5.9,8.4,11.4,16,16.7c2.4,1.7,6.4,4.3,11.2,7.4 6983 c5.3,3.5,14,9.1,19.5,13c0.7,0.5,3,2.3,3.8,4.1c0.8,2,0.9,3.4-0.1,7.3c-1.7,5.7-5.6,15.9-13.7,28.1c-6.8,10.2-15.2,19.7-25,28.4 6984 C60.5,339,46,348.5,29.7,356.5c-0.8,0.4-1.7,0.8-2.7,1.4l0,0c0,0-9.8,5-11.6,11.4c-2.7,9.5,4.5,18.4,11.9,23.2 6985 c12.1,7.8,26.9,12,35.4,14.3c2.4,0.6,4.5,1.2,6.5,1.8c1.2,0.4,4.3,1.6,5.6,3.3c1.7,2.1,1.9,4.8,2.5,7.8v0c0.9,5,3,11.2,9.2,15.5 6986 c6.8,4.7,15.5,5,26.4,5.5c11.5,0.4,25.8,1,42.1,6.4c7.6,2.5,14.4,6.7,22.4,11.6c16.6,10.2,37.2,22.9,72.5,22.9 6987 c35.3,0,56.1-12.8,72.8-23c7.9-4.8,14.7-9,22.1-11.5c16.3-5.4,30.6-5.9,42.1-6.4c11-0.4,19.6-0.7,26.4-5.5 6988 c6.6-4.6,8.6-11.4,9.4-16.6c0.5-2.5,0.8-4.8,2.3-6.7c1.2-1.6,4.1-2.7,5.4-3.2c2-0.6,4.2-1.2,6.7-1.9c8.6-2.3,19.3-5,32.3-12.4 6989 C485.2,385.6,486.3,374.7,484.6,369.3z`})}),i("path",{className:MF,d:`M498.2,364c-3.5-9.5-10.1-14.5-17.6-18.7c-1.4-0.8-2.7-1.5-3.8-2c-2.2-1.2-4.5-2.3-6.8-3.5 6990 c-23.5-12.5-41.8-28.2-54.6-46.8c-4.3-6.3-7.3-12-9.4-16.6c-1.1-3.1-1-4.9-0.3-6.5c0.6-1.2,2.2-2.5,3-3.1c4-2.7,8.2-5.4,11-7.2 6991 c5-3.3,9-5.8,11.6-7.6c9.6-6.7,16.4-13.9,20.6-21.9c5.9-11.3,6.7-24.2,2.1-36.3c-6.4-16.8-22.3-27.3-41.5-27.3 6992 c-4,0-8,0.4-12.1,1.3c-1.1,0.2-2.1,0.5-3.1,0.7c0.2-11.4-0.1-23.6-1.1-35.6c-3.6-42-18.3-64-33.7-81.6c-6.4-7.3-17.5-18-34.2-27.6 6993 C305.1,10.6,278.8,3.9,250,3.9c-28.7,0-55,6.7-78.3,20c-16.8,9.6-27.9,20.3-34.3,27.6c-15.3,17.5-30,39.6-33.7,81.6 6994 c-1,11.9-1.3,24.1-1.1,35.6c-1-0.3-2.1-0.5-3.1-0.7c-4-0.9-8.1-1.3-12.1-1.3c-19.3,0-35.2,10.4-41.5,27.3 6995 c-4.6,12.1-3.8,25,2.1,36.3c4.2,8,11,15.2,20.6,21.9c2.6,1.8,6.6,4.4,11.6,7.6c2.7,1.8,6.7,4.3,10.6,6.9c0.6,0.4,2.7,1.9,3.4,3.4 6996 c0.8,1.7,0.8,3.5-0.4,6.8c-2.1,4.6-5,10.1-9.2,16.3c-12.4,18.2-30.3,33.6-53,46c-12,6.4-24.6,10.6-29.9,25 6997 c-4,10.9-1.4,23.2,8.8,33.6l0,0c3.3,3.6,7.5,6.8,12.8,9.7c12.4,6.9,23,10.2,31.3,12.5c1.5,0.4,4.8,1.5,6.3,2.8 6998 c3.7,3.2,3.2,8.1,8.1,15.2c3,4.4,6.4,7.4,9.2,9.4c10.3,7.1,21.9,7.6,34.2,8c11.1,0.4,23.7,0.9,38.1,5.7c6,2,12.1,5.8,19.3,10.2 6999 c17.2,10.6,40.8,25,80.2,25c39.4,0,63.1-14.5,80.5-25.2c7.1-4.4,13.3-8.1,19-10c14.4-4.7,27-5.2,38.1-5.7 7000 c12.3-0.5,23.9-0.9,34.2-8c3.2-2.2,7.3-5.9,10.5-11.5c3.5-6,3.4-10.2,6.8-13.2c1.4-1.2,4.3-2.2,5.9-2.7 7001 c8.4-2.3,19.1-5.7,31.7-12.6c5.6-3.1,10-6.5,13.4-10.3c0,0,0.1-0.1,0.1-0.1C499.7,386.6,502.1,374.6,498.2,364z M463.2,382.8 7002 c-21.4,11.8-35.6,10.5-46.6,17.7c-9.4,6-3.8,19.1-10.7,23.8c-8.4,5.8-33.2-0.4-65.1,10.2c-26.4,8.7-43.2,33.8-90.7,33.8 7003 c-47.6,0-64-25-90.7-33.8c-32-10.6-56.8-4.4-65.1-10.2c-6.8-4.7-1.3-17.7-10.7-23.8c-11-7.1-25.3-5.9-46.6-17.7 7004 c-13.6-7.5-5.9-12.2-1.4-14.4c77.4-37.5,89.8-95.4,90.3-99.7c0.7-5.2,1.4-9.3-4.3-14.6c-5.5-5.1-30.1-20.3-36.9-25 7005 c-11.3-7.9-16.2-15.7-12.6-25.4c2.5-6.7,8.8-9.2,15.4-9.2c2,0,4.1,0.2,6.1,0.7c12.4,2.7,24.4,8.9,31.3,10.6c1,0.2,1.8,0.3,2.6,0.3 7006 c3.7,0,5-1.9,4.8-6.1c-0.8-13.5-2.7-39.9-0.6-64.5c2.9-33.9,13.9-50.7,26.9-65.6c6.2-7.1,35.5-38.1,91.6-38.1 7007 c56.2,0,85.3,30.9,91.6,38.1c13,14.9,23.9,31.7,26.9,65.6c2.1,24.6,0.3,51-0.6,64.5c-0.3,4.5,1.1,6.1,4.8,6.1 7008 c0.8,0,1.6-0.1,2.6-0.3c6.9-1.7,19-7.9,31.3-10.6c2-0.4,4.1-0.7,6.1-0.7c6.6,0,12.8,2.5,15.4,9.2c3.7,9.7-1.3,17.5-12.6,25.4 7009 c-6.8,4.7-31.3,19.9-36.9,25c-5.7,5.3-5,9.4-4.3,14.6c0.6,4.4,12.9,62.2,90.3,99.7C469.1,370.6,476.8,375.3,463.2,382.8z`})]})})}));var wF=({className:e})=>(q("sdsm-logo"),i("svg",{className:h("sdsm-logo",e,AF),width:"89",height:"22",viewBox:"0 0 89 22",xmlns:"http://www.w3.org/2000/svg",children:x("g",{children:[i("path",{d:"M.261 15.794C.247 14.39.126 12.767.003 11.526a.513.513 0 0 1 .433-.559l.02-.003a.518.518 0 0 1 .58.38 5.99 5.99 0 0 0 .742 1.767c.308.484 1.386 2.155 3.65 2.155 1.65 0 2.86-1.166 2.86-2.64 0-1.362-1.1-1.912-3.255-2.726-.637-.264-1.297-.505-1.935-.791C2.218 8.69.15 7.723.15 5.039.15 2.05 2.548.29 5.605.29c.742 0 1.798.104 2.856.59.234.107.51.024.648-.192l.175-.276a.515.515 0 0 1 .422-.24.519.519 0 0 1 .53.48 55.8 55.8 0 0 0 .418 3.743.518.518 0 1 1-.994.255c-.276-.729-.432-1.07-.735-1.524-.725-.989-1.693-1.67-2.902-1.67-1.562 0-2.485 1.274-2.485 2.308 0 1.187 1.055 1.693 1.517 1.913.946.462 1.935.77 2.925 1.166 1.583.616 3.76 1.562 3.76 4.465 0 2.858-2.287 5.255-
70095.915 5.255-1.803 0-2.978-.57-3.66-1.003a.514.514 0 0 0-.714.17l-.195.322a.518.518 0 0 1-.402.246l-.037.003a.514.514 0 0 1-.556-.507M12.223 15.668c0-.219.157-.405.371-.441.332-.055.734-.198.795-.62.066-.507.066-1.826.066-2.156 0-.77-.022-2.023-.022-2.793 0-1.104-.37-1.407-.89-1.554a.445.445 0 0 1-.32-.429v-.052c0-.219.158-.403.373-.44 1.095-.192 2.751-.66 3.62-.96a.446.446 0 0 1 .57.283c.018.058.035.113.05.17a.447.447 0 0 0 .66.26c.83-.482 1.617-.84 2.776-.84.836 0 1.672.22 2.354.703 1.071.744 1.25 1.88 1.34 3.083v1.931c0 .33-.043 2.045-.043 2.42 0 .556.151.895.878 1.03a.442.442 0 0 1 .353.439.446.446 0 0 1-.475.446c-.623-.042-1.564-.069-3.11-.069-.872 0-1.353.024-1.8.063a.447.447 0 0 1-.487-.445v-.094c0-.201.135-.379.33-.43.643-.174.723-.481.704-1.82l-.044-3.431c-.022-1.055-.066-2.265-1.496-2.265-.595 0-1.056.218-1.5.553a.451.451 0 0 0-.184.374c.035 1.102.035 4.23.035 5.208 0 1.009.175 1.288.712 1.43.192.05.322.23.322.429v.058a.447.447 0 0 1-.475.447c-.747-.047-1.707-.077-3.506-.077-.692 0-1.094.022-1.469.058a.446.446 0 0 1-.488-.446v-.023zM31.379 12.006a.447.447 0 0 0-.56-.43c-.742.188-1.727.621-1.727 1.777 0 .594.308 1.253 1.144 1.253.426 0 .68-.129.947-.305a.444.444 0 0 0 .196-.37v-1.925zm5.082 2.544a.447.447 0 0 1 .041.66c-1.057 1.07-2.105 1.288-2.682 1.288a2.85 2.85 0 0 1-1.649-.55 2.385 2.385 0 0 1-.408-.42.44.44 0 0 0-.594-.102c-.605.393-1.854 1.093-3.242 1.093-2.024 0-2.507-1.363-2.507-2.176 0-2.513 3.867-3.564 5.618-3.878a.444.444 0 0 0 .364-.436c.002-.68.003-1.48-.089-1.756-.264-.77-1.143-.77-1.253-.77-.726 0-1.122.44-1.254.924-.066.286-.066.594-.132.88-.176.747-.792 1.033-1.341 1.033-.682 0-1.32-.44-1.32-1.253 0-1.628 3.013-2.948 5.74-2.948 1.891 0 3.276.616 3.276 2.442l-.043 4.904c-.022.374-.045 1.23.527 1.23.142 0 .276-.074.402-.172a.443.443 0 0 1 .546.007z"}),i("path",{d:"M42.65 15.002c1.627 0 2.22-2.265 2.22-3.76 0-1.584-.66-3.695-2.286-3.695-1.474 0-1.474 1.518-1.474 1.979 0 .506.023 2.969.023 3.519 0 .704 0 1.957 1.517 1.957zM37.482 9.79c.04-1.68-.2-2.076-.95-2.283a.425.425 0 0 1-.304-.412v-.11a.42.42 0 0 1 .372-.419c1.485-.159 3.056-.564 3.829-.774a.417.417 0 0 1 .52.32c.023.102.046.227.074.384a.421.421 0 0 0 .636.288c.863-.553 1.714-.842 2.794-.842 2.661 0 4.31 2.287 4.31 4.706 0 3.32-2.353 5.63-5.101 5.63-.843 0-1.457-.215-1.882-.444a.422.422 0 0 0-.625.368v2.538c0 .851.052 1.507.962 1.661a.416.416 0 0 1 .335.414.422.422 0 0 1-.432.422 150.558 150.558 0 0 0-3.262-.055c-.827 0-1.362.015-2.066.045a.422.422 0 0 1-.442-.42v-.055c0-.204.142-.387.344-.421.818-.14.888-.59.888-1.217.022-.418.022-1.715.022-2.199l-.022-7.125zM60.272 16.146c-.893-.066-1.477-.066-3.816-.066-1.28 0-1.791.015-2.54.068a.502.502 0 0 1-.11-.996c1.233-.173 1.286-.618 1.286-3.405V4.754c-.022-1.671-.043-2.177-.198-2.485-.166-.39-.427-.482-1.099-.594a.5.5 0 0 1-.418-.493c0-.308.232-.533.514-.525 1.236.033 2.473.05 3.708.05 1.24 0 2.035-.027 2.717-.05a.5.5 0 0 1 .082.997c-1.303.163-1.303.558-1.303 3.474l.022 6.817c.044 2.31.066 2.442.33 2.793.188.222.483.339.935.4a.5.5 0 0 1 .428.495.504.504 0 0 1-.538.513zM60.97 15.668c0-.219.157-.405.371-.441.332-.055.734-.198.795-.62.066-.507.066-1.826.066-2.156 0-.77-.022-2.023-.022-2.793 0-1.104-.37-1.407-.89-1.554a.445.445 0 0 1-.32-.429v-.052c0-.219.157-.403.373-.44 1.095-.192 2.75-.66 3.62-.96a.446.446 0 0 1 .57.283c.018.058.035.113.05.17a.447.447 0 0 0 .659.26c.83-.482 1.617-.84 2.777-.84.835 0 1.671.22 2.353.703 1.072.744 1.252 1.88 1.34 3.083.002.012.002.024.002.036v1.895c0 .33-.044 2.045-.044 2.42 0 .556.15.895.878 1.03a.442.442 0 0 1 .353.439.446.446 0 0 1-.476.446c-.622-.042-1.564-.069-3.109-.069-.873 0-1.353.024-1.8.063a.447.447 0 0 1-.487-.445v-.094c0-.201.135-.379.33-.43.643-.174.723-.481.704-1.82l-.044-3.431c-.023-1.055-.066-2.265-1.496-2.265-.595 0-1.057.218-1.501.553a.451.451 0 0 0-.183.374c.035 1.102.035 4.23.035 5.208 0 1.009.174 1.288.712 1.43.192.05.322.23.322.429v.058a.447.447 0 0 1-.475.447c-.747-.047-1.707-.077-3.506-.077-.692 0-1.094.022-1.469.058a.446.446 0 0 1-.488-.446v-.023zM83.847 13.754c.276.2.314.604.072.844a6.543 6.543 0 0 1-4.557 1.9c-3.145 0-5.454-2.178-5.454-5.169 0-3.144 2.683-5.167 5.96-5.167 2.155 0 4.2.945 4.2 2.529 0 .747-.637 1.385-1.385 1.385-.33 0-.726-.154-.968-.396-.198-.176-.242-.286-.
700966-1.231-.198-.418-.638-1.166-1.319-1.166-1.276 0-1.628 2.177-1.628 3.255 0 2.485 1.408 4.156 2.947 4.156.818 0 1.495-.376 2.096-.904a.558.558 0 0 1 .696-.036M86.884 12.539c1.078 0 2 .858 2 2.001 0 1.122-.922 1.98-1.978 1.98a1.96 1.96 0 0 1-1.98-1.936c0-1.363 1.056-2.045 1.958-2.045"})]})}));var bX=c` 7010 text-decoration: none; 7011 display: flex; 7012 padding-top: 0; 7013 padding-bottom: 0; 7014 cursor: pointer; 7015`,DF=c` 7016 max-width: 100%; 7017 /* Prevents large logo images from exceeding header height */ 7018 max-height: calc(${64}px - ${a("--spacing-m")}); 7019 7020 ${N} { 7021 max-width: 100%; 7022 } 7023 display: block; 7024`,SX=c` 7025 margin-left: ${a("--spacing-m")}; 7026 7027 *[dir='rtl'] & { 7028 margin-right: ${a("--spacing-m")}; 7029 margin-left: 0; 7030 } 7031 7032 ${tM} 7033`,_i=({imgSrcs:e,imageSource:t,label:o,url:n="/",onClick:r,innerLogoClassName:s,className:l,openInNewTab:p,logoType:d="Ghost",ariaLabel:u})=>{let{Anchor:y}=(0,PF.useContext)(He),m;return e?m=i(Ye,{altText:"logo",imgClassName:DF,imgSrcs:e}):t?m=i(Ye,{altText:"logo",imgClassName:DF,defaultSrc:t}):d==="SnapInc"?m=i(wF,{className:s}):m=i(_F,{className:s,width:32,height:32}),x(y,{href:n,onClick:r,className:h(l,bX),"aria-label":u,...p?{target:"_blank",rel:"noopener"}:{},children:[m,o&&i("span",{className:SX,children:o})]})};_i.displayName="Logo";var Fy=T(P()),VF=T(Cr());var NF="sdsm-modal-content",Ry="sdsm-modal-close-button",EF="sdsm-modal-blocking",RF={[en.Top]:c` 7034 left: 50%; 7035 top: 0; 7036 transform: translateX(-50%); 7037 `,[en.Bottom]:c` 7038 bottom: 0; 7039 left: 50%; 7040 transform: translateX(-50%); 7041 `,[en.Middle]:c` 7042 left: 50%; 7043 top: 50%; 7044 transform: translate(-50%, -50%); 7045 `},FF=c` 7046 backdrop-filter: blur(4px); 7047 background: ${a("--modal-bg-color")}; 7048 box-shadow: none; 7049 height: 100%; 7050 left: 0; 7051 overflow: hidden; 7052 position: fixed; 7053 top: 0; 7054 width: 100%; 7055 z-index: ${Pe.MODAL}; 7056 7057 /* ========================================================================================================== 7058 Specific fix to address errant behavior in Safari browser when in fullscreen mode. 7059 Bug Behavior: certain CSS transforms (like blur) will cause the browser to stop honoring z-index values. 7060 Since this style is only applied when in full-screen mode, there should be no issues with 7061 removing the background blur since it should be hidden by the fullscreen content. 7062 Use Case: Rendering a Video player inside of the SDS-M Modal component. 7063 ========================================================================================================== */ 7064 :-webkit-full-screen-ancestor:not(iframe) { 7065 /* NOTE: Safari needs the prefix. See https://caniuse.com/css-backdrop-filter */ 7066 /* stylelint-disable-next-line property-no-vendor-prefix */ 7067 -webkit-backdrop-filter: unset; 7068 } 7069`,BF=c` 7070 background-color: ${a("--bg-color")}; 7071 border-radius: ${a("--modal-border-radius")}; 7072 overflow: hidden; 7073 padding: ${a("--spacing-xl")}; 7074 padding-block-start: 52px; 7075 position: fixed; 7076 7077 ${N} { 7078 padding-block-start: 36px; 7079 padding-inline: ${a("--spacing-m")}; 7080 } 7081 7082 ${Mt} { 7083 width: 80%; 7084 } 7085 7086 /* Modal paddings takes precedence over the immediate children's 7087 * paddings (i.e. the Content component paddings, etc.) 7088 */ 7089 & > *:not(.${Ry}) { 7090 padding: 0px; 7091 } 7092`,$F=c` 7093 align-items: center; 7094 background-color: transparent; 7095 border: none; 7096 color: ${a("--icon-color")}; 7097 cursor: pointer; 7098 display: flex; 7099 inset-block-start: ${a("--spacing-m")}; 7100 inset-inline-end: ${a("--spacing-m")}; 7101 justify-content: center; 7102 margin: 0; 7103 padding: ${a("--spacing-xs")}; 7104 position: absolute; 7105 z-index: ${Pe.MODAL+1}; 7106 7107 ${N} { 7108 inset-block-start: ${a("--spacing-xs")}; 7109 inset-inline-end: ${a("--spacing-xs")}; 7110 padding: ${a("--spacing-xxs")}; 7111 } 7112`,LF=c` 7113 && { 7114 padding: 0; 7115 } 7116`,HF=c` 7117 inset-block-start: ${a("--spacing-m")}; 7118 inset-inline-end: ${a("--spacing-m")}; 7119 position: absolute; 7120 z-index: ${Pe.MODAL+1}; 7121 7122 ${N} { 7123 inset-block-start: ${a("--spacing-xs")}; 7124 inset-inline-end: ${a("--spacing-xs")}; 7125 } 7126`;var By=({className:e,contentClassName:t,isBlocking:o=!1,verticalAlignment:n=en.Middle,onClose:r,isDisplayed:s=!1,portalRoot:l,style:p,dataset:
7126d,children:u,disableBackgroundScroll:y,shouldAllowScrollEvent:m,motifScheme:g,variant:f="default"})=>{q("sdsm-modal");let b=(0,Fy.useRef)(null),S=f==="flush",C=xt();Ss(o||y?b:null,void 0,m),NT(b,s),(0,Fy.useEffect)(()=>{if(!s||o||!r)return;let k=v=>{v.key==="Escape"&&(v.stopPropagation(),r(v))};return document.addEventListener("keydown",k),()=>{document.removeEventListener("keydown",k)}},[o,s,r]);let I=i("section",{className:h("sdsm-modal",FF,{[EF]:o},e),style:p,...te(d),children:x("div",{className:h(g,BF,NF,RF[n],t,{[LF]:S}),ref:b,children:[!o&&!S&&i("button",{type:"button",className:h(Ry,$F),"aria-label":"Close",onClick:r,children:i(Te,{fill:a("--icon-color"),name:"cross",size:20})}),!o&&S&&i(wo,{size:C?"small":"medium",className:h(Ry,HF),"aria-label":"Close",iconName:"cross",onClick:r}),u]})});return l?s?(0,VF.createPortal)(I,l):null:s?I:null};var Go=T(P());var Gp=T(P());var OF=c` 7127 display: flex; 7128 justify-content: center; 7129 padding: ${a("--spacing-m")} 0; 7130 margin-bottom: ${a("--spacing-xxxxl")}; 7131`,GF=(e,t)=>c` 7132 display: grid; 7133 grid-auto-flow: dense; 7134 transition: filter 0.2s; 7135 grid-template-columns: repeat(${Math.max(1,e??4)}, 1fr); 7136 7137 ${N} { 7138 grid-template-columns: repeat(${Math.max(1,t??e??2)}, 1fr); 7139 padding: 0 8px; 7140 } 7141 7142 /* 7143 We are keeping the media queries above in addition to the container queries below in case: 7144 - this component is ever rendered without a wrapping SDS-M Page component 7145 - the browser does not support container queries (smart TVs, etc.) 7146 */ 7147 ${co} { 7148 grid-template-columns: repeat(${Math.max(1,t??e??2)}, 1fr); 7149 } 7150`,zF=c` 7151 position: relative; 7152 border-radius: ${a("--border-radius-xl")}; 7153 overflow: hidden; 7154 z-index: 0; 7155 7156 &:before { 7157 content: ''; 7158 display: block; 7159 height: 0; 7160 } 7161 7162 @media (hover: hover) { 7163 transition: box-shadow 0.2s; 7164 7165 div[data-poster] { 7166 transition: opacity 0.2s; 7167 } 7168 7169 &:hover { 7170 box-shadow: ${a("--box-shadow-xl")}; 7171 7172 div[data-poster] { 7173 opacity: 0; 7174 } 7175 } 7176 } 7177`,UF=c` 7178 min-height: 100%; 7179`,WF=c` 7180 position: absolute; 7181 inset: 0; 7182 z-index: 1; 7183 display: flex; 7184 align-content: center; 7185 flex-direction: row; 7186 align-items: flex-end; 7187 justify-content: flex-start; 7188 padding: ${a("--spacing-xl")}; 7189 font-size: 16px; 7190 7191 [data-playing='true'] > & { 7192 opacity: 0; 7193 } 7194 7195 [data-overlay='true'] > & { 7196 background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42.19%, rgba(0, 0, 0, 0.9) 100%); 7197 } 7198 7199 [data-overlay='false'] > & { 7200 font-weight: 700; 7201 font-size: 24px; 7202 line-height: 38px; 7203 } 7204 7205 ${N} { 7206 padding: ${a("--spacing-m")}; 7207 } 7208`,QF=c` 7209 flex: 1 1 auto; 7210 width: 100%; 7211 color: ${a("--mosaic-title-color")}; 7212`,qF=c` 7213 display: inline-block; 7214 color: ${a("--mosaic-highlight-color")}; 7215 white-space: nowrap; 7216 7217 &:after { 7218 /* NOTE: Emotion has a rule that there has to be a space at the end here. */ 7219 content: '\\00a0 '; 7220 } 7221`,KF=c` 7222 margin-inline-start: auto; 7223 flex: 0 0 auto; 7224 color: ${a("--mosaic-duration-color")}; 7225`,jF=c` 7226 position: absolute; 7227 inset: 0; 7228 width: 100%; 7229 height: 100%; 7230 object-fit: cover; 7231`,YF=c` 7232 position: absolute; 7233 inset: 0; 7234 display: flex; 7235 align-items: center; 7236 justify-content: center; 7237 7238 [data-playing='true'] > & { 7239 opacity: 0; 7240 } 7241`,XF=(e,t,o,n)=>c` 7242 cursor: pointer; 7243 position: relative; 7244 padding: calc(${a("--mosaic-grid-gap")} / 2); 7245 grid-row: span ${Math.max(1,e??1)}; 7246 grid-column: span ${Math.max(1,t??1)}; 7247 7248 ${N} { 7249 padding: ${a("--spacing-xs")}; 7250 grid-row: span ${Math.max(1,o??e??1)}; 7251 grid-column: span ${Math.max(1,n??t??1)}; 7252 } 7253 7254 /* 7255 We are keeping the media queries above in addition to the container queries below in case: 7256 - this component is ever rendered without a wrapping SDS-M Page component 7257 - the browser does not support container queries (smart TVs, etc.) 7258 */ 7259 ${co} { 7260 grid-row: span ${Math.max(1,o??e??1)}; 7261 grid-column: span ${Math.max(1,n??t??1)}; 7262 } 7263`,JF=c` 7264 position: absolute; 7265 inset: 0; 7266`,ZF=c` 7267 position: absolute; 7268 inset: 0; 7269 width: 100%; 7270 height: 100%; 7271 object-fit: cover; 7272 transition: opacity 0.2s; 7273`,e3=c` 7274 /* This is set such that the 40px close button fits in the middle. */ 7275 --lightbox-horizontal-padding: 80px; 7276 --lightbox-vertical-padding: 80px; 7277 7278 ${N} { 7279 --lightbox-horizontal-padding: 24px; 7280 --lightbox-vertical-padding: 80px; 7281 } 7282 7283 width: calc(100vw - calc(2 * var(--lightbox-horizontal-padding))); 7284 width: calc(100dvw - calc(2 * var(--lightbox-horizontal-padding))); 7285 height: calc(100vh - calc(2 * var(--lightbox-vertical-padding))); 7286 height: calc(100dvh - calc(2 * var(--lightbox-vertical-padding))); 7287`,t3=c` 7288 height: calc(100% + var(--lightbox-vertical-padding)); 7289 display: grid; 7290 grid-template-rows: calc(100% - 100px) auto; 7291 align-items: center; 7292 7293 margin: 0; 7294 margin-bottom: calc(0px - var(--lightbox-vertical-padding)); 7295 7296 z-index: ${Pe.MOSAIC_LIGHTBOX}; 7297 inset: ${64}px 0 0; 7298 transition: opacity 0.2s; 7299 7300 &[data-active='false'] { 7301 opacity: 0; 7302 pointer-events: none; 7303 } 7304`,o3=c` 7305 display: flex; 7306 flex-direction: row; 7307 align-items: center; 7308`,n3=c` 7309 color: ${a("--fg-color")}; 7310 width: 100%; 7311 padding: ${a("--spacing-l")}; 7312 text-align: center; 7313`,a3=c` 7314 border-radius: ${a("--border-radius-l")}; 7315 overflow: hidden; 7316 max-width: 100%; 7317 max-height: 100%; 7318 width: auto; 7319 height: auto; 7320`,r3=c` 7321 margin: 5px 0; 7322 transform: rotate(270deg); 7323 [dir='rtl'] & { 7324 transform: rotate(90deg); 7325 } 7326`,i3=c`
7327 margin: 5px -1px 5px 1px; 7328 transform: rotate(270deg); 7329 [dir='rtl'] & { 7330 transform: rotate(90deg); 7331 } 7332`;var Gh=(0,Gp.memo)(({filters:e,currentFilter:t,onSelectFilter:o})=>{let n=(0,Gp.useCallback)(s=>()=>{o(t===s?"":s)},[t,o]),r=(0,Gp.useCallback)(s=>l=>{l.key==="Enter"&&o(t===s?"":s),l.key==="Escape"&&o("")},[t,o]);return i("div",{className:h(OF),children:e.map(({id:s,icon:l,text:p},d)=>i("div",{"aria-pressed":t===s,onKeyPress:r(s),role:"button",tabIndex:0,children:l&&i(NM,{icon:l,onClick:n(s),selected:t===s,id:s,index:d,text:p})},`${s}-${d}`))})});Gh.displayName="MosaicFilters";var s3=T(P());var l3=({tile:e,handleKeyPress:t,goNext:o,goPrevious:n,close:r,className:s})=>((0,s3.useEffect)(()=>{e?.onOpen&&e.onOpen()},[e]),!e||!e.video?null:i(By,{contentClassName:e3,isBlocking:!1,isDisplayed:!!e,disableBackgroundScroll:!0,onClose:r,children:x("figure",{"data-testid":"sdsm-mosaic-lightbox",className:h(t3,s),children:[i(Ke,{loop:!0,className:a3,...e.video,showVideoControls:!0,autoplay:!0}),x("div",{"data-testid":"sdsm-mosaic-lightbox-controls",className:o3,children:[i(wo,{iconName:"
7332chevron-up",iconClassName:r3,onClick:n,onKeyDown:t}),i("figcaption",{className:n3,children:e.title}),i(wo,{iconName:"chevron-down",iconClassName:i3,onClick:o,onKeyDown:t})]})]},`${e.video.source}-${e.title}-${e.highlight}`)}));var ir=T(P());var p3=({columns:e=1,rows:t=1,mobileColumns:o=e,mobileRows:n=t,cover:r=!0,poster:s,preview:l,showOverlay:p,highlight:d,title:u,duration:y,onEnter:m,onLeave:g})=>{let f=(0,ir.useRef)(null),[b,S]=(0,ir.useState)(!1),C=t/e,I=n/o,k=c` 7333 &:before { 7334 padding-bottom: ${C*100}%; 7335 } 7336 ${N} { 7337 &:before { 7338 padding-bottom: ${I*100}%; 7339 } 7340 } 7341 `,v=(0,ir.useCallback)(async()=>{m?.();let w=f.current?.querySelector("video");w&&(await w.play(),S(!0))},[f,m]),A=(0,ir.useCallback)(()=>{g?.();let w=f.current?.querySelector("video");w&&(Gn(w)&&w.pause(),w.currentTime=0,S(!1))},[f,g]);return(0,ir.useEffect)(()=>{let w=f.current;return w?.addEventListener("mouseenter",v),w?.addEventListener("mouseleave",A),()=>{w?.removeEventListener("mouseenter",v),w?.removeEventListener("mouseleave",A)}},[f,v,A]),x("div",{ref:f,className:h(k,zF,r?UF:void 0),"data-playing":b,"data-overlay":!!p,children:[l&&i(Ke,{className:jF,isBackgroundVideo:!0,autoPlay:!1,...l}),s&&i("div",{className:JF,"data-poster":!0,children:i("img",{alt:u??d??"",src:s.src,srcSet:s.srcSet,className:ZF})}),x("div",{className:WF,children:[(u||d)&&x("div",{className:QF,children:[d&&i("div",{className:qF,children:d}),u]}),y&&i("div",{className:KF,children:y}),i("div",{className:YF,children:i(Te,{name:"play-filled"})})]})]})};var zh=(0,Go.memo)(({tiles:e,columns:t,mobileColumns:o,filters:n,className:r,lightboxClassName:s})=>{q("sdsm-mosaic");let[l,p]=(0,Go.useState)(),[d,u]=(0,Go.useState)(""),[y,m]=(0,Go.useState)(!1),g=(0,Go.useCallback)(v=>{m(!!v?.closest('[dir="rtl"]'))},[]),f=(0,Go.useRef)([]),b=(0,Go.useCallback)(()=>{if(l===void 0)return;let v=(l+1)%e.length;p(v)},[l,e.length]),S=(0,Go.useCallback)(()=>{if(l===void 0)return;let v=(l-1+e.length)%e.length;p(v)},[l,e.length]),C=()=>{p(void 0)},I=(0,Go.useCallback)(v=>A=>{if(v!==void 0){if(A.key===(y?"ArrowLeft":"ArrowRight")){let w=(v+1)%e.length;l!==void 0&&p(w),f.current[w]?.focus()}if(A.key===(y?"ArrowRight":"ArrowLeft")){let w=(v-1+e.length)%e.length;l!==void 0&&p(w),f.current[w]?.focus()}A.key==="Enter"&&l===void 0&&p(v),A.key==="Escape"&&l!==void 0&&p(void 0)}},[l,y,e.length]),k=(0,Go.useMemo)(()=>d?e.filter(v=>v.filters?.includes(d)):e,[d,e]);return x("div",{className:h("sdsm-mosaic",r),children:[i(l3,{className:s,tile:l!==void 0?e[l]:void 0,handleKeyPress:I(l),goNext:b,goPrevious:S,close:C}),n?.length?i(Gh,{filters:n,onSelectFilter:u,currentFilter:d}):void 0,i("div",{ref:g,className:h(GF(t,o)),"data-active":l!==void 0,children:k.map((v,A)=>i("div",{className:h(XF(v.rows,v.columns,v.mobileRows,v.mobileColumns)),"aria-pressed":l===A,role:"button",tabIndex:0,onClick:()=>p(A),onKeyDown:I(A),ref:w=>{f.current[A]=w},children:i(p3,{...v})},`${A}-${v.poster?.src}`))})]})});zh.displayName="Mosaic";var hX=864,CX=120,xX=369,vX=225,c3=c` 7342 display: flex; 7343 gap: ${a("--spacing-xl")}; 7344 justify-content: center; 7345 margin-block: 0; 7346 padding: ${a("--spacing-xl")} ${a("--spacing-xxxxl")}; 7347 width: 100%; 7348 7349 ${qe} { 7350 align-items: center; 7351 } 7352 7353 ${N} { 7354 padding: ${a("--spacing-xl")}; 7355 } 7356`,d3=c` 7357 background-color: ${a("--bg-color")}; 7358 color: ${a("--fg-color")}; 7359 display: flex; 7360`,u3=c` 7361 max-width: ${hX}px; 7362 width: 100%; 7363`,y3=c` 7364 flex-direction: row-reverse; 7365`,m3=c` 7366 min-height: calc(100vh - ${64}px); 7367`,g3=c` 7368 display: flex; 7369 flex-direction: column; 7370 gap: ${a("--spacing-xxxl")}; 7371 width: 60%; 7372 7373 /** Dynamic padding for nonmobile devices such that content inside the block could be centered 7374 * Have to use dyanmic padding (should be a one-off case) instead of fixed padding 7375 * due to the media inside was complicatedly implemented (animated carousel, video were using fixed padding) 7376 * Ticket: https://jira.sc-corp.net/browse/WEBP-13033 7377 */ 7378 padding-inline-start: 6%; 7379 7380 ${Ga({max:1366})} { 7381 padding-inline-start: 3%; 7382 } 7383 7384 ${N} { 7385 gap: ${a("--spacing-xl")}; 7386 width: 100%; 7387 padding-inline-start: 0; 7388 } 7389`,f3=c` 7390 display: flex; 7391 flex-direction: column; 7392 gap: ${a("--spacing-l")}; 7393 overflow-wrap: break-word; 7394 7395 ${Tt} 7396`,b3=c` 7397 display: flex; 7398 flex-direction: column; 7399 gap: ${a("--spacing-xs")}; 7400`,S3=c` 7401 display: grid; 7402 gap: ${a("--spacing-l")}; 7403 grid-template-columns: repeat(2, 1fr);
7404 overflow-wrap: anywhere; 7405 7406 ${qe} { 7407 display: flex; 7408 } 7409`,Ws=c` 7410 box-sizing: border-box; 7411 display: flex; 7412 flex: 1 0 0; 7413 7414 ${Md} 7415 7416 ${N} { 7417 flex-direction: column; 7418 gap: ${a("--spacing-xxs")}; 7419 } 7420`,$y=c` 7421 display: flex; 7422 flex-direction: column; 7423 gap: ${a("--spacing-xs")}; 7424`,h3=c` 7425 display: flex; 7426 flex-shrink: 0; 7427 margin: 3px; 7428 pointer-events: none; 7429 user-select: none; 7430`,C3=c` 7431 height: 18px; 7432 width: 18px; 7433`,x3=c` 7434 fill: ${a("--fg-color")}; 7435 flex-shrink: 0; 7436 margin: 3px; 7437`,v3=c` 7438 flex-direction: column; 7439`,I3=c` 7440 ${rs} 7441 7442 /* Overriding h3 tags requires double specificity */ 7443 && { 7444 ${H} { 7445 font-size: ${a("--multi-value-prop-block-stat-desktop-font-size")}; 7446 line-height: ${a("--multi-value-prop-block-stat-desktop-font-line-height")}; 7447 } 7448 7449 ${N} { 7450 font-size: ${a("--multi-value-prop-block-stat-mobile-font-size")}; 7451 line-height: ${a("--multi-value-prop-block-stat-mobile-font-line-height")}; 7452 } 7453 } 7454`,k3=c` 7455 max-width: ${CX}px; 7456`,M3=c` 7457 aspect-ratio: 1 / 1; 7458`,T3=c` 7459 display: flex; 7460 flex-wrap: wrap; 7461 gap: ${a("--spacing-m")}; 7462`,A3=c` 7463 align-items: flex-start; 7464 display: flex; 7465 justify-content: center; 7466 padding-inline: 20px; 7467 width: 40%; 7468 7469 ${qe} { 7470 align-items: center; 7471 } 7472 7473 ${N} { 7474 width: 100%; 7475 } 7476`,_3=c` 7477 display: block; 7478 object-fit: cover; 7479 object-position: center; 7480 width: 100%; 7481 7482 > picture { 7483 pointer-events: none; 7484 } 7485`,Uh=c` 7486 aspect-ratio: 9 / 16; 7487 width: ${xX}px; 7488 7489 & img { 7490 aspect-ratio: 9 / 16; 7491 } 7492`,Wh=c` 7493 ${N} { 7494 aspect-ratio: 9 / 16; 7495 width: ${vX}px; 7496 7497 & img { 7498 aspect-ratio: 9 / 16; 7499 } 7500 } 7501`,Qh=c` 7502 aspect-ratio: 16 / 9; 7503 7504 & img { 7505 aspect-ratio: 16 / 9; 7506 } 7507`,w3=c` 7508 ${N} { 7509 ${Qh} 7510 } 7511`,qh=c` 7512 aspect-ratio: 3 / 2; 7513 7514 & img { 7515 aspect-ratio: 3 / 2; 7516 } 7517`,D3=c` 7518 ${N} { 7519 ${qh} 7520 } 7521`,Kh=c` 7522 aspect-ratio: 1 / 1; 7523 7524 & img { 7525 aspect-ratio: 1 / 1; 7526 } 7527`,P3=c` 7528 ${N} { 7529 ${Kh} 7530 } 7531`;var N3=e=>{let{title:t,imgSrcs:o}=e;return x("div",{className:h(Ws,$y),children:[i("div",{className:k3,children:i(Ke,{className:M3,imgSrcs:o})}),t&&i("h6",{className:ra,children:t})]})};var E3=e=>{q("sdsm-multi-value-prop-block");let t=xt(),{anchor:o,motifScheme:n,backgroundColor:r,title:s,subtitle:l,body:p,children:d,mediaSources:u=[],desktopMediaAspectRatio:y="9:16",mobileMediaAspectRatio:m="9:16",mediaDirection:g=re.End,autoplayCarousel:f,callsToAction:b,fullHeight:S,className:C,style:I,stickers:k,isRtl:v=!1}=e,A=u?.length||0,w=()=>A>0?i("section",{className:A3,children:A>1?i(fa,{autoPlay:f,isSingleView:!0,isRtl:v,children:u.map((D,M)=>D&&i(Un,{aspectRatio:t?m:y,imgSrcs:D?.sources,imgAltText:D?.altText,className:h({[Uh]:!t&&y==="9:16",[Wh]:t&&m==="9:16"}),...D},`${D.type}-${M}`))}):A>0?i(xn,{mediaClassName:h(_3,{[Uh]:y==="9:16",[Wh]:m==="9:16",[Qh]:y==="16:9",[qh]:y==="3:2",[Kh]:y==="1:1",[w3]:m==="16:9",[D3]:m==="3:2",[P3]:m==="1:1"}),imgSrcs:u[0]?.sources,altText:u[0]?.altText,...u[0],stickers:k}):null}):null;return i("article",{id:o,className:h("sdsm-multi-value-prop-block",n??Bn(r),d3,{[m3]:S},C),style:I,children:x(Ja,{className:h(c3,{[y3]:!t&&g===re.Start&&!v}),children:[x("section",{className:h(g3,{[u3]:A===0}),children:[x("div",{className:f3,children:[x("div",{className:b3,children:[i("h3",{className:rs,children:s}),l&&i("p",{className:uo,children:l})]}),t&&i(w,{}),p&&p]}),d&&i("div",{className:S3,children:d}),b&&i("div",{className:T3,children:b})]}),!t&&i(w,{})]})})};var R3=({stat:e,subtitle:t})=>(q("sdsm-multi-value-prop-block"),x("div",{className:h(Ws,v3),children:[i("h3",{className:I3,children:e}),t]}));var F3=e=>{let{title:t,body:o,icon:n,imgSrcs:r}=e;return x("div",{className:Ws,children:[n?i(Te,{name:n,size:18,className:x3}):r&&i(Ye,{className:h3,imgClassName:C3,imgSrcs:r}),x("div",{className:$y,children:[i("h6",{className:ra,children:t}),o]})]})};var Up=T(P());var B3={[mi.TopLeft]:c` 7532 left: 2%; 7533 top: 4%; 7534 `,[mi.TopRight]:c` 7535 right: 2%; 7536 top: 4%; 7537 `,[mi.TopCenter]:c` 7538 left: 50%; 7539 top: 4%; 7540 transform: translateX(-50%); 7541 `,[mi.BottomLeft]:c` 7542 left: 2%; 7543 bottom: 4%; 7544 `,[mi.BottomRight]:c` 7545 right: 2%; 7546 bottom: 4%; 7547 `,[mi.BottomCenter]:c` 7548 left: 50%; 7549 bottom: 4%; 7550 transform: translateX(-50%); 7551 `},$3=c` 7552 position: absolute; 7553 7554 ${N} { 7555 left: 50%; 7556 right: auto; 7557 transform: translateX(-50%); 7558 } 7559`,L3=c` 7560 width: 100%; 7561 height: 100%; 7562 display: flex; 7563 position: relative; 7564`,H3=c` 7565 width: 100%; 7566`,V3=c` 7567 display: flex; 7568 flex-direction: column; 7569 height: 100%; 7570 left: 0; 7571 position: absolute; 7572 top: 0; 7573 width: 100%; 7574`,O3=c` 7575 flex: 1; 7576 position: relative; 7577`;var zp=T(P());var IX=c` 7578 visibility: visible; 7579`,kX=c` 7580 position: absolute; 7581 visibility: hidden; 7582`,G3=({hasVideoSync:e,video:t,currentTime:o})=>{let n=(0,zp.useRef)(null);return(0,zp.useEffect)(()=>{ht(o)||!n.current||!e||(n.current.currentTime=o.current)},[t]),(0,zp.useEffect)(()=>{let r=n.current;if(!r||!e)return;let s=l=>{let p=l.target;o.current=p.currentTime};
7582return r.addEventListener("timeupdate",s),()=>{r.removeEventListener("timeupdate",s)}},[o,t,e]),i(fi,{className:h(kX,{[IX]:!0}),source:t.media?.url,posterSource:t.thumbnailMedia?.url,isBackgroundVideo:!0,sourceType:t.media?.contentType,ref:n})};var jh=({anchorId:e,children:t,className:o,hasVideoSync:n=!0,id:r,mobilePrimaryVideos:s,mobileSecondaryVideos:l,onVideoChange:p=ko,panelPosition:d,primaryVideos:u,style:y,secondaryVideos:m,toggleButtonIcons:g,togglePanelClassName:f,togglePanelLabel:b,preChildren:S,postChildren:C})=>{let[I,k]=(0,Up.useState)(!1),[v,A]=(0,Up.useState)(0),w=(0,Up.useRef)(0);q("sdsm-multi-video-block");let M=Zo()===rt.Mobile,_=M?[s,l]:[u,m],F=I?_[1]:_[0],$=F[v],B=M?[...s,...l]:[...u,...m],V=K=>{A(K),w.current=0,p(K,I)},L=K=>{k(K),p(v,K)},z=B.filter(K=>K?.media?.url).map((K,ye)=>i("link",{rel:"prefetch",as:"video",href:K.media.url},ye));return x("div",{id:e,style:y,className:h("sdsm-multi-video-block",L3,o),children:[z,$?.thumbnailMedia?.url&&i("img",{className:H3,src:$.thumbnailMedia.url}),$&&i(G3,{hasVideoSync:n,isSelected:!0,video:$,currentTime:w}),t,x("div",{className:V3,children:[S,i("div",{className:O3,children:i(RM,{id:r,items:F,label:b,sliderChecked:I,onSliderUpdate:L,onButtonToggle:V,hasToggleSlider:!!_[1]?.length,selectedId:F[v].id,className:h(B3[d],$3,f),buttonIcons:g})}),C]})]})};jh.displayName="MultiVideoBlock";db();var zo=T(P());function z3(e){return t=>{if(!e)return!1;try{let o=`${e.protocol}//${e.hostname}`,n=new URL(t,o),r=e.hostname,s=e.pathname;return r===n.hostname&&s===n.pathname}catch{return!1}}}var Y3=T(P());var Wp=({fill:e,icon:t,media:o,size:n})=>{if(t)return i(Te,{size:n,name:t.name,fill:t.fill?t.fill:e});if(o){let{altText:r,imgSrcs:s}=o;return i(Ye,{imgSrcs:s,width:n,height:n,altText:r})}return null};Wp.displayName="IconOrImage";var Ly="sdsm-nav-featured-link-title",Hy=c` 7583 align-items: flex-start; 7584 background-color: ${a("--global-header-menu-featured-item-bg-color")}; 7585 border-radius: ${a("--global-header-menu-featured-item-border-radius")}; 7586 color: ${a("--global-header-menu-featured-item-fg-color")}; 7587 cursor: pointer; 7588 display: flex; 7589 flex-direction: column; 7590 gap: ${a("--spacing-s")}; 7591 padding: ${a("--spacing-m")}; 7592 text-decoration: none; 7593 transition: background-color 0.2s linear; 7594 7595 &:hover { 7596 color: ${a("--global-header-menu-featured-item-hover-color")}; 7597 background-color: ${a("--global-header-menu-featured-item-bg-hover-color")}; 7598 } 7599`,U3=c` 7600 background-color: ${a("--global-header-menu-featured-item-bg-hover-color")}; 7601 color: ${a("--global-header-menu-featured-item-hover-color")}; 7602 7603 & .${Ly} { 7604 color: ${a("--global-header-menu-featured-item-active-color")}; 7605 } 7606 7607 &:hover { 7608 & .${Ly} { 7609 color: ${a("--global-header-menu-featured-item-active-color")}; 7610 } 7611 } 7612`,W3=c` 7613 && { 7614 font-size: ${a("--p2-desktop-font-size")}; 7615 font-weight: 500; 7616 line-height: ${a("--p2-desktop-font-line-height")}; 7617 margin: 0; 7618 } 7619`,Q3=c` 7620 && { 7621 font-size: ${a("--p3-desktop-font-size")}; 7622 font-weight: 400; 7623 line-height: ${a("--p3-desktop-font-line-height")}; 7624 margin: 0; 7625 } 7626`,q3=c` 7627 && { 7628 align-items: center; 7629 display: flex; 7630 gap: ${a("--spacing-xs")}; 7631 justify-content: end; 7632 margin: auto 0 0 0; 7633 width: 100%; 7634 } 7635`,K3=c` 7636 && { 7637 font-size: ${a("--p3-desktop-font-size")}; 7638 font-weight: 400; 7639 line-height: ${a("--p3-desktop-font-line-height")}; 7640 margin: auto 0 0 0; 7641 overflow: hidden; 7642 text-overflow: ellipsis; 7643 white-space: nowrap; 7644 7645 ${H} { 7646 opacity: 0; 7647 transform: translateX(${a("--spacing-xs")}); 7648 transition: opacity 0.2s linear, transform 0.2s ease-in-out; 7649 7650 [dir='rtl'] & { 7651 transform: translateX(calc(${a("--spacing-xs")} * -1)); 7652 } 7653 7654 ${`.${Hy}`}:hover &, 7655 ${`.${Hy}`}:focus & { 7656 opacity: 1; 7657 transform: translateX(0); 7658 } 7659 } 7660 } 7661`,j3=c` 7662 [dir='rtl'] & { 7663 transform: scaleX(-1); 7664 } 7665`;var Qp=({url:e,title:t,dataset:o,description:n,icon:r,media:s,ctaLabel:l,onClick:p,isUrlCurrent:d})=>{let{Anchor:u}=(0,Y3.useContext)(He);return x(u,{className:h("sdsm-nav-featured-link",Hy,{[U3]:d}),href:e,role:"menuitem",onClick:p,...te(o),children:[(r||s)&&i(Wp,{icon:r,media:s,size:48,fill:a("--global-header-menu-featured-item-icon-color")}),i("span",{className:h(Ly,W3),children:t}),i("span",{className:Q3,children:n}),x("span",{className:q3,children:[i("span",{className:K3,children:l}),i(Te,{className:j3,size:24,name:"arrow-right",fill:a("--global-header-menu-featured-item-fg-color")})]})]})};Qp.displayName="NavigatorItemFeaturedLink";var aB=T(P());var qp="sdsm-navigator-item-link-text-title",X3=c` 7666 background-color: transparent; 7667 border-radius: ${a("--global-header-menu-item-border-radius")}; 7668 color: ${a("--global-header-menu-item-fg-color")}; 7669 cursor: pointer; 7670 display: flex; 7671 gap: 8px; 7672 padding: 16px; 7673 text-decoration: none; 7674 transition: background-color 0.2s linear; 7675 width: 100%; 7676 7677 :hover { 7678 background-color: ${a("--global-header-menu-item-bg-hover-color")}; 7679 7680 & .${qp} { 7681 color: ${a("--global-header-menu-item-hover-color")}; 7682 } 7683 } 7684`,J3=c` 7685 background-color: ${a("--global-header-menu-item-bg-hover-color")}; 7686 color: ${a("--global-header-menu-item-hover-color")}; 7687 7688 & .${qp} { 7689 color: ${a("--global-header-menu-item-active-color")}; 7690 } 7691 7692 :hover { 7693 & .${qp} { 7694 color: ${a("--global-header-menu-item-active-color")}; 7695 } 7696 } 7697`,Z3=c` 7698 && { 7699 margin: 1px 0 0 0; 7700 min-width: 24px; 7701 } 7702`,eB=c` 7703 && { 7704 display: flex; 7705 flex-direction: column; 7706 gap: ${a("--spacing-xs")}; 7707 margin: 0; 7708 7709 span { 7710 margin: 0; 7711 } 7712 } 7713`,tB=c` 7714 && { 7715 font-size: ${a("--p2-desktop-font-size")}; 7716 font-weight: 500; 7717 line-height: ${a("--p2-desktop-font-line-height")}; 7718 margin: 0; 7719 } 7720`,oB=c` 7721 && { 7722 font-size: ${a("--p3-desktop-font-size")}; 7723 font-weight: 400; 7724 line-height: ${a("--p3-desktop-font-line-height")}; 7725 margin: 0; 7726 } 7727`,nB=c` 7728 && { 7729 font-size: ${a("--p3-desktop-font-size")}; 7730 font-weight: 400; 7731 line-height: ${a("--p3-desktop-font-line-height")}; 7732 margin: 0 0 ${a("--spacing-xs")} 0; 7733 } 7734`;var Kp=({url:e,title:t,dataset:o,description:n,icon:r,media:s,showSpacer:l,onClick:p,isUrlCurrent:d})=>{let{Anchor:u}=(0,aB.useContext)(He);return x(ue,{children:[x(u,{className:h("sdsm-nav-link",X3,{[J3]:d}),href:e,role:"menuitem",onClick:p,...te(o),children:[(r||s)&&i("span",{className:Z3,children:i(Wp,{icon:r,media:s,size:24,fill:a("--global-header-menu-item-icon-color")})}),x("span",{className:eB,children:[i("span",{className:h(qp,tB),children:t}),!!n&&i("span",{className:oB,children:n})]})]}),!n&&l?i("span",{className:nB,children:"\xA0"}):null]})};Kp.displayName="NavigatorItemLink";var Vy=({col1Label:e,col1Items:t=[],col2Label:o,col2Items:n=[],col3Label:r,col3Items:s=[]})=>[{id:1,hasItems:!!t?.length,hasLabel:!!e},{id:2,hasItems:!!n?.length,hasLabel:!!o},{id:3,hasItems:!!s?.length,hasLabel:!!r}].filter(({hasItems:p})=>p).filter((p,d,u)=>{let y=u[d-1],m=d===0,g=p.hasLabel||y?.hasLabel;return!m&&g}).map(({id:p})=>p);var Yh=c` 7735 align-items: center; 7736 color: ${a("--global-header-navigator-item-color")}; 7737 display: flex; 7738 /* Set font-family here or the var from the default motif is used */ 7739 font-family: ${a("--font-family")}; 7740 font-size: ${a("--action-desktop-font-size")}; 7741 font-weight: 500; 7742 line-height: ${64}px; 7743 margin-left: ${a("--spacing-m")}; 7744 margin-right: ${a("--spacing-m")}; 7745 padding-bottom: 0; 7746 padding-top: 0; 7747 text-decoration: none; 7748 text-transform: ${a("--global-header-navigator-item-desktop-font-text-transform")}; 7749 white-space: nowrap; 7750 7751 ${N} { 7752 font-size: ${a("--action-mobile-font-size")}; 7753 } 7754 7755 &:hover { 7756 color: ${a("--global-header-navigator-item-hover-color")}; 7757 } 7758 7759 & span { 7760 position: relative; /* For the underline */ 7761 overflow-y: hidden; 7762 } 7763 7764 /** Custom underline */ 7765 & > span::after { 7766 /* TODO: consolidate the rounded underline css? */ 7767 background-color: ${a("--global-header-navigator-indicator-active-color")}; 7768 bottom: -8px; 7769 content: ''; 7770 height: 8px; 7771 left: 0; 7772 position: absolute; 7773 border-radius: ${a("--action-indicator-border-radius")}; 7774 transform: translateY(0); 7775 transition: all 0.15s ease; 7776 width: 100%; 7777 } 7778 7779 &:hover > span::after { 7780 opacity: ${a("--action-indicator-hover-opacity")}; 7781 transform: translateY(-4px); 7782 } 7783 7784 & > span.selected { 7785 color: ${a("--global-header-navigator-item-active-color")}; 7786 } 7787 7788 & > span.selected::after { 7789 opacity: 1; 7790 transform: translateY(-4px); 7791 } 7792 7793 &:hover > span.selected::after { 7794 background-color: ${a("--global-header-navigator-indicator-active-color")}; 7795 } 7796`,rB=c` 7797 cursor: pointer; 7798`,iB=c` 7799 /** 7800 * use negative margin to make icon take up space same as previous 7801 */ 7802 margin: calc(${a("--spacing-xxs")} * -1); 7803 fill: ${a("--global-header-navigator-item-color")}; 7804 7805 margin-left: calc(${a("--spacing-xs")} - 4px); 7806 *[dir='rtl'] & { 7807 margin-right: calc(${a("--spacing-xs")} - 4px); 7808 } 7809`,sB=c` 7810 background-color: ${a("--global-header-menu-bg-color")}; 7811 border: ${a("--border-width-xs")} solid ${a("--global-header-menu-border-color")}; 7812 border-radius: ${a("--global-header-menu-border-radius")}; 7813 border-top: none; 7814 box-shadow: ${a("--global-header-menu-box-shadow")}; 7815 /* Trim box shadow from the top, otherwise it will overlap the main header bar */ 7816 clip-path: inset(0 -20px -20px -20px); 7817 left: 50%; 7818 max-width: calc(100vw - 2 * ${a("--spacing-m")}); 7819 opacity: 0; 7820 padding: ${a("--spacing-l")}; 7821 position: absolute; 7822 top: 100%; 7823
7824 /* Safari fix: with the translateZ fix from below, we need this because for some 7825 reason there is a tiny 1px gap between the menu and the navbar sometimes. 7826 We accomadate for this by adding 1px of padding so visually looks the same */ 7827 margin-top: -1px; 7828 padding-top: calc(${a("--spacing-l")} + 1px); 7829 7830 /* 7831 We NEED translateZ(0) otherwise the menu flickers for some reason on safari 7832 https://developer.apple.com/forums/thread/705172 7833 not official, but other people have used this workaround 7834 */ 7835 transform: translate(-50%, 0) translateZ(0); 7836 transition: opacity 0.2s linear, visibility 0.2s linear; 7837 visibility: hidden; 7838 width: 1080px; 7839`,lB=c` 7840 width: 1280px; 7841`,pB=c` 7842 position: relative; 7843 7844 > div.sdsm-nav-item-menu { 7845 transform: unset; 7846 left: unset; 7847 right: 0; 7848 } 7849`,cB=c` 7850 position: relative; 7851 7852 > div.sdsm-nav-item-menu { 7853 transform: unset; 7854 left: 0; 7855 } 7856`,dB=c` 7857 opacity: 1; 7858 visibility: visible; 7859`,uB=c` 7860 display: grid; 7861 gap: ${a("--spacing-l")}; 7862 grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); 7863`,jp=c` 7864 display: flex; 7865 flex-direction: column; 7866 height: 100%; 7867 position: relative; 7868`,Oy=c` 7869 &::before { 7870 background-color: ${a("--global-header-menu-col-divider-color")}; 7871 bottom: 0; 7872 content: ''; 7873 height: calc(100% - ${a("--spacing-m")}); 7874 left: calc(${a("--spacing-s")} * -1); 7875 position: absolute; 7876 width: 1px; 7877 7878 [dir='rtl'] & { 7879 left: auto; 7880 right: calc(${a("--spacing-s")} * -1); 7881 } 7882 } 7883`,Gy=c` 7884 && { 7885 color: ${a("--global-header-menu-col-label-color")}; 7886 font-size: ${a("--p3-desktop-font-size")}; 7887 font-weight: 500; 7888 letter-spacing: -0.01em; 7889 line-height: ${a("--p3-desktop-font-line-height")}; 7890 margin: ${a("--spacing-m")}; 7891 overflow: hidden; 7892 text-overflow: ellipsis; 7893 text-transform: uppercase; 7894 white-space: nowrap; 7895 } 7896`;var MX=e=>{let t=typeof window>"u"?void 0:window?.location;return z3(t)(e)},Yp=({url:e,onClick:t,isSelected:o,title:n,dataset:r,analytics:s,col1Label:l,col1Items:p=[],col2Label:d,col2Items:u=[],col3Label:y,col3Items:m=[],featuredItem:g})=>{q("sdsm-header");let{Anchor:f}=(0,zo.useContext)(He),{isUrlCurrent:b}=(0,zo.useContext)(et),[S,C]=(0,zo.useState)(o??!1),[I,k]=(0,zo.useState)(!1),[v,A]=(0,zo.useState)();(0,zo.useEffect)(()=>{if(o!==void 0){C(o);return}let X=[e,...p.map(W=>W.url),...u.map(W=>W.url),...m.map(W=>W.url),g?.url].some(W=>W?b?b(W):MX(W):!1);C(X)},[o,e,p,u,m,g?.url,b]);let w=(0,zo.useRef)(null),D=(0,zo.useRef)(null),M=I?"chevron-up":"chevron-down",_=(0,zo.useCallback)(()=>{if(typeof window>"u"||!w.current||!D.current)return;let E=window.innerWidth,X=w.current.offsetLeft,W=w.current.offsetWidth,ie=X+W,ee=D.current.offsetWidth,be=E/2-ee/2,Q=E/2+ee/2,le=E>ct&&ie>Q,De=E>ct&&X<be;A(le?re.Right:De?re.Left:re.Center)},[]);(0,zo.useEffect)(()=>{let E=di(_,500);return window.addEventListener("resize",E),()=>{window.removeEventListener("resize",E)}},[_]);let F=t||e?rB:null,$=h({selected:S}),B=i("span",{className:$,children:n}),V=E=>{E.stopPropagation(),E.key===" "&&E.preventDefault();let X=D.current?.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'),W=X?.[0],ie=X?.[X.length-1];v||_(),E.key==="Enter"||E.key===" "||E.key==="ArrowDown"?(k(!0),setTimeout(()=>W?.focus(),250)):E.key==="ArrowUp"&&(k(!0),setTimeout(()=>ie?.focus(),250))},L=E=>{if(E.key==="Tab"){let X=D.current?.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'),W=X?.[0],ie=X?.[X.length-1];E.shiftKey?E.target===W&&k(!1):E.target===ie&&k(!1)}},z=()=>{v||_(),k(!0)},K=()=>k(!1),ye=[p?.length,u?.length,m?.length,g].filter(E=>!!E).length,se=3-ye;if(!ye)return i(f,{href:e,className:h("sdsm-header",Yh,F),onClick:()=>t?.(e,s?.label),tabIndex:0,...te(r),children:B});let ne=p?.some(E=>!!E.description),oe=p?.some(E=>!!E.description),pe=p?.some(E=>!!E.description),ae=Vy({col1Label:l,col1Items:p,col2Label:d,col2Items:u,col3Label:y,col3Items:m}),j=p?.some(E=>E?.icon||E?.media),Y=u?.some(E=>E?.icon||E?.media),J=m?.some(E=>E?.icon||E?.media),U=(E,X)=>{k(!1),t?.(E,X)};return x("section",{ref:w,className:h({[pB]:v===re.Right,[cB]:v===re.Left},"sdsm-nav-item-desktop"),children:[x(f,{className:h(Yh,F),onMouseEnter:z,onMouseLeave:K,onKeyDown:V,tabIndex:0,...te(r),
7896children:[B,i(Te,{size:24,className:iB,name:M})]}),i("div",{ref:D,className:h(sB,{[dB]:I,[lB]:ye===4},"sdsm-nav-item-menu"),onMouseEnter:z,onMouseLeave:K,onKeyDown:L,role:"menu","aria-label":"Menu",children:x("div",{className:uB,children:[!!p?.length&&i("div",{children:x("div",{className:h(jp,{[Oy]:ae.includes(1)}),children:[!!l&&i("span",{className:Gy,children:l}),p?.map(({url:E,title:X,description:W,icon:ie,media:ee,analytics:be,dataset:Q},le)=>i(Kp,{url:E,title:X,description:W,icon:j?ie:void 0,media:j?ee:void 0,showSpacer:ne,onClick:()=>U(E,be?.label),dataset:I?Q:void 0,isUrlCurrent:b?.(E)},le))]})}),!!u?.length&&i("div",{children:x("div",{className:h(jp,{[Oy]:ae.includes(2)}),children:[!!d&&i("span",{className:Gy,children:d}),u?.map(({url:E,title:X,description:W,icon:ie,media:ee,analytics:be,dataset:Q},le)=>i(Kp,{url:E,title:X,description:W,icon:Y?ie:void 0,media:Y?ee:void 0,showSpacer:oe,onClick:()=>U(E,be?.label),dataset:I?Q:void 0,isUrlCurrent:b?.(E)},le))]})}),!!m?.length&&i("div",{children:x("div",{className:h(jp,{[Oy]:ae.includes(3)}),children:[!!y&&i("span",{className:Gy,children:y}),m?.map(({url:E,title:X,description:W,icon:ie,media:ee,analytics:be,dataset:Q},le)=>i(Kp,{url:E,title:X,description:W,icon:J?ie:void 0,media:J?ee:void 0,showSpacer:pe,onClick:()=>U(E,be?.label),dataset:I?Q:void 0,isUrlCurrent:b?.(E)},le))]})}),Array.from({length:se}).map((E,X)=>i("div",{},X)),!!g&&i("div",{children:i("div",{className:jp,children:i(Qp,{url:g.url,t
7896itle:g.title,description:g.description,icon:g.icon,media:g.media,ctaLabel:g.ctaLabel,onClick:()=>U(g.url,g.analytics?.label),analytics:g.analytics,dataset:I?g.dataset:void 0,isUrlCurrent:b?.(g.url)})})})]})})]})};Yp.displayName="NavigatorItemDesktop";var Xh=T(P());var yB=c` 7897 display: flex; 7898 flex-direction: column; 7899 gap: ${a("--spacing-s")}; 7900 padding: ${a("--spacing-m")} 0; 7901 padding-inline-start: ${a("--spacing-m")}; 7902`,zy=c` 7903 display: flex; 7904 flex-direction: column; 7905 gap: ${a("--spacing-s")}; 7906`,Uy=c` 7907 border-top: 1px solid ${a("--global-header-menu-col-divider-color")}; 7908 margin-top: ${a("--spacing-s")}; 7909 padding-top: ${a("--spacing-l")}; 7910`,mB=c` 7911 && { 7912 color: ${a("--global-header-menu-item-fg-color")}; 7913 font-size: ${a("--p2-desktop-font-size")}; 7914 font-weight: 400; 7915 line-height: ${a("--p2-desktop-font-line-height")}; 7916 7917 a { 7918 color: ${a("--global-header-menu-item-fg-color")}; 7919 } 7920 7921 a:hover { 7922 color: ${a("--global-header-menu-item-hover-color")}; 7923 } 7924 } 7925`,gB=c` 7926 && { 7927 a { 7928 color: ${a("--global-header-menu-item-active-color")}; 7929 } 7930 7931 a:hover { 7932 color: ${a("--global-header-menu-item-active-color")}; 7933 } 7934 } 7935`,Wy=c` 7936 && { 7937 color: ${a("--global-header-menu-col-label-color")}; 7938 font-size: ${a("--p3-desktop-font-size")}; 7939 font-weight: 500; 7940 letter-spacing: -0.01em; 7941 line-height: ${a("--p3-desktop-font-line-height")}; 7942 overflow: hidden; 7943 text-overflow: ellipsis; 7944 text-transform: uppercase; 7945 white-space: nowrap; 7946 } 7947`,fB=c` 7948 margin-top: ${a("--spacing-s")}; 7949 margin-inline-start: calc(${a("--spacing-m")} * -1); 7950 7951 :first-child { 7952 margin-top: 0; 7953 } 7954`;var Xp=({col1Label:e,col1Items:t=[],col2Label:o,col2Items:n=[],col3Label:r,col3Items:s=[],featuredItem:l,onClick:p,className:d})=>{q("sdsm-header");let{Anchor:u}=(0,Xh.useContext)(He),{isUrlCurrent:y}=(0,Xh.useContext)(et),m=Vy({col1Label:e,col1Items:t,col2Label:o,col2Items:n,col3Label:r,col3Items:s}),g=({url:f,title:b,analytics:S,dataset:C,isUrlCurrent:I})=>i("div",{className:h(mB,{[gB]:I}),...te(C),children:i(u,{className:"sdsm-nav-link",href:f,onClick:()=>p?.(f,S?.label),children:b})});return x("div",{className:h(yB,"sdsm-nav-item-mobile",d),children:[!!t?.length&&x("div",{className:h(zy,{[Uy]:m.includes(1)}),children:[!!e&&i("div",{className:Wy,children:e}),t?.map(({url:f,title:b,analytics:S,dataset:C},I)=>i(g,{url:f,title:b,analytics:S,dataset:C,isUrlCurrent:y?.(f)},I))]}),!!n?.length&&x("div",{className:h(zy,{[Uy]:m.includes(2)}),children:[!!o&&i("div",{className:Wy,children:o}),n?.map(({url:f,title:b,analytics:S,dataset:C},I)=>i(g,{url:f,title:b,analytics:S,dataset:C,isUrlCurrent:y?.(f)},I))]}),!!s?.length&&x("div",{className:h(zy,{[Uy]:m.includes(3)}),children:[!!r&&i("div",{className:Wy,children:r}),s?.map(({url:f,title:b,analytics:S,dataset:C},I)=>i(g,{url:f,title:b,analytics:S,dataset:C,isUrlCurrent:y?.(f)},I))]}),!!l&&i("div",{className:fB,children:i(Qp,{url:l.url,title:l.title,description:l.description,icon:l.icon,media:l.media,ctaLabel:l.ctaLabel,onClick:()=>p?.(l.url,l.analytics?.label),dataset:l.dataset,isUrlCurrent:y?.(l.url)})})]})};Xp.displayName="NavigatorItemMobile";var Qs=T(P());var TX=c` 7955 scroll-snap-align: center; 7956`,bB=({children:e})=>{(0,Qs.useEffect)(()=>{if(typeof window>"u")return;let o=document.getElementsByTagName("html")[0],n=document.body;return o.style.scrollSnapType="y proximity",n.style.scrollSnapType="y proximity",()=>{o.style.scrollSnapType="none",n.style.scrollSnapType="none"}},[]);let t=Qs.Children.toArray(e);return i(ue,{children:e&&t.map((o,n)=>{let r=o,s=n===t.length-1;return(0,Qs.cloneElement)(r,{className:h({[TX]:!s},r.className)})})})};var Jh=({motifScheme:e,backgroundColor:t,backgroundImageSources:o,backgroundMediaStyle:n=Gd.Normal,backgroundPosterSource:r,backgroundVideoSource:s,children:l,className:p,mobileBackgroundVideoSource:d,scrollSnap:u,gutterMatchesPageBackground:y})=>{q("sdsm-page");let m=h(U1,e??Ne(t),W1,p,o||s?q1:Q1),g=y?{"--gutter-color":a("--bg-color")}:void 0;return i("div",{"data-testid":"sdsm-page",className:h(z1,"sdsm-page"),children:x("div",{className:m,style:g,children:[o&&i(Ye,{imgSrcs:o,imgClassName:n===Gd.Fixed?gS:mS,fetchPriority:"auto"}),s?i(fi,{className:n===Gd.Fixed?gS:mS,source:s,mobileSource:d,posterSource:r,isBackgroun
7956dVideo:!0}):void 0,u?i(bB,{children:l}):l]})})};Jh.displayName="Page";var MB=T(P());var SB=c` 7957 align-items: center; 7958 display: flex; 7959 height: 44px; 7960 justify-content: center; 7961 list-style: none; 7962 margin: 0; 7963 padding: ${a("--spacing-l")} 0; 7964 7965 ${H} { 7966 padding-block-start: ${a("--spacing-xxxl")}; 7967 } 7968 7969 li { 7970 display: flex; 7971 justify-content: center; 7972 position: relative; 7973 } 7974`,hB=c` 7975 background-color: transparent; 7976 border: 0; 7977 user-select: none; 7978 color: ${a("--pagination-item-color")}; 7979 cursor: pointer; 7980 font: inherit; 7981 font-size: 16px; 7982 height: 44px; 7983 letter-spacing: 0.01em; 7984 padding: 0; 7985 width: 44px; 7986 7987 ${Mt} { 7988 min-width: 40px; 7989 padding-inline: ${a("--spacing-xxs")}; 7990 width: auto; 7991 } 7992`,CB=c` 7993 ::after { 7994 border-radius: ${a("--spacing-xxs")} ${a("--spacing-xxs")} 0 0; 7995 bottom: 0; 7996 content: ' '; 7997 height: ${a("--spacing-xxs")}; 7998 position: absolute; 7999 width: ${a("--spacing-l")}; 8000 } 8001 8002 ${H} { 8003 &:hover::after { 8004 background-color: ${a("--pagination-indicator-hover-color")}; 8005 } 8006 } 8007`,xB=c` 8008 button { 8009 color: ${a("--pagination-item-active-color")}; 8010 font-weight: 500; 8011 } 8012 8013 ::after, 8014 &:hover::after { 8015 background-color: ${a("--pagination-indicator-active-color")}; 8016 } 8017`,Zh=c` 8018 *[dir='rtl'] & { 8019 transform: rotate(180deg); 8020 } 8021`,vB=c` 8022 margin-inline-end: ${a("--spacing-xxs")}; 8023 8024 ${H} { 8025 margin-inline-end: ${a("--spacing-l")}; 8026 } 8027`,IB=c` 8028 margin-inline-start: ${a("--spacing-xxs")}; 8029 8030 ${H} { 8031 margin-inline-start: ${a("--spacing-l")}; 8032 } 8033`;var Qy=({ariaLabel:e,children:t,disabled:o,handlePageChange:n,isActive:r,type:s})=>s==="previous"?i("li",{children:i(wo,{size:"small",iconName:"chevron-left","aria-label":e,className:h(Zh,vB),disabled:o,onClick:n,tabIndex:o?-1:0,"data-testid":"pagination-item-previous"})}):s==="next"?i("li",{children:i(wo,{size:"small",iconName:"chevron-right","aria-label":e,className:h(Zh,IB),disabled:o,onClick:n,tabIndex:o?-1:0,"data-testid":"pagination-item-next"})}):i("li",{className:h(CB,{[xB]:r}),children:i("button",{"aria-label":e,"aria-current":r,className:hB,disabled:o,onClick:n,tabIndex:0,type:"button",children:t?.toLocaleString()})});var eC=(e,t)=>{let o=t-e+1;return Array.from({length:o},(n,r)=>e+r)},kB=(e,t)=>{let r=Math.max(Math.min(t-0,e-1-0-1),3),s=Math.min(Math.max(t+0,3),e-1-1),l=r>3,p=s<e-1-1,d=2<e-1?2:[],u=e-1>1?e-1:[],y=eC(2,r-1),m=eC(s+1,e-1);return[1,l?y:d,...eC(r,s),p?m:u,e]};var wi=({ariaLabel:e,className:t,totalPages:o,currentPage:n,onChange:r})=>{q("sdsm-pagination");let{formatMessage:s}=(0,MB.useContext)(We),l=s({id:"pagination-go-to-previous-page",defaultMessage:"Go to previous page"}),p=s({id:"pagination-go-to-next-page",defaultMessage:"Go to next page"}),d=m=>s({id:"pagination-go-to-page",defaultMessage:"Go to page {page}"},{page:m});if(!o||!n||o===1)return null;let u=m=>()=>{m>=1&&m<=o&&m!==n&&r(m)},y=kB(o,n);return i("nav",{"aria-label":e,className:h("sdsm-pagination",t),children:x("ul",{className:SB,children:[i(Qy,{disabled:n===1,handlePageChange:u(n-1),type:"previous",ariaLabel:l}),y.map((m,g)=>Array.isArray(m)?m.length?i("li",{children:i("span",{children:"..."})},g):null:i(Qy,{ariaLabel:m===n?`${m}`:`${d(String(m))}`,handlePageChange:u(m),isActive:m===n,disabled:m===n,children:m},g)),i(Qy,{disabled:n===o,handlePageChange:u(n+1),type:"next",ariaLabel:p})]})})};wi.displayName="Pagination";var tC=c` 8034 font-size: 40px; 8035 line-height: 40px; 8036 margin-bottom: -20px; 8037 margin-top: -8px; 8038`,TB=c` 8039 margin-inline-start: -16px; 8040 text-align: start; 8041`,AB=c` 8042 margin-inline-end: -20px; 8043 text-align: end; 8044`,_B=c` 8045 padding: ${a("--spacing-xl")}; 8046 border-radius: ${a("--border-radius-l")}; 8047 8048 background-color: ${a("--quote-bg-color")}; 8049 color: ${a("--quote-fg-color")}; 8050`,wB=c` 8051 text-align: end; 8052 margin-top: ${a("--spacing-s")}; 8053 8054 ${H} { 8055 font-size: ${a("--quote-author-desktop-font-size")}; 8056 font-weight: ${a("--quote-author-desktop-font-weight")}; 8057 } 8058 8059 ${N} { 8060 font-size: ${a("--quote-author-mobile-font-size")}; 8061 font-weight: ${a("--quote-author-mobile-font-weight")}; 8062 } 8063`;var oC=({author:e,children:t})=>(q("sdsm-quote"),x("div",{className:h("sdsm-quote",_B),children:[i("aside",{className:h(TB,tC),children:"\u201C"}),t,i("aside",{className:h(AB,tC),children:"\u201D"}),e&&x("div",{className:wB,children:["\u2014 ",e]})]}));oC.displayName="Quote";var uwe=c` 8064 font-size: 40px; 8065 line-height: 40px; 8066 margin-bottom: -20px; 8067 margin-top: -8px; 8068 text-align: start; 8069`,ywe=c`
8070 margin-inline-start: -16px; 8071 text-align: start; 8072`,mwe=c` 8073 margin-inline-end: -20px; 8074 text-align: end; 8075`,DB=c` 8076 padding: ${a("--quote-card-desktop-padding")}; 8077 border-radius: ${a("--quote-border-radius")}; 8078 8079 background-color: ${a("--quote-bg-color")}; 8080 color: ${a("--quote-fg-color")}; 8081 box-shadow: ${a("--quote-box-shadow")}; 8082 font-family: ${a("--h5-font-family")}; 8083 line-height: 120%; 8084 8085 *[dir='rtl'] & { 8086 direction: rtl; 8087 } 8088 8089 ${H} { 8090 width: 70%; 8091 max-width: 700px; 8092 font-size: ${a("--h5-desktop-font-size")}; 8093 font-weight: ${a("--h5-desktop-font-weight")}; 8094 } 8095 8096 ${N} { 8097 width: 100%; 8098 padding: ${a("--quote-card-mobile-padding")}; 8099 font-size: ${a("--h5-mobile-font-size")}; 8100 font-weight: ${a("--h5-mobile-font-weight")}; 8101 } 8102`,PB=c` 8103 ${H} { 8104 width: 100%; 8105 } 8106`,NB=c` 8107 font-family: ${a("--font-family")}; 8108 color: ${a("--action-text-active-color")}; 8109 font-size: ${a("--quote-icon-desktop-font-size")}; 8110 line-height: ${a("--quote-icon-desktop-line-height")}; 8111 margin-bottom: ${a("--quote-icon-desktop-margin-bottom")}; 8112 8113 ${N} { 8114 font-size: ${a("--quote-icon-mobile-font-size")}; 8115 line-height: ${a("--quote-icon-mobile-line-height")}; 8116 margin-bottom: ${a("--quote-icon-mobile-margin-bottom")}; 8117 } 8118`,EB=c` 8119 display: block; 8120 clear: both; 8121`,RB=c` 8122 display: block; 8123 clear: both; 8124 font-family: ${a("--font-family")}; 8125 line-height: 120%; 8126 8127 ${H} { 8128 font-size: ${a("--p1-desktop-font-size")}; 8129 font-weight: ${a("--p1-desktop-font-weight")}; 8130 } 8131 8132 ${N} { 8133 font-size: ${a("--p1-mobile-font-size")}; 8134 font-weight: ${a("--p1-mobile-font-weight")}; 8135 } 8136`,nC=c` 8137 display: flex; 8138 justify-content: flex-end; 8139 width: 100%; 8140 max-height: 98px; 8141 margin-bottom: ${a("--spacing-l")}; 8142 margin-top: ${a("--spacing-l")}; 8143 8144 /* Override default button padding for logo alignment */ 8145 button { 8146 padding: 0; 8147 } 8148`,FB=c` 8149 display: flex; 8150 justify-content: flex-start; 8151 8152 ${N} { 8153 justify-content: center; 8154 } 8155`,aC=c` 8156 a { 8157 color: inherit; 8158 text-decoration: none; 8159 8160 &:hover { 8161 text-decoration: underline; 8162 } 8163 } 8164 8165 text-align: ${a("--quote-author-text-align")}; 8166 8167 ${H} { 8168 font-size: ${a("--quote-author-desktop-font-size")}; 8169 font-weight: ${a("--quote-author-desktop-font-weight")}; 8170 } 8171 8172 ${N} { 8173 font-size: ${a("--quote-author-mobile-font-size")}; 8174 font-weight: ${a("--quote-author-mobile-font-weight")}; 8175 } 8176`,BB=c` 8177 ${aC} 8178 margin-top: ${a("--spacing-l")}; 8179`,$B=c` 8180 ${nC} 8181`,LB=c` 8182 ${H} { 8183 flex-direction: row; 8184 gap: ${a("--quote-desktop-gap")}; 8185 } 8186 8187 ${N} { 8188 flex-direction: column; 8189 gap: ${a("--quote-mobile-gap")}; 8190 } 8191 8192 display: flex; 8193 align-items: center; 8194 justify-content: center; 8195 width: 100%; 8196 /* Force LTR for component layout, but text inside will still respect RTL */ 8197 direction: ltr; 8198`,HB=c` 8199 /* Figma doesn't support angle-unit tokens like "deg", so we multiply a number-type token by -1deg to get the correct rotate angle in css. */ 8200 transform: rotate(calc(${a("--quote-media-rotate")} * -1deg)) 8201 translateX(${a("--quote-media-desktop-translate-x")}); 8202 border-radius: ${a("--quote-media-border-radius")}; 8203 overflow: hidden; 8204 box-shadow: ${a("--quote-box-shadow")}; 8205 8206 ${H} { 8207 width: 30%; 8208 height: 100%; 8209 min-width: 280px; 8210 max-width: 320px; 8211 } 8212 8213 ${N} { 8214 width: 90%; 8215 max-width: 360px; 8216 transform: rotate(calc(${a("--quote-media-rotate")} * -1deg)) 8217 translateY(${a("--quote-media-mobile-translate-y")}); 8218 } 8219`,VB=c` 8220 display: block; 8221 height: 100%; 8222 object-fit: cover; 8223 object-position: center; 8224 width: 100%; 8225`,OB=c` 8226 height: 100%; 8227 object-fit: cover; 8228 object-position: center; 8229 width: 100%; 8230`;var rC=({author:e,children:t,logoImageSrc:o,isRtl:n=!1,isLongQuote:r=!1,imgSrcs:s,videoSrc:l,mobileVideoSrc:p})=>{q("sdsm-quote");let d=o?aC:BB,u=r?RB:EB,y=n?"\u201D":"\u201C",m=h(l?OB:VB),g=!!(s||l)&&!r;return x("div",{className:h("sdsm-quote-container",LB),children:[g&&i("div",{className:HB,children:i(Ke,{showVideoControls:!1,videoSource:l,mobileVideoSource:p,imgSrcs:s,className:m,isDraggable:!1})}),x("div",{className:h("sdsm-quote",DB,{[PB]:!g}),children:[i("div",{className:FB,children:x("div",{className:NB,children:[" ",y]})}),i("div",{className:u,children:t}),o&&i("div",{className:e?nC:$B,children:i(Us,{width:98,imgSrcs:o,altText:"Quote background"})}),e&&i("div",{className:d,children:e})]})]})};rC.displayName="QuoteV2";var Wr=T(P());var qB=T(P());var GB=c` 8231 display: flex; 8232 flex-direction: column; 8233 gap: ${a("--spacing-xs")}; 8234`,iC=c`
8235 cursor: not-allowed; 8236 opacity: 0.8; 8237`,zB=c` 8238 align-items: center; 8239 display: flex; 8240 gap: ${a("--spacing-s")}; 8241 8242 label { 8243 align-items: center; 8244 display: flex; 8245 justify-content: center; 8246 margin-top: 0; 8247 8248 a { 8249 &, 8250 &:hover, 8251 &:visited { 8252 color: ${a("--fg-color")}; 8253 } 8254 } 8255 } 8256`,UB=c` 8257 align-items: center; 8258 appearance: none; 8259 background-color: ${a("--form-input-bg-color")}; 8260 border-color: ${a("--form-input-border-color")}; 8261 border-radius: 50%; 8262 border-style: solid; 8263 border-width: ${a("--form-input-selection-control-border-width")}; 8264 display: flex; 8265 height: 20px; 8266 justify-content: center; 8267 margin: 0; 8268 padding: 0; 8269 width: 20px; 8270 8271 &:checked { 8272 border-color: ${a("--form-input-active-border-color")}; 8273 box-shadow: ${a("--form-input-active-box-shadow")}; 8274 } 8275 8276 &:checked::before { 8277 background-color: ${a("--form-input-active-border-color")}; 8278 border-radius: 50%; 8279 content: ''; 8280 display: block; 8281 height: 10px; 8282 margin: 3px; 8283 width: 10px; 8284 } 8285 8286 &:focus-visible { 8287 outline-color: ${a("--form-input-active-border-color")}; 8288 outline-style: solid; 8289 outline-width: ${a("--form-input-selection-control-border-width")}; 8290 outline-offset: -2px; 8291 } 8292 8293 &:not(:checked):hover { 8294 border-color: ${a("--form-input-hover-border-color")}; 8295 box-shadow: ${a("--form-input-hover-box-shadow")}; 8296 } 8297 8298 &[required]:not(:checked)::before { 8299 border-color: ${a("--form-input-error-color")}; 8300 } 8301 8302 &[readonly] { 8303 ${iC} 8304 } 8305 8306 &[readonly]:hover { 8307 border-color: ${a("--form-input-border-color")}; 8308 box-shadow: none; 8309 } 8310 8311 &[readonly]:checked { 8312 border-color: ${a("--form-input-active-border-color")}; 8313 box-shadow: none; 8314 } 8315`,WB=c` 8316 margin-top: 0 !important; 8317`,QB=c` 8318 border-color: ${a("--form-input-error-color")}; 8319 border-style: solid; 8320 border-width: ${a("--form-input-selection-control-border-width")}; 8321 8322 &:hover { 8323 border-color: ${a("--form-input-error-color")}; 8324 border-style: solid; 8325 border-width: ${a("--form-input-selection-control-border-width")}; 8326 } 8327`;var KB=e=>{let{id:t,handleChange:o,handleInvalid:n,hasError:r=!1,label:s,name:l,readOnly:p,value:d,...u}=e,{state:y}=(0,qB.useContext)(yo),m=Sa(y.formBody[l]),g=Sa(d);return x("div",{className:zB,children:[i("input",{type:"radio",name:l,id:t,value:g,checked:m===g,className:h(UB,{[QB]:r}),disabled:p,onChange:o,onBlur:o,onInvalid:n,readOnly:p,...u}),i("label",{htmlFor:t,className:h(WB,{[iC]:p}),children:s})]})};var jB=(0,Wr.memo)(e=>{let{error:t,helpText:o,initialValue:n,label:r,name:s,options:l=[],required:p=!1,shouldResetToInitial:d=!1}=e,{state:u,dispatch:y}=(0,Wr.useContext)(yo);(0,Wr.useEffect)(()=>{y({type:"registerField",name:s,field:{required:p,initialValue:n,shouldResetToInitial:d}})},[y,n,s,p,d]);let m=u.fields[s],g=b=>{y({type:"changeFieldValue",name:s,value:b.target.value})},f=(0,Wr.useCallback)(()=>{y({type:"invalidateField",name:s})},[y,s]);return l.length===0?null:i(Vr,{type:"Radio",name:s,label:r,required:p,helpText:o,error:t,hasError:m?.hasError,children:i("div",{className:GB,children:l.map(({key:b,value:S})=>i(KB,{id:b,name:s,value:S??b,label:S??b,required:p,hasError:m?.hasError,handleChange:g,handleInvalid:f},b))})})});var YB=c` 8328 position: relative; 8329 display: flex; 8330 justify-content: center; 8331`,XB=c` 8332 position: sticky; 8333 top: 0; 8334 height: 100vh; 8335 width: 100%; 8336`;var JB=({className:e,containerRef:t,innerContainerClassName:o,children:n,dataset:r,style:s,anchorId:l})=>i("section",{ref:t,id:l,className:h(YB,e),style:{...s},...te(r),children:i("div",{className:h(XB,o),children:n})});var qs=T(P());var ZB=({calculateScrollProgress:e,className:t,videoMp4Src:o,videoWebmSrc:n,videoStart:r=0,videoEnd:s,scrubStart:l=0,scrubEnd:p=100,style:d,dataset:u})=>{let y=(0,qs.useRef)(null),b=(0,qs.useContext)(Ze).getLowEntropyHints().browsers.some(S=>S.brand==="Firefox")?n:o;return(0,qs.useEffect)(()=>{y.current&&(y.current.currentTime=r||0);let S=()=>
8336{if(y.current){let C=e(),I=(p-l)/100,k=(C-l/100)*(1/I);if(k>0&&k<=1){let A=(s?Math.min(s,y.current.duration):y.current.duration)-r,w=r+A*k;y.current.currentTime=Number.parseFloat(w.toFixed(3))}}};return window.addEventListener("scroll",S),window.addEventListener("resize",S),()=>{window.removeEventListener("scroll",S),window.removeEventListener("resize",S)}},[e,p,l,s,r]),i("video",{ref:y,src:b,className:t,style:d,...te(u)})};var qy=T(P());var e4=340,AX=640,t4=c` 8337 /* Extra clearance beyond 100% so the panel clears the page container edge. */ 8338 --directional-overlay-lateral-outset: calc(2 * ${a("--spacing-l")}); 8339 8340 background-color: ${a("--side-overlay-bg-color")}; 8341 border: ${a("--border-width-xs")} solid ${a("--side-overlay-border-color")}; 8342 box-shadow: 0 12px 20px 0 #0000001f; 8343 display: flex; 8344 flex-direction: column; 8345 overflow: hidden; 8346 z-index: ${Pe.SIDE_OVERLAY}; 8347 8348 ${H} { 8349 border-radius: ${a("--side-overlay-desktop-border-radius")}; 8350 height: calc(100vh - var(--total-header-height, 0px) - (2 * ${a("--spacing-l")})); 8351 max-width: ${e4}px; 8352 top: calc(var(--total-header-height, 0px) + ${a("--spacing-l")}); 8353 width: ${e4}px; 8354 } 8355 8356 ${N} { 8357 border-radius: ${a("--side-overlay-mobile-border-radius")}; 8358 bottom: 0; 8359 height: auto; 8360 left: 0; 8361 margin-left: auto; 8362 margin-right: auto; 8363 max-height: calc(100vh - var(--total-header-height, 0px) - ${a("--spacing-m")}); 8364 max-width: ${AX}px; 8365 right: 0; 8366 width: calc(100vw - (2 * ${a("--spacing-m")})); 8367 8368 *[dir='rtl'] & { 8369 left: 0; 8370 right: 0; 8371 } 8372 } 8373`,o4=c` 8374 ${H} { 8375 /* 8376 * 50% --> move to center of the viewport (from the right) 8377 * 50cqw --> move back by half of the page container width to reach its right edge 8378 * var(--spacing-l) --> adjust to move away from the container edge 8379 */ 8380 && { 8381 right: calc(50% - 50cqw + ${a("--spacing-l")}); 8382 } 8383 8384 *[dir='rtl'] & { 8385 left: calc(50% - 50cqw + ${a("--spacing-l")}); 8386 right: auto; 8387 } 8388 8389 /* RTL: negate the direction-class transform so the panel slides from the left. */ 8390 *[dir='rtl'] &:not(.${wp}) { 8391 transform: translateX(calc(-100% - var(--directional-overlay-lateral-outset, 0px))); 8392 } 8393 } 8394`,n4=c` 8395 ${H} { 8396 && { 8397 left: calc(50% - 50cqw + ${a("--spacing-l")}); 8398 right: auto; 8399 } 8400 8401 *[dir='rtl'] & { 8402 left: auto; 8403 right: calc(50% - 50cqw + ${a("--spacing-l")}); 8404 } 8405 8406 /* RTL: negate the direction-class transform so the panel slides from the right. */ 8407 *[dir='rtl'] &:not(.${wp}) { 8408 transform: translateX(calc(100% + var(--directional-overlay-lateral-outset, 0px))); 8409 } 8410 } 8411`,a4=c` 8412 ${H} { 8413 /* 8414 * 50% --> move to center of the viewport (from the right) 8415 * 50cqw --> move back by half of the page container width to reach its right edge 8416 * desktopSideNavWidthPx / 2 --> move back by half of the side navigation width 8417 * var(--spacing-l) --> adjust to move away from the container edge 8418 */ 8419 && { 8420 right: calc(50% - 50cqw - ${Do/2}px + ${a("--spacing-l")}); 8421 } 8422 8423 *[dir='rtl'] & { 8424 left: calc(50% - 50cqw - ${Do/2}px + ${a("--spacing-l")}); 8425 right: auto; 8426 } 8427 } 8428`,r4=c` 8429 ${H} { 8430 && { 8431 left: calc(50% - 50cqw - ${Do/2}px + ${a("--spacing-l")}); 8432 right: auto; 8433 } 8434 8435 *[dir='rtl'] & { 8436 left: auto; 8437 right: calc(50% - 50cqw - ${Do/2}px + ${a("--spacing-l")}); 8438 } 8439 } 8440`,i4=c` 8441 display: flex; 8442 font-size: ${a("--h6-desktop-font-size")}; 8443 font-weight: ${a("--h6-desktop-font-weight")}; 8444 justify-content: end; 8445 line-height: ${a("--h6-desktop-font-line-height")}; 8446 padding: ${a("--spacing-m")}; 8447`,s4=c` 8448 background: transparent; 8449 border: none; 8450 cursor: pointer; 8451 margin: calc(${a("--spacing-m")} * -1); 8452 padding: ${a("--spacing-m")}; 8453`,l4=c` 8454 height: 100%; 8455 margin: 0; 8456 overflow-y: auto; 8457 padding: ${a("--spacing-xs")} ${a("--spacing-l")} ${a("--spacing-l")} ${a("--spacing-l")}; 8458 8459 ${N} { 8460 padding-bottom: ${a("--spacing-xxxxl")}; 8461 } 8462`,p4=c` 8463 color: ${a("--side-overlay-fg-color")}; 8464 font-size: ${a("--h6-desktop-font-size")}; 8465 font-weight: ${a("--h6-desktop-font-weight")}; 8466 line-height: ${a("--h6-desktop-font-line-height")}; 8467 margin: 0 0 ${a("--spacing-s")} 0; 8468 padding: 0; 8469`,c4=c` 8470 color: ${a("--side-overlay-fg-color")}; 8471 font-size: ${a("--p2-desktop-font-size")}; 8472 font-weight: ${a("--p2-desktop-font-weight")}; 8473 line-height: ${a("--p2-desktop-font-line-height")}; 8474 margin: 0; 8475 padding: 0; 8476`,d4=c` 8477 ${H} { 8478 display: none; 8479 } 8480`;var _X=24,wX=100,sC=({isOpen:e,title:t,body:o,onClose:n,className:r,hasSideNav:s,style:l,dataset:p,"data-testid":d,direction:u="right"})=>{q("sdsm-side-overlay");let y=(0,qy.useRef)(null);(0,qy.useEffect)(()=>{e&&setTimeout(()=>{y?.current?.focus()},250)},[e]);let m=f=>{n?.(f)},g=u==="left";return x(GS,{backdropClassName:d4,showBackdrop:!0,className:h("sdsm-side-overlay",t4,g?n4:o4,{[a4]:s&&!g,[r4]:s&&g},r),dataset:p,"data-testid":d,desktopDirection:u,desktopSizePercent:_X,isOpen:e,mobileDirection:"bottom",mobileSizePercent:wX,onBackdropClick:m,style:l,children:[i("div",{className:i4,children:i("button",{className:s4,type:"button",ref:y,onClick:n,onKeyDown:n,"aria-label":"Close",children:i(Te,{name:"cross",size:24,fill:a("--side-overlay-fg-color")})})}),x("dl",{className:l4,children:[i("dt",{className:p4,children:t}),i("dd",{className:c4,children:o})]})]})};sC.displayName="SideOverlay";var Ks=T(P());var u4=c` 8481 width: 100%; 8482 min-width: 300px; 8483 max-width: 416px; 8484 margin: 0 auto; 8485 8486 > iframe { 8487 aspect-ratio: 3 / 5; 8488 width: 100%; 8489 height: 100%; 8490 } 8491`,y4=c` 8492 background: #c4c4c4; 8493 border: 0; 8494 border-radius: 40px; 8495 box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 10px 0 rgba(0, 0, 0, 0.15); 8496 margin: 1px; 8497 min-width: 300px; 8498 max-width: 416px; 8499 padding: 0; 8500 width: 99.375%; 8501 display: flex; 8502 flex-direction: column; 8503 position: relative; 8504 height: 650px; 8505`,m4=c` 8506 display: flex; 8507 flex-direction: row; 8508 align-items: center; 8509`,g4=c` 8510 background-color: #f4f4f4; 8511 border-radius: 50%; 8512 flex-grow: 0; 8513 height: 40px; 8514 margin: 16px 14px 16px 16px; 8515 width: 40px; 8516 cursor: pointer; 8517`,f4=c` 8518 display: flex; 8519 flex-direction: column; 8520 flex-grow: 1; 8521 justify-content: center; 8522`,b4=c` 8523 flex: 1; 8524`,S4=c` 8525 display: flex; 8526 flex-direction: row; 8527 align-items: center; 8528 border-end-end-radius: 40px; 8529 border-end-start-radius: 40px; 8530`,h4=c` 8531 background-color: yellow; 8532 width: 100%; 8533 padding: 10px 20px; 8534 border: none; 8535 border-radius: inherit; 8536 cursor: pointer; 8537 text-align: center; 8538 display: flex; 8539 flex-direction: row; 8540 justify-content: center; 8541 text-decoration: none; 8542 color: black; 8543 align-items: center; 8544`,C4=c` 8545 margin-left: 4px; 8546 padding-bottom: 1px; 8547 font-size: 14px; 8548`;var js=e=>{let{url:t,dataset:o,className:n}=e,r=(0,Ks.useRef)(null);q("sdsm-snapchat-embed");let{Anchor:s}=(0,Ks.useContext)(He);(0,Ks.useEffect)(()=>{ta("snapchat-embed","https://www.snapchat.com/embed.js",()=>{let d=new Event("loadEmbed",{bubbles:!0});r.current?.dispatchEvent(d)})},[t]);let l=new URL(t),p=`${l.origin}${l.pathname}`.replace(/\/$/,"");return i("div",{className:h("sdsm-snapchat-embed",u4,n),ref:r,...te(o),children:x("blockquote",{className:h(y4,"snapchat-embed"),"data-snapchat-embed-width":"416","data-snapchat-embed-height":"692","data-snapchat-embed-url":`${p}/embed`,"data-snapchat-embed-style":"border-radius: 40px;",children:[x("div",{className:m4,children:[i(s,{href:p,className:g4}),i("div",{className:f4})]}),i("div",{className:b4}),i("div",{className:S4,children:i(s,{href:p,className:h4,children:i("div",{className:C4,children:"View more on Snapchat"})})})]})})};var R4=T(P());var DX=400,x4=375,v4=592,PX=440,I4=c` 8549 align-items: stretch; 8550 background-color: ${a("--bg-color")}; 8551 display: flex; 8552 gap: 0; 8553 justify-content: center; 8554 min-height: ${DX}px; 8555 width: 100%; 8556 8557 ${N} { 8558 flex-direction: column; 8559 height: 100%; 8560 } 8561 8562 /* 8563 We are keeping the media queries above in addition to the container queries below in case: 8564 - this component is ever rendered without a wrapping SDS-M Page component 8565 - the browser does not support container queries (smart TVs, etc.) 8566 */ 8567 ${co} { 8568 flex-direction: column; 8569 height: 100%; 8570 } 8571`,k4=c` 8572 height: calc(100vh - ${64}
8572px); 8573`,lC=c` 8574 flex-direction: row-reverse; 8575`,M4=c` 8576 display: flex; 8577 flex-shrink: 0; 8578 justify-content: flex-end; 8579 padding: ${a("--spacing-xxxxl")}; 8580 width: 50%; 8581 8582 ${To} { 8583 width: 60%; 8584 } 8585 8586 ${N} { 8587 padding: 0; 8588 width: 100%; 8589 } 8590 8591 /* 8592 We are keeping the media queries above in addition to the container queries below in case: 8593 - this component is ever rendered without a wrapping SDS-M Page component 8594 - the browser does not support container queries (smart TVs, etc.) 8595 */ 8596 ${os} { 8597 width: 60%; 8598 } 8599 8600 ${co} { 8601 padding: 0; 8602 width: 100%; 8603 } 8604`,T4=c` 8605 color: ${a("--fg-color")}; 8606 display: flex; 8607 flex-direction: column; 8608 gap: ${a("--spacing-m")}; 8609 padding: ${a("--spacing-xl")}; 8610 width: 100%; 8611 8612 ${H} { 8613 max-width: ${v4}px; 8614 } 8615 8616 /* 8617 We are keeping the media queries above in addition to the container queries below in case: 8618 - this component is ever rendered without a wrapping SDS-M Page component 8619 - the browser does not support container queries (smart TVs, etc.) 8620 */ 8621 ${co} { 8622 max-width: unset; 8623 } 8624 8625 ${ci} { 8626 max-width: ${v4}px; 8627 } 8628`,A4=c` 8629 ${Zk} 8630 word-break: break-word; 8631`,_4=c` 8632 ${uo} 8633 word-break: break-word; 8634`,w4=c` 8635 ${Tt} 8636 margin-bottom: 0; 8637 word-break: break-word; 8638 8639 & .${$n.p}:last-child { 8640 margin-bottom: 0; 8641 } 8642`,D4=c` 8643 align-items: center; 8644 display: flex; 8645 flex-wrap: wrap; 8646 gap: ${a("--spacing-m")}; 8647 margin-top: ${a("--spacing-m")}; 8648`,P4=c` 8649 background: ${a("--split-block-media-caption-bg-color")}; 8650 border-radius: ${a("--border-radius-s")}; 8651 bottom: ${a("--spacing-m")}; 8652 color: ${oa}; 8653 max-width: ${PX}px; 8654 padding: ${a("--spacing-xxs")} ${a("--spacing-xs")}; 8655 position: absolute; 8656 z-index: 2; 8657 ${qt} 8658 8659 ${N} { 8660 margin-inline: ${a("--spacing-xl")}; 8661 max-width: 100%; 8662 } 8663 8664 /* 8665 We are keeping the media queries above in addition to the container queries below in case: 8666 - this component is ever rendered without a wrapping SDS-M Page component 8667 - the browser does not support container queries (smart TVs, etc.) 8668 */ 8669 ${co} { 8670 margin-inline: ${a("--spacing-xl")}; 8671 max-width: 100%; 8672 } 8673`,N4=c` 8674 &::before { 8675 /* Fallback for browsers without color-mix */ 8676 background: linear-gradient( 8677 180deg, 8678 transparent 26.62%, 8679 ${a("--split-block-media-caption-gradient-color")} 100% 8680 ); 8681 background: linear-gradient( 8682 180deg, 8683 color-mix(in srgb, ${a("--split-block-media-caption-gradient-color")} 0%, transparent) 26.62%, 8684 color-mix(in srgb, ${a("--split-block-media-caption-gradient-color")} 36%, transparent) 56.58%, 8685 color-mix(in srgb, ${a("--split-block-media-caption-gradient-color")} 45%, transparent) 71.27%, 8686 color-mix(in srgb, ${a("--split-block-media-caption-gradient-color")} 60%, transparent) 86.54% 8687 ); 8688 content: ''; 8689 inset: 0; 8690 pointer-events: none; 8691 position: absolute; 8692 z-index: 1; 8693 } 8694`,E4=c` 8695 display: flex; 8696 justify-content: center; 8697 position: relative; 8698 width: 50%; 8699 8700 ${To} { 8701 width: 40%; 8702 } 8703 8704 ${N} { 8705 height: ${x4}px; 8706 width: 100%; 8707 } 8708 8709 /* 8710 We are keeping the media queries above in addition to the container queries below in case: 8711 - this component is ever rendered without a wrapping SDS-M Page component 8712 - the browser does not support container queries (smart TVs, etc.) 8713 */ 8714 ${os} { 8715 width: 40%; 8716 } 8717 8718 ${co} { 8719 height: ${x4}px; 8720 width: 100%; 8721 } 8722`,pC=c` 8723 inset: 0; 8724 /* Prevent overflowing elements from adding extra page width, e.g. background media stickers */ 8725 overflow: hidden; 8726 position: absolute; 8727 z-index: 0; 8728`,cC=c` 8729 height: 100%; 8730 object-fit: cover; 8731 width: 100%; 8732`;var F4=e=>{q("sdsm-split-block");let{anchorId:t,motifScheme:o,backgroundColor:n,body:r,bodyDataset:s,callsToAction:l,fitWindow:p=!1,imageSources:d,imageAltText:u,mediaCaption:y,mediaCaptionDataset:m,mediaContentType:g,mediaDirection:f=re.End,mobileMediaContentType:b,mobileVideoSource:S,subtitle:C,subtitleDataset:I,textAlignment:k=re.Start,textAlignmentMobile:v=re.Center,title:A,titleDataset:w,verticalTextAlignment:D=re.Center,videoSource:M,posterSource:_,stickers:F}=e,$=R4.Children.toArray(l).length,B=o??Ne(n)??"sdsm-secondary",V=F?.map(L=>({...L,size:da.Medium,insetPx:16}));return x("article",{id:t,className:h("sdsm-split-block",B,I4,{[k4]:p,[lC]:f===re.Start}),children:[i("section",{className:h(M4,{[lC]:f===re.Start}),children:x("div",{className:h(T4,_r[k],wr[v],dp[D]),children:[A&&i("h2",{className:A4,...te(w),children:A}),C&&i("div",{className:_4,...te(I),children:C}),r&&i("div",{className:w4,...te(s),children:r}),$>0?i("section",{className:h(D4,_r[k],wr[v]),children:l}):null]})}),(d||M)&&x("section",{className:h(E4,{[N4]:!!y}),children:[d&&i(On,{altText:u,imgSrcs:d,className:pC,imgClassName:cC,fetchPriority:"auto",stickers:V}
8732),M&&i(Xa,{className:pC,videoClassName:cC,isBackgroundVideo:!0,mobileSource:S,mobileSourceType:b,source:M,sourceType:g,posterSource:_,stickers:V}),y&&i("div",{className:P4,...te(m),children:y})]})]})};var H4=T(P());var B4=c` 8733 align-items: center; 8734 display: flex; 8735 flex-direction: column; 8736 gap: ${a("--spacing-l")}; 8737 justify-content: center; 8738 text-align: center; 8739`,$4=c` 8740 color: ${a("--stats-color")}; 8741 font-family: ${a("--h1-font-family")}; 8742 font-size: ${a("--stats-font-size")}; 8743 font-stretch: condensed; 8744 font-weight: ${a("--stats-font-weight")}; 8745 line-height: ${a("--stats-font-line-height")}; 8746 margin: 0; 8747`,L4=c` 8748 color: ${a("--stats-color")}; 8749 font-family: ${a("--h1-font-family")}; 8750 font-size: ${a("--stats-supplementary-text-font-size")}; 8751 font-stretch: condensed; 8752 font-weight: ${a("--stats-supplementary-text-font-weight")}; 8753 line-height: ${a("--stats-font-line-height")}; 8754 margin: 0; 8755`;var dC=({stat:e,optionalSupplementaryText:t,animation:o,style:n})=>{q("stats");let r=(0,H4.useRef)(null),s=bu(r,o);return x("figure",{ref:r,className:h("stats",B4),style:{...s,...n},children:[i("span",{className:$4,children:e}),t&&i("span",{className:L4,children:t})]})};dC.displayName="Stats";var Zp=T(P());var V4=c` 8756 align-items: center; 8757 background-color: ${a("--bg-color")}; 8758 box-shadow: ${a("--sub-navigation-box-shadow")}; 8759 color: white; 8760 display: flex; 8761 height: 56px; 8762 justify-content: center; 8763 overflow: hidden; 8764 position: sticky; 8765 top: 125px; 8766 width: 100%; 8767 z-index: ${Pe.SUB_NAVIGATION}; 8768 8769 ${N} { 8770 justify-content: flex-start; 8771 } 8772`,O4=c` 8773 align-items: center; 8774 display: flex; 8775 height: 100%; 8776 -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */ 8777 overflow-x: scroll; 8778 overflow-y: hidden; 8779 scrollbar-width: none; /* Hide scrollbar for Firefox */ 8780 8781 &::-webkit-scrollbar {
8782 display: none; /* Hide scrollbar for Chrome and Safari */ 8783 } 8784`,G4=c` 8785 align-items: center; 8786 display: flex; 8787 gap: ${a("--spacing-xl")}; 8788 height: 100%; 8789 list-style: none; 8790 padding-inline: ${a("--spacing-xl")}; 8791`,z4=c` 8792 align-items: center; 8793 display: flex; 8794 height: 100%; 8795`,Jp=8,U4=c` 8796 align-items: center; 8797 color: ${a("--sub-navigation-item-color")}; 8798 display: flex; 8799 font-size: ${a("--action-desktop-font-size")}; 8800 font-weight: ${a("--action-desktop-font-weight")}; 8801 height: 100%; 8802 line-height: ${a("--action-desktop-font-line-height")}; 8803 position: relative; 8804 text-decoration: none; 8805 white-space: nowrap; 8806 8807 ${N} { 8808 font-size: ${a("--action-mobile-font-size")}; 8809 font-weight: ${a("--action-mobile-font-weight")}; 8810 line-height: ${a("--action-mobile-font-line-height")}; 8811 } 8812 8813 @media (hover: hover) { 8814 &:hover { 8815 color: ${a("--sub-navigation-item-hover-color")}; 8816 } 8817 8818 &:hover::after { 8819 transform: translateY(-${Jp/2}px); 8820 } 8821 } 8822 8823 &::after { 8824 background-color: ${a("--sub-navigation-indicator-hover-color")}; 8825 bottom: -${Jp}px; 8826 content: ''; 8827 height: ${Jp}px; 8828 left: 0; 8829 position: absolute; 8830 border-radius: ${a("--action-indicator-border-radius")}; 8831 transform: translateY(0); 8832 transition: all 0.15s ease; 8833 width: 100%; 8834 } 8835 8836 @media (hover: hover) { 8837 &:hover { 8838 color: ${a("--sub-navigation-item-hover-color")}; 8839 } 8840 8841 &:hover::after { 8842 transform: translateY(-${Jp/2}px); 8843 } 8844 } 8845`,W4=c` 8846 color: ${a("--sub-navigation-item-active-color")}; 8847 8848 &:hover { 8849 color: ${a("--sub-navigation-item-active-color")}; 8850 } 8851 8852 &::after { 8853 background-color: ${a("--sub-navigation-indicator-active-color")}; 8854 transform: translateY(-${Jp/2}px); 8855 } 8856`,Q4=c` 8857 background: linear-gradient(to left, transparent 10%, ${a("--bg-color")} 100%); 8858 content: ''; 8859 display: block; 8860 height: 100%; 8861 left: 0; 8862 pointer-events: none; 8863 position: absolute; 8864 width: 80px; 8865 z-index: 1; 8866`,q4=c` 8867 background: linear-gradient(to right, transparent 10%, ${a("--bg-color")} 100%); 8868 content: ''; 8869 display: block; 8870 height: 100%; 8871 right: 0; 8872 pointer-events: none; 8873 position: absolute; 8874 width: 80px; 8875 z-index: 1; 8876`;var K4=({motifScheme:e,backgroundColor:t,className:o,children:n,horizontalScrollRef:r,dataset:s})=>{q("sdsm-sub-navigation");let{width:l}=hn(),[p,d]=(0,Zp.useState)(!1),[u,y]=(0,Zp.useState)(0);Oa(()=>{d(!!r?.current?.closest('[dir="rtl"]'))},[r?.current,l]),(0,Zp.useEffect)(()=>{let S=r?.current;if(!S)return;let C=()=>{y(Math.ceil(r?.current?.scrollLeft??0))};return S.addEventListener("scroll",C,{passive:!1}),S.addEventListener("touchmove",C,{passive:!1}),()=>{S.removeEventListener("scroll",C),S.removeEventListener("touchmove",C)}},[r]);let m=0,g=0;r?.current?.parentElement&&(m=r.current.parentElement.scrollWidth,g=r.current.scrollWidth);let f=!1,b=!1;return p?(f=Math.ceil(-u)<g-m,b=u<0):(f=u>0,b=u<g-m),x("nav",{className:h("sdsm-sub-navigation",V4,e??Ne(t),o),...te(s),children:[f&&i("div",{className:Q4}),i("div",{ref:r,className:O4,children:i("ul",{className:G4,children:n})}),b&&i("div",{className:q4})]})};var Ys=T(P());var uC=({href:e,isActive:t,onLinkClick:o,className:n,children:r,dataset:s})=>{let{Anchor:l}=(0,Ys.useContext)(He),p=(0,Ys.useRef)(null);return(0,Ys.useEffect)(()=>{t&&p.current?.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[t]),i("li",{ref:p,className:h(z4,n),...te(s),children:i(l,{className:h(U4,{[W4]:t}),href:e,onClick:o,children:r})})};uC.displayName="SubNavigationItem";var Uo=T(P());var j4=c` 8877 display: flex; 8878 flex-wrap: wrap; 8879 justify-content: center; 8880 width: 100%; 8881 8882 & > div { 8883 margin: auto; 8884 } 8885 8886 ${N} { 8887 margin-top: ${a("--spacing-m")}; 8888 } 8889`,Y4=c` 8890 display: flex; 8891 z-index: ${Pe.HERO_CURTAIN}; 8892 background-color: ${a("--bg-color")}; 8893 min-width: 80px; 8894 justify-content: center; 8895 align-items: center; 8896 padding: 0 0 0 0; 8897 margin: 0 0 0 0; 8898 flex-direction: row; 8899 [dir='rtl'] & { 8900 flex-direction: row-reverse; 8901 } 8902 ${N} { 8903 display: none; 8904 } 8905`,X4=c` 8906 cursor: pointer; 8907 z-index: ${Pe.CAROUSEL_ARROW}; 8908 background-color: ${a("--bg-color")}; 8909 border: none; 8910 8911 :disabled { 8912 opacity: 50%; 8913 } 8914 ${N} { 8915 display: none; 8916 } 8917`,J4=c` 8918 background: linear-gradient(to left, transparent 10%, ${a("--bg-color")} 100%); 8919 content: ''; 8920 display: block; 8921 height: calc(${a("--spacing-xxxxl")} + 1px); 8922 left: 0; 8923 pointer-events: none; 8924 position: absolute; 8925 width: 80px; 8926 z-index: ${Pe.CAROUSEL_SIDE_GRADIENT}; 8927 8928 [dir='rtl'] & { 8929 /* 8930 The height is 1px less on the left-side (RTL) on desktop so that this gradient does not cover the bottom border line. 8931 This is because there are arrow buttons on desktop so the gradient is not the farthest element to the right. 8932 */ 8933 height: ${a("--spacing-xxxxl")}; 8934 left: ${a("--spacing-xxxxl")}; 8935 } 8936 8937 ${N} { 8938 height: calc(${a("--spacing-xxxxl")} + 1px); 8939 left: 0; 8940 8941 [dir='rtl'] & { 8942 height: calc(${a("--spacing-xxxxl")} + 1px); 8943 left: 0; 8944 } 8945 } 8946`,Z4=c` 8947 background: linear-gradient(to right, transparent 10%, ${a("--bg-color")} 100%); 8948 content: ''; 8949 display: block; 8950 /* 8951 The height is 1px less on the right-side on desktop so that this gradient does not cover the bottom border line. 8952 This is because there are arrow buttons on desktop so the gradient is not the farthest element to the right. 8953 */ 8954 height: ${a("--spacing-xxxxl")}; 8955 pointer-events: none; 8956 position: absolute; 8957 right: ${a("--spacing-xxxxl")}; 8958 width: 80px; 8959 z-index: ${Pe.CAROUSEL_SIDE_GRADIENT}; 8960 8961 [dir='rtl'] & { 8962 height: calc(${a("--spacing-xxxxl")} + 1px); 8963 right: 0; 8964 } 8965 8966 ${N} { 8967 height: calc(${a("--spacing-xxxxl")} + 1px); 8968 right: 0; 8969 8970 [dir='rtl'] & { 8971 height: calc(${a("--spacing-xxxxl")} + 1px); 8972 right: 0; 8973 } 8974 } 8975`,e$=c` 8976 border-bottom: 1px ${a("--tabs-underline-color")} solid; 8977 display: flex; 8978 margin: 0 ${a("--spacing-xxxl")} 0 ${a("--spacing-xxxl")}; 8979 max-width: 100%; 8980 padding-top: ${a("--spacing-xl")}; 8981 position: relative; 8982 8983 ${N} { 8984 /* 8985 The border is applied to a different element on mobile due to different visual requirements: 8986 - Desktop: continue border under arrow buttons 8987 - Mobile: border stops at end of last item 8988 */ 8989 border-bottom: none; 8990 margin: 0 ${a("--spacing-xs")} 0 ${a("--spacing-xs")}; 8991 padding: 0; 8992 } 8993`,t$=c` 8994 ${N} { 8995 margin-inline-end: calc(50% - 50vw); 8996 position: relative; 8997 max-width: unset; 8998 } 8999`,o$=c` 9000 display: flex; 9001 overflow: hidden; 9002 position: relative; 9003 scroll-behavior: smooth; 9004 width: 100%; 9005 z-index: ${Pe.BUTTON}; 9006 9007 ${N} { 9008 overflow-x: auto; 9009 padding-inline-start: 0; 9010 9011 &::-webkit-scrollbar {
9012 display: none; 9013 } 9014 } 9015`,n$=c` 9016 padding-inline-end: ${a("--spacing-xl")}; 9017`,a$=c` 9018 align-items: center; 9019 display: flex; 9020 flex: 1; 9021 gap: ${a("--spacing-xl")}; 9022 list-style: none; 9023 margin: 0; 9024 padding: 0; 9025 9026 ${N} { 9027 border-bottom: 1px ${a("--tabs-underline-color")} solid; 9028 justify-content: start; 9029 } 9030`,r$=c` 9031 justify-content: center; 9032`,i$=c` 9033 justify-content: flex-start; 9034`,NX=c` 9035 &::after { 9036 bottom: 0px; 9037 content: ''; 9038 position: absolute; 9039 transition: all 0.15s ease; 9040 visibility: hidden; 9041 width: 100%; 9042 text-align: left; 9043 margin-left: 0; 9044 height: 0px; 9045 border-top: 5px solid; 9046 border-radius: ${a("--action-indicator-border-radius")}; 9047 margin-bottom: -5px; 9048 color: ${a("--tabs-item-color")}; 9049 } 9050 9051 &.active::after { 9052 visibility: visible; 9053 color: ${a("--tabs-indicator-active-color")}; 9054 } 9055 9056 &:hover::after { 9057 transform: translateY(${a("--tabs-indicator-transform-size")}); 9058 visibility: visible; 9059 color: ${a("--tabs-indicator-hover-color")}; 9060 } 9061`,EX=c` 9062 &::after { 9063 transform: translateY(${a("--tabs-indicator-transform-size")}); 9064 visibility: visible; 9065 color: ${a("--tabs-indicator-active-color")}; 9066 } 9067 &:hover::after { 9068 color: ${a("--tabs-indicator-active-color")}; 9069 } 9070`,s$=c` 9071 align-items: center; 9072 cursor: pointer; 9073 color: ${a("--tabs-item-color")}; 9074 display: flex; 9075 9076 :hover { 9077 color: ${a("--tabs-item-hover-color")}; 9078 } 9079 9080 position: relative; 9081 text-decoration: none; 9082 justify-content: center; 9083 white-space: nowrap; 9084 user-select: none; 9085 9086 ${N} { 9087 font-size: ${a("--action-mobile-font-size")}; 9088 font-weight: ${a("--action-mobile-font-weight")}; 9089 } 9090 9091 ${H} { 9092 font-size: ${a("--action-desktop-font-size")}; 9093 font-weight: ${a("--action-desktop-font-weight")}; 9094 } 9095 9096 line-height: ${a("--spacing-xxxxl")}; 9097 9098 ${NX} 9099`,l$=c` 9100 color: ${a("--tabs-item-active-color")}; 9101 9102 &:hover { 9103 color: ${a("--tabs-item-active-color")}; 9104 } 9105 9106 ${EX} 9107`,pPe=c` 9108 z-index: ${Pe.NAVIGATOR_BUTTON}; 9109 width: 100%; 9110 ${N} { 9111 width: calc(100% - ${a("--spacing-xl")}px); 9112 } 9113 height: 16px; 9114 position: relative; 9115 margin-top: -${a("--spacing-xs")}; 9116 background-color: ${a("--bg-color")}; 9117`;var yC=({direction:e,onClick:t,isDisabled:o})=>i("button",{disabled:o,className:X4,onClick:t,children:i(Te,{name:e==="Left"?"chevron-left":"chevron-right",size:22})});var Ky=({items:e,className:t,selectTab:o,selectedTab:n})=>{q("sdsm-tab");let r=(0,Uo.useRef)(null),s=(0,Uo.useRef)(null),l=(0,Uo.useRef)(null),[p,d]=(0,Uo.useState)(!1),[u,y]=(0,Uo.useState)(0),[m,g]=(0,Uo.useState)(!1),{width:f}=hn(),b=(0,Uo.useCallback)(B=>{if(s.current){let V=s.current.children[B];V&&V.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})}},[]),S=(0,Uo.useCallback)(B=>{if(r.current){let V=u+B;r.current.scrollLeft=V}},[u]),C=0,I=0;l.current&&r.current?.parentElement&&(C=r.current.parentElement.scrollWidth-l.current.scrollWidth,I=r.current.scrollWidth);let k=(0,Uo.useCallback)(B=>{p?(B==="Left"&&-u+C<I&&S(Math.min(-C,-u)),B==="Right"&&u<0&&S(Math.max(C,u))):(B==="Left"&&u>0&&S(Math.max(-C,-u)),B==="Right"&&u+C<I&&S(Math.min(C,I-(u+C))))},[p,C,S,u,I]);Oa(()=>{let B=0,V=0,L=0;d(!!r?.current?.closest('[dir="rtl"]')),r.current?.parentElement&&(B=r.current.parentElement.scrollWidth,V=r.current.scrollWidth),l.current&&(L=l.current.scrollWidth);let z=B-L;V>z?g(!0):g(!1)},[f,e]);let A=Zo()===rt.Mobile,[w,D]=(0,Uo.useState)(0);(0,Uo.useEffect)(()=>{let B=r?.current;if(!B)return;let V=()=>{D(Math.ceil(r?.current?.scrollLeft??0))},L=()=>{D(Math.ceil(r?.current?.scrollLeft??0)),y(Math.ceil(r?.current?.scrollLeft??0))};return B.addEventListener("touchmove",V,{passive:!1}),B.addEventListener("scroll",L,{passive:!1}),()=>{B.removeEventListener("touchmove",V),B.removeEventListener("scroll",L)}},[r]);let M=!1,_=!1;p?(M=u<=-I+C,_=u===0):(M=u===0,_=u>=I-C);let F=!1,$=!1;return p?A?(F=Math.ceil(-w)<I-C,$=w<0):(F=-u<=I-C,$=u<0):A?(F=w>0,$=w<I-C):(F=u>0,$=u<I-C),x("nav",{className:h("sdsm-tabs-item",e$,{[t$]:A&&m}),children:[F&&m&&i("div",{className:J4}),i("div",{ref:r,className:h(o$,{[n$]:A&&m}),children:i("ul",{ref:s,className:h(a$,{[i$]:m,[r$]:!m}),role:"tablist",children:e?.map((B,V)=>{let L=n===V;return i("li",{role:"tab",tabIndex:0,"aria-current":L,id:`tab-${V}`,className:h(s$,{[l$]:L},t),onClick:()=>{o(V),b(V)},onKeyUp:()=>{o(V),b(V)},children:B.text},`tabItem-${V}`)})})}),$&&m&&i("div",{className:Z4}),m&&x("div",{ref:l,className:Y4,children:[i(yC,{direction:"Left",onClick:()=>{k("Left")},isDisabled:M}),i(yC,{direction:"Right",onClick:()=>{k("Right")},isDisabled:_})]})]})};var Xs=T(P());var RX={1:Ru,2:Fu,3:Bu},p$=({items:e,selectedTab:t})=>i("div",{className:j4,children:e.map((o,n)=>i("div",{role:"tabpanel",className:h(Eu,RX[o.maxColumns??3]),style:t!==n?{display:"none"}:void 0,children:o.content.map(r=>r)},`tabPanel-${n}`))});var c$=({items:e,defaultSelectedTab:t=0,onSelectTab:o})=>{let[n,r]=(0,Xs.useState)(t),s=(0,Xs.useRef)([]);q("sdsm-tab");let l=(0,Xs.useCallback)(p=>{r(p),o?.(p),s.current.forEach(d=>d?.())},[r,o]);return!e||e.length<2?null:i(Cs.Provider,{value:{addOnTabChangeListener(p){s.current.push(p)},removeOnTabChangeListener(p){s.current=s.current.filter(d=>d!==p)}},children:x("div",{className:"sdsm-tab","data-testid":"sdsm-tabs",children:[i(Ky,{items:e,selectTab:l,selectedTab:n}),i(p$,{items:e,selectedTab:n})]})})};var xa={Small:"Small",Medium:"Medium",Large:"Large"},Qn={Contain:"Contain",Cover:"Cover"};var ec=29,Yy=ec+12,Xy=28,FX=284,d$=260,u$=461,Jy=419,jy=FX,mC=12+u$+Yy+4*Xy,tc={[xa.Small]:Math.floor(jy/2),[xa.Medium]:jy,[xa.Large]:u$},oc=lb(tc,e=>mC-e-Yy),HPe=lb(oc,e=>Math.floor(e/Xy)),VPe=32;var Zy=T(P());var y$=c` 9118 text-decoration: none; 9119`,m$=c` 9120 display: flex; 9121 flex-direction: column; 9122 width: ${jy}px; 9123 height: ${mC}px; 9124 border-radius: ${a("--spacing-xxs")};
9125 box-shadow: ${a("--box-shadow-m")}; 9126 background-color: ${a("--tile-bg-color")}; 9127 9128 *[dir='rtl'] & { 9129 text-align: right; 9130 } 9131 9132 &:hover { 9133 box-shadow: ${a("--box-shadow-l")}; 9134 } 9135`,g$=({imageSource:e,imageHeight:t,imageFit:o,imagePadding:n})=>c` 9136 background-position: center; 9137 background-repeat: no-repeat; 9138 background-image: url(${e}); 9139 height: ${n?t-12:t}px; 9140 margin-top: ${n?12:0}px; 9141 margin-left: ${n?24:0}px; 9142 margin-right: ${n?24:0}px; 9143 background-size: ${o===Qn.Cover?"cover":"contain"}; 9144 border-radius: ${n?4:0}px; 9145 /* do the top corners of the image no matter what */ 9146 border-top-left-radius: ${a("--spacing-xxs")}; 9147 border-top-right-radius: ${a("--spacing-xxs")}; 9148 `,f$=c` 9149 font-size: 18px; 9150 line-height: ${ec}px; 9151 font-weight: normal; 9152 margin-bottom: ${a("--spacing-s")}; 9153`,b$=c` 9154 padding-left: ${a("--spacing-l")}; 9155 padding-right: ${a("--spacing-l")}; 9156 padding-top: ${a("--spacing-s")}; 9157 padding-bottom: ${a("--spacing-s")}; 9158 color: ${a("--tile-fg-color")}; 9159 display: flex; 9160 flex-direction: column; 9161 flex-grow: 1; 9162`,S$=c` 9163 ${uo} 9164 9165 /* stylelint-disable-next-line value-no-vendor-prefix */ 9166 display: -webkit-box; 9167 -webkit-box-orient: vertical; 9168 9169 text-overflow: ellipsis; 9170 overflow: hidden; 9171`,h$=({imageSource:e,imageHeight:t,imageFit:o,imagePadding:n})=>c` 9172 background-position: center; 9173 background-repeat: no-repeat; 9174 background-image: url(${e}); 9175 height: ${t}px; 9176 margin-top: 0; 9177 margin-left: ${n?12:0}px; 9178 margin-right: ${n?12:0}px; 9179 background-size: ${o===Qn.Cover?"cover":"contain"}px; 9180 border-radius: ${a("--spacing-xs")}; 9181 box-shadow: ${a("--box-shadow-l")}; 9182 /* For node > picture > img */ 9183 img { 9184 border-radius: ${a("--spacing-xs")}; 9185 } 9186 `,C$=({imageHeight:e,imageFit:t,imagePadding:o})=>c` 9187 height: ${e}px; 9188 margin-top: 0; 9189 margin-left: ${o?12:0}; 9190 margin-right: ${o?12:0}; 9191 background-size: ${t===Qn.Cover?"cover":"contain"}; 9192 border-radius: ${a("--spacing-xs")}; 9193 box-shadow: ${a("--box-shadow-l")}; 9194 9195 > div { 9196 margin: 0; 9197 } 9198 9199 video { 9200 height: ${e}px; 9201 width: 100%; 9202 } 9203 9204 ${N} { 9205 video { 9206 width: ${d$}px; 9207 } 9208 } 9209 `,x$=c` 9210 display: flex; 9211 flex-direction: column; 9212 border-radius: ${a("--spacing-xxs")}; 9213 background-color: transparent; 9214 align-items: center; 9215`,v$=c` 9216 width: 56px; 9217 height: 56px; 9218 margin: 16px auto 0 auto; 9219`,I$=c` 9220 /* Note: Not using --tile-fg-color here because it has no background. */ 9221 color: ${a("--fg-color")}; 9222 display: flex; 9223 flex-direction: column; 9224 flex-grow: 1; 9225 align-items: center; 9226 margin-top: 16px; 9227`,k$=c` 9228 ${uo} 9229 text-align: center; 9230 padding-left: ${a("--spacing-s")}; 9231 padding-right: ${a("--spacing-s")}; 9232`,M$=c` 9233 ${Tt} 9234 text-align: center; 9235 padding-left: ${a("--spacing-s")}; 9236 padding-right: ${a("--spacing-s")}; 9237`,gC=c` 9238 width: 100%; 9239 height: 100%; 9240 object-position: center; 9241`,fC=c` 9242 object-fit: cover; 9243`,bC=c` 9244 object-fit: contain; 9245`,SC=c` 9246 background-image: none; 9247`,T$=c` 9248 cursor: pointer; 9249`;var hC=({imageSize:e,label:t})=>{let o=oc[e];return t?o:o+Yy},A$=({imageSize:e,label:t})=>{let o=hC({imageSize:e,label:t});return Math.floor(o/Xy)};var CC=({className:e,title:t,imageSource:o,videoSource:n,iconImageSource:r,label:s,onClick:l,imageSize:p=xa.Large,imageFit:d=Qn.Cover,imagePadding:u=!1,link:y,tilesLayout:m,isRTL:g,iconImgSrcs:f,iconAltText:b,imgSrcs:S,imgAltText:C})=>{q("sdsm-tile");let{Anchor:I}=(0,Zy.useContext)(He),k=g?"rtl":void 0,v=(0,Zy.useCallback)($=>{y&&l&&l(y,$)}
9249,[y,l]),A=tc[p],w=g$({imageSource:o,imageFit:d,imageHeight:A,imagePadding:u}),D=h$({imageSource:o,imageFit:d,imageHeight:Jy,imagePadding:u}),M=C$({imageFit:d,imageHeight:Jy,imagePadding:u}),_=x("div",{"data-testid":"sdsm-tile-default-inner",className:h("sdsm-tile",{[T$]:!!l},m$,e),onClick:y?void 0:v,dir:k,children:[(o||S)&&i("div",{"data-testid":"sdsm-tile-image",className:h(w,S?SC:void 0),children:S&&i(Ye,{altText:C,imgSrcs:S,imgClassName:h(gC,d===Qn.Cover?fC:bC)})}),(t||s)&&x("div",{"data-testid":"sdsm-tile-text",className:h(b$,c` 9250 height: ${oc[p]+ec}px; 9251 `),children:[s&&i("div",{className:f$,children:s}),i("div",{className:S$,style:{WebkitLineClamp:A$({imageSize:p,label:s}),maxHeight:hC({imageSize:p,label:s})},children:t})]})]}),F=x("div",{"data-testid":"sdsm-tile-alternate-inner",className:h("sdsm-tile",x$,e),onClick:y?void 0:v,dir:k,children:[(o||S)&&i("div",{"data-testid":"sdsm-tile-alternate-image",className:h(D,S?SC:void 0),children:S&&i(Ye,{altText:C,imgSrcs:S,imgClassName:h(gC,d===Qn.Cover?fC:bC)})}),!o&&n&&i("div",{"data-testid":"sdsm-tile-alternate-video",className:M,children:i(Ke,{showVideoControls:!1,videoSource:n,maxHeight:Jy,isBackgroundVideo:!0})}),(r||f)&&i(Ye,{altText:b,imgSrcs:f,imgClassName:v$,defaultSrc:r}),(t||s)&&x("div",{"data-testid":"sdsm-tile-alternate-text",className:I$,children:[t&&i("div",{className:k$,children:t}),s&&i("div",{className:M$,children:s})]})]});return y?i(I,{"data-testid":"sdsm-tile-click-handler",href:y,className:y$,onClick:v,children:m?F:_}):m?F:_};CC.displayName="Tile";var xC=c` 9252 align-items: center; 9253 background-color: ${a("--topic-bg-color")}; 9254 border: ${a("--topic-border-width")} solid ${a("--topic-border-color")}; 9255 border-radius: ${a("--topic-border-radius")}; 9256 color: ${a("--fg-color")}; 9257 display: flex; 9258 font-family: ${a("--font-family")}; 9259 font-size: ${a("--topic-font-size")}; 9260 font-weight: ${a("--topic-font-weight")}; 9261 justify-content: center; 9262 line-height: ${a("--topic-font-line-height")}; 9263 padding: ${a("--topic-padding")}; 9264 text-align: center; 9265 text-decoration: none; 9266 text-transform: capitalize; 9267 white-space: nowrap; 9268`,_$=c` 9269 transition: background-color 0.2s linear; 9270 9271 &:hover { 9272 background-color: ${a("--topic-hover-bg-color")}; 9273 } 9274`;var w$=e=>{q("sdsm-topic");let{displayText:t,url:o}=e;return t?o?i(xM,{className:h("sdsm-topic",xC,_$),href:o,"data-testid":"sdsm-topic",children:t}):i("span",{className:h("sdsm-topic",xC),"data-testid":"sdsm-topic",children:t}):null};var D$=c` 9275 background-color: ${oa}; 9276 border-radius: ${a("--chart-skeleton-border-radius")}; 9277 display: flex; 9278 justify-content: center; 9279 padding: 20px; 9280 9281 ${Sn} { 9282 padding: ${a("--spacing-xxl")}; 9283 } 9284`,P$=c` 9285 background-color: ${a("--chart-skeleton-bg-color")}; 9286 border-radius: ${a("--chart-skeleton-border-radius")}; 9287 overflow: hidden; 9288 position: relative; 9289 width: 100%; 9290 9291 ${Sn} { 9292 margin: 0px 112px; 9293 } 9294`,N$=c` 9295 height: 100%; 9296 width: 100%; 9297`,E$=c` 9298 fill: url('#shimmerGradient'); 9299 mask: url('#shimmerMask'); 9300`,qn=c` 9301 fill: ${a("--chart-skeleton-mask-color")}; 9302`,vC=c` 9303 stop-color: ${a("--chart-skeleton-dark-animation-color")}; 9304`,R$=c` 9305 stop-color: ${a("--chart-skeleton-light-animation-color")}; 9306`;var F$="2s",No=()=>(q("sdsm-skeleton-chart"),i("article",{className:h("sdsm-skeleton-chart",D$),children:i("div",{className:P$,children:x("svg",{viewBox:"0 0 664 328",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:N$,children:[x("defs",{children:[x("linearGradient",{id:"shimmerGradient",x1:"0",y1:"0",x2:"1",y2:"0",children:[i("stop",{className:vC,offset:"0%",strokeOpacity:1}),i("stop",{className:R$,offset:"50%",strokeOpacity:1}),i("stop",{className:vC,offset:"100%",strokeOpacity:1}),i("animate",{attributeName:"x1",values:"-100%;100%",dur:F$,repeatCount:"indefinite"}),i("animate",{attributeName:"x2",values:"0%;200%",dur:F$,repeatCount:"indefinite"})]}),x("mask",{id:"shimmerMask",children:[i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"60.0518"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"113.944"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"167.838"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"31.4118",x:"36.955",y:"221.73"}),i("path",{className:qn,clipRule:"evenodd",d:`M609.376 62.2274C613.179 65.7331 613.232 71.466 609.493 75.0322L484.305 194.434C479.871 198.663 9307 472.912 199.467 467.516 196.374L472.552 188.649L467.516 196.374L347.249 127.445L229.404 229.841C225.443 9308 233.282 219.686 234.2 214.734 232.18L218.588 223.877L214.734 232.18L98.1939 184.629C93.3034 182.634 9309 91.0641 177.299 93.1923 172.714C95.3205 168.128 101.01 166.029 105.901 168.024L219.015 214.177L337.294 9310 111.404C341.761 107.523 348.434 106.899 353.63 109.877L348.593 117.603
9310L353.63 109.877L473.715 9311 178.703L595.719 62.3369C599.458 58.7707 605.573 58.7217 609.376 62.2274ZM470.541 181.73C470.538 9312 181.733 470.535 181.736 470.532 181.739L474.608 185.495L470.532 181.739L470.541 181.73Z`,fillRule:"evenodd"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"36.955",x:"77.6056",y:"265.152"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"36.955",x:"205.727",y:"265.152"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"36.955",x:"333.848",y:"265.152"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"36.955",x:"461.969",y:"265.152"}),i("rect",{className:qn,height:"11.0865",rx:"5.54325",width:"36.955",x:"590.09",y:"265.152"})]})]}),i("rect",{x:"0",y:"0",width:"100%",height:"100%",className:E$})]})})}));var em=T(P());var B$=({children:e,active:t,onClick:o})=>{let n=h(LP,t&&QS);return i("button",{role:"tab",onClick:o,className:n,children:e})};var $$=({items:e,selectedChart:t,selectChart:o})=>{let n=s=>{t!==s&&o(s)},r=h(FP,zS);return i("div",{className:r,children:i("nav",{className:BP,role:"tablist",children:e.map(({title:s},l)=>i(B$,{active:t===l,onClick:()=>n(l),children:s},`chart-button-${l}`))})})};var L$=({items:e,selectedChart:t})=>i("div",{className:$P,role:"tabpanel",children:e.map(({content:o},n)=>t===n&&i("div",{className:HP,children:o},n))});var H$=({items:e})=>{let[t,o]=(0,em.useState)(0);return q("sdsm-chart-toggle"),(0,em.useEffect)(()=>{let{onToggle:n}=e[t];n?.()},[e,t]),e?.length?x("section",{className:"sdsm-chart-toggle",children:[i($$,{items:e,selectedChart:t,selectChart:o}),i(L$,{items:e,selectedChart:t})]}):null};var V$=({items:e,selectedChart:t})=>i(ue,{children:e.map(({content:o},n)=>t===n.toString()&&o)});var tm=T(P());var O$=({label:e,items:t,selectedChart:o,selectChart:n})=>{let r=l=>{o!==l.id&&n(l.id)},s=t.map((l,p)=>({id:p.toString(),title:l.title,isSelected:p.toString()===o}));return x("div",{className:h(US,OP,{[GP]:!e}),children:[e&&i("label",{children:e}),i(ls,{items:s,selectedItemId:o,onItemSelect:r})]})};var G$=({items:e,label:t,isLoading:o})=>{let[n,r]=(0,tm.useState)("0");return q("sdsm-chart-toggle"),(0,tm.useEffect)(()=>{if(!e?.length)return;let{onToggle:s}=e[Number(n)];s?.()},[e,n]),o?i(KP,{}):e?.length?x(ue,{children:[i(O$,{label:t,items:e,selectedChart:n,selectChart:r}),i(V$,{items:e,selectedChart:n})]}):null};var z$=({children:e})=>i("section",{className:h("sdsm-chart-toggle",VP),children:e});var U$=T(Ua());var om=({document:e})=>typeof e=="string"?i(ue,{children:e}):i(ue,{children:(0,U$.documentToPlainTextString)(e)});om.displayName="PlainRichText";function BX(e){return e&&e.length?e[0]:void 0}var va=BX;function $X(e){return e===void 0}var IC=$X;dk();function LX(e,t,o,n){if(!Jl(e))return e;t=ps(t,e);for(var r=-1,s=t.length,l=s-1,p=e;p!=null&&++r<s;){var d=kr(t[r]),u=o;if(d==="__proto__"||d==="constructor"||d==="prototype")return e;if(r!=l){var y=p[d];u=n?n(y,d,p):void 0,u===void 0&&(u=Jl(y)?y:md(t[r+1])?[]:{})}uk(p,d,u),p=p[d]}return e}var W$=LX;function HX(e,t,o){for(var n=-1,r=t.length,s={};++n<r;){var l=t[n],p=cs(e,l);o(p,l)&&W$(s,ps(l,e),p)}return s}var nm=HX;function VX(e,t){if(e==null)return{};var o=xd(Ck(e),function(n){return[n]});return t=tn(t),nm(e,o,function(n,r){return t(n,r[0])})}var Q$=VX;var Ot=T(P());var q$=T(P()),Ia=(0,q$.createContext)({isPreview:!1,isSSR:!1,currentLocale:"en-US"});var K$=T(P());var nc=({component:e})=>(console.error(`${e} not implemented! This must be specified via DesignSystemContext.`),null),Mn=(0,K$.createContext)({buttonComponent:()=>i(nc,{component:"buttonComponent"}),localeDropdownComponent:()=>i(nc,{component:"localeDropdownComponent"}),modalComponent:()=>i(nc,{component:"modalComponent"}),sectionComponent:()=>i(nc,{component:"sectionComponent"}),toggleComponent:()=>i(nc,{component:"toggleComponent"})});var am={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CookieModalQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"preview"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}
9312,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cookieModalCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"preview"},value:{kind:"Variable",name:{kind:"Name",value:"preview"}}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CookieModalAll"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"TrackingCookieAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TrackingCookie"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"provider"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"domains"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"purpose"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"expiration"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"pattern"}},{kind:"Field",name:{kind:"Name",value:"subDomains"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"secure"}},{kind:"Field",name:{kind:"Name",value:"sameSite"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CookieCategoryAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CookieCategory"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"description"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"categoryCookieName"}},{kind:"Field",name:{kind:"Name",value:"displayMode"}},{kind:"Field",name:{kind:"Name",value:"isEssential"}},{kind:"Field",name:{kind:"Name",value:"enableToggle"}},{kind:"Field",name:{kind:"Name",value:"cookiesCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"200"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TrackingCookieAll"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CookieModalAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CookieModal"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"landingScreenTitle"}},{kind:"Field",name:{kind:"Name",value:"content"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"acceptAllButtonText"}},{kind:"Field",name:{kind:"Name",value:"essentialOnlyButtonText"}},{kind:"Field",name:{kind:"Name",value:"settingsButtonText"}},{kind:"Field",name:{kind:"Name",value:"settingsScreenTitle"}},{kind:"Field",name:{kind:"Name",value:"cookieCategoriesCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CookieCategoryAll"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"acceptSelectedButtonText"}},{kind:"Field",name:{kind:"Name",value:"saveChangesText"}},{kind:"Field",name:{kind:"Name",value:"changesSavedText"}},{kind:"Field",name:{kind:"Name",value:"toggleEnabledText"}},{kind:"Field",name:{kind:"Name",value:"toggleDisabledText"}},{kind:"Field",name:{kind:"Name",value:"gpcLocations"}},{kind:"Field",name:{kind:"Name",value:"enableCookieDeletion"}}]}}]};var kC=new Set(["localhost","sc-corp.net","appspot.com"]),Qr=class{constructor(t,o){we(this,"client");we(this,"initializeClient",(t,o)=>{let n=new Bd,r=this.getGrapheneFlavor(o),s=this.getGrapheneFriendlyString(o),l=$M({partitionName:t,flavor:r,variant:s});return n.initialize({networkHandler:new Fd(l),debugMode:!1,logTimeInterval:5e3}),n});we(this,"getGrapheneFlavor",t=>{let o=Mr(t);return kC.has(o)?"development":"production"});we(this,"getGrapheneFriendlyString",t=>{if(!t)return"Unknown";let o=/[\s.]+/g;return t.replace(o,"_")}
9312);we(this,"logMetric",(t,o)=>{this.client.increment({metricsName:t,dimensions:o})});we(this,"logError",(t,o,n)=>{let r={description:this.getGrapheneFriendlyString(o),error:this.getGrapheneFriendlyString(n.name)};this.client.increment({metricsName:`error_${t}`,dimensions:r})});this.client=this.initializeClient(t,o)}};var rm=e=>{let t={};for(let o of e){let{categoryCookieName:n}=o;t[n]=!0}return t},ac=e=>{let t={};for(let o of e){let{categoryCookieName:n,isEssential:r}=o;t[n]=r}return t},im=(e,t)=>({...ac(e),...t});var j$=e=>{let t=to.get(),o=new Set,n=[];for(let[s,l]of e)for(let{name:p,regex:d}of l)d?n.push(d):o.add(p);let r=[];for(let s in t)o.has(s)||n.some(l=>l.test(s))||r.push(s);return r};var OX=(e,t)=>{let{sys:o,name:n,pattern:r,subDomains:s,path:l,secure:p,sameSite:d}=t,u={id:o.id,name:n};return r&&(u.regex=new RegExp(r)),s?.includes(e)&&(u.domain=""),l&&(u.path=l),p&&(u.secure=!0),d&&(u.sameSite=d),u},sm=e=>{let t=new Map,o=(window?.location?.hostname??"").toLowerCase();for(let n of e){let r=new Set,s=n.categoryCookieName;for(let l of n.cookiesCollection.items){let p=OX(o,l);r.add(p)}t.set(s,r)}return t};var GX="https://www.snapchat.com/cookies/api/is_cookie_popup_eligible",Y$=async()=>{let e=await fetch(GX);if(e.status!==200){let{status:o,statusText:n}=e;throw new Error(`${o} : ${n}`)}return(await e.json()).popupEnabled};var zX="https://www.snapchat.com/cookies/api/user_location",lm=async()=>{let e=await fetch(zX);if(e.status!==200){let{status:r,statusText:s}=e;throw new Error(`${r} : ${s}`)}let t=await e.json(),o=t.country,n=t.region;return`${o}-${n}`};var UX=e=>to.get(e),pm=e=>{let t={};for(let o of e){let{categoryCookieName:n}=o,r=UX(n);r&&(t[n]=r==="true")}return t};var cm=e=>{let t=e||(window?.location?.hostname??"").toLowerCase();return Mr(t)};var WX=(e,t,o,n)=>{let r={domain:e.domain??t,path:e.path,secure:e.secure,sameSite:e.sameSite};if(e.regex)for(let s of Object.keys(o))e.regex.test(s)&&(to.remove(s,r),n[s]={value:o[s]??""});else e.name in o&&(to.remove(e.name,r),n[e.name]={value:o[e.name]??""})},QX=(e,t,o,n,r)=>{if(t==="sc-cookies-accepted")return;let s=n.get(t);if(s)for(let l of s)WX(l,e,o,r)},um=(e,t,o,n=!1)=>{let r=to.get(),s={};for(let p in t)t[p]||n&&QX(e,p,r,o,s);let l=to.get();for(let p in s)s[p].wasRemoved=!l[p];return s};var qX=(e,t,o="")=>{to.set(e,t,{expires:365,secure:!0,domain:o})},ym=(e,t)=>{for(let o in t)qX(o,t[o].toString(),e)};var X$=T(P());var ka=e=>{let{buttonComponent:t}=(0,X$.useContext)(Mn);return t(e)};var J$=T(P());var Z$=e=>{let{localeDropdownComponent:t}=(0,J$.useContext)(Mn);return t(e)};var e5=T(P());var t5=e=>{let{modalComponent:t}=(0,e5.useContext)(Mn);return t(e)};var o5=T(P());var n5=e=>{let{sectionComponent:t}=(0,o5.useContext)(Mn);return t(e)};var a5=T(P());var r5=e=>{let{toggleComponent:t}=(0,a5.useContext)(Mn);return t(e)};var i5=T(P());var MC=class extends i5.Component{constructor(t){super(t);let{partition:o,hostname:n}=t,r=o&&new Qr(o,n);this.state={hasError:!1,grapheneClient:r}}componentDidCatch(t){this.setState({hasError:!0}),this.state.grapheneClient?.logError(this.props.component,"unhandled",t),this.props.onError&&this.props.onError(t)}render(){let{children:t,renderInstead:o}=this.props,{hasError:n}=this.state;return n?o??null:t}};function mm(e,t,o){let n=e.displayName??"UnknownComponent";return s=>{let l=(window?.location?.hostname??"unknown").toLowerCase(),{onError:p}=s;return i(MC,{hostname:l,partition:t,component:n,onError:p,renderInstead:o,children:i(e,{...s})})}}var S5=T(_C());var h5=T(P());var fm=({document:e,className:t})=>{let{currentLocale:o}=(0,h5.useContext)(Ia),n=r=>{let s=new URL(r);return s.searchParams.has("lang")||s.searchParams.set("lang",o),s.href};return i("div",{"data-testid":"mwp-cookie-rich-text",className:h("contentful-rich-text",t),dangerouslySetInnerHTML:{__html:(0,S5.documentToHtmlString)(e,{renderNode:{hyperlink:r=>{let s=r.content.map(p=>{if(!(!p||p.nodeType!=="text"))return p.value},[]).join("");return`<a href="${n(r.data.uri)}" target="_blank" rel="noopener">${s}</a>`}}})}})};var bm=({children:e})=>i("div",{className:"modal-footer",children:e});var Sm=T(P());var C5=({className:e,width:t,height:o,backgroundType:n="White"})=>{let r=n!=="Black"?"#FFFFFF":void 0,s=n==="Black"?"#FFFFFF":void 0;return i("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 500 500",className:e,width:t,height:o,children:i("g",{id:"Layer_1",children:x("g",{children:[i("g",{children:i("path",{style:{fill:r},d:`M484.6,369.3c-2-6.8-11.9-11.6-11.9-11.6l0,0c-0.9-0.5-1.7-0.9-2.4-1.3c-16.4-7.9-30.8-17.4-43.1-28.2 9313 c-9.8-8.7-18.2-18.2-25-28.4c-8.2-12.4-12.1-22.8-13.8-28.4c-0.9-3.7-0.8-5.1,0-7c0.6-1.6,2.5-3.1,3.4-3.8 9314 c5.5-3.9,14.4-9.7,19.9-13.2c4.7-3.1,8.8-5.7,11.2-7.4c7.7-5.4,12.9-10.8,16-16.7c4-7.6,4.5-16,1.4-24.3 9315 c-4.2-11.1-14.6-17.8-27.8-17.8c-2.9,0-6,0.3-9,1c-7.6,1.6-14.8,4.3-20.8,6.7c-0.4,0.2-0.9-0.2-0.9-0.6 9316 c0.6-14.9,1.3-34.9-0.3-53.9c-1.5-17.2-5-31.7-10.8-44.3c-5.8-12.7-13.4-22.1-19.3-28.9c-5.7-6.5-15.5-16-30.5-24.5 9317 c-21-12-45-18.1-71.1-18.1c-26.1,0-50,6.1-71.1,18.1c-1
93175.8,9-25.9,19.2-30.5,24.5c-5.9,6.8-13.5,16.2-19.3,28.9 9318 c-5.8,12.6-9.3,27.1-10.8,44.3c-1.6,19.1-1,37.5-0.3,53.9c0,0.5-0.5,0.8-0.9,0.6c-6-2.3-13.2-5-20.7-6.7c-3-0.7-6-1-9-1 9319 c-13.2,0-23.6,6.7-27.8,17.8c-3.1,8.3-2.7,16.7,1.4,24.3c3.1,5.9,8.4,11.4,16,16.7c2.4,1.7,6.4,4.3,11.2,7.4 9320 c5.3,3.5,14,9.1,19.5,13c0.7,0.5,3,2.3,3.8,4.1c0.8,2,0.9,3.4-0.1,7.3c-1.7,5.7-5.6,15.9-13.7,28.1c-6.8,10.2-15.2,19.7-25,28.4 9321 C60.5,339,46,348.5,29.7,356.5c-0.8,0.4-1.7,0.8-2.7,1.4l0,0c0,0-9.8,5-11.6,11.4c-2.7,9.5,4.5,18.4,11.9,23.2 9322 c12.1,7.8,26.9,12,35.4,14.3c2.4,0.6,4.5,1.2,6.5,1.8c1.2,0.4,4.3,1.6,5.6,3.3c1.7,2.1,1.9,4.8,2.5,7.8v0c0.9,5,3,11.2,9.2,15.5 9323 c6.8,4.7,15.5,5,26.4,5.5c11.5,0.4,25.8,1,42.1,6.4c7.6,2.5,14.4,6.7,22.4,11.6c16.6,10.2,37.2,22.9,72.5,22.9 9324 c35.3,0,56.1-12.8,72.8-23c7.9-4.8,14.7-9,22.1-11.5c16.3-5.4,30.6-5.9,42.1-6.4c11-0.4,19.6-0.7,26.4-5.5 9325 c6.6-4.6,8.6-11.4,9.4-16.6c0.5-2.5,0.8-4.8,2.3-6.7c1.2-1.6,4.1-2.7,5.4-3.2c2-0.6,4.2-1.2,6.7-1.9c8.6-2.3,19.3-5,32.3-12.4 9326 C485.2,385.6,486.3,374.7,484.6,369.3z`})}),i("path",{style:{fill:s},d:`M498.2,364c-3.5-9.5-10.1-14.5-17.6-18.7c-1.4-0.8-2.7-1.5-3.8-2c-2.2-1.2-4.5-2.3-6.8-3.5 9327 c-23.5-12.5-41.8-28.2-54.6-46.8c-4.3-6.3-7.3-12-9.4-16.6c-1.1-3.1-1-4.9-0.3-6.5c0.6-1.2,2.2-2.5,3-3.1c4-2.7,8.2-5.4,11-7.2 9328 c5-3.3,9-5.8,11.6-7.6c9.6-6.7,16.4-13.9,20.6-21.9c5.9-11.3,6.7-24.2,2.1-36.3c-6.4-16.8-22.3-27.3-41.5-27.3 9329 c-4,0-8,0.4-12.1,1.3c-1.1,0.2-2.1,0.5-3.1,0.7c0.2-11.4-0.1-23.6-1.1-35.6c-3.6-42-18.3-64-33.7-81.6c-6.4-7.3-17.5-18-34.2-27.6 9330 C305.1,10.6,278.8,3.9,250,3.9c-28.7,0-55,6.7-78.3,20c-16.8,9.6-27.9,20.3-34.3,27.6c-15.3,17.5-30,39.6-33.7,81.6 9331 c-1,11.9-1.3,24.1-1.1,35.6c-1-0.3-2.1-0.5-3.1-0.7c-4-0.9-8.1-1.3-12.1-1.3c-19.3,0-35.2,10.4-41.5,27.3 9332 c-4.6,12.1-3.8,25,2.1,36.3c4.2,8,11,15.2,20.6,21.9c2.6,1.8,6.6,4.4,11.6,7.6c2.7,1.8,6.7,4.3,10.6,6.9c0.6,0.4,2.7,1.9,3.4,3.4 9333 c0.8,1.7,0.8,3.5-0.4,6.8c-2.1,4.6-5,10.1-9.2,16.3c-12.4,18.2-30.3,33.6-53,46c-12,6.4-24.6,10.6-29.9,25 9334 c-4,10.9-1.4,23.2,8.8,33.6l0,0c3.3,3.6,7.5,6.8,12.8,9.7c12.4,6.9,23,10.2,31.3,12.5c1.5,0.4,4.8,1.5,6.3,2.8 9335 c3.7,3.2,3.2,8.1,8.1,15.2c3,4.4,6.4,7.4,9.2,9.4c10.3,7.1,21.9,7.6,34.2,8c11.1,0.4,23.7,0.9,38.1,5.7c6,2,12.1,5.8,19.3,10.2 9336 c17.2,10.6,40.8,25,80.2,25c39.4,0,63.1-14.5,80.5-25.2c7.1-4.4,13.3-8.1,19-10c14.4-4.7,27-5.2,38.1-5.7 9337 c12.3-0.5,23.9-0.9,34.2-8c3.2-2.2,7.3-5.9,10.5-11.5c3.5-6,3.4-10.2,6.8-13.2c1.4-1.2,4.3-2.2,5.9-2.7 9338 c8.4-2.3,19.1-5.7,31.7-12.6c5.6-3.1,10-6.5,13.4-10.3c0,0,0.1-0.1,0.1-0.1C499.7,386.6,502.1,374.6,498.2,364z M463.2,382.8 9339 c-21.4,11.8-35.6,10.5-46.6,17.7c-9.4,6-3.8,19.1-10.7,23.8c-8.4,5.8-33.2-0.4-65.1,10.2c-26.4,8.7-43.2,33.8-90.7,33.8 9340 c-47.6,0-64-25-90.7-33.8c-32-10.6-56.8-4.4-65.1-10.2c-6.8-4.7-1.3-17.7-10.7-23.8c-11-7.1-25.3-5.9-46.6-17.7 9341 c-13.6-7.5-5.9-12.2-1.4-14.4c77.4-37.5,89.8-95.4,90.3-99.7c0.7-5.2,1.4-9.3-4.3-14.6c-5.5-5.1-30.1-20.3-36.9-25 9342 c-11.3-7.9-16.2-15.7-12.6-25.4c2.5-6.7,8.8-9.2,15.4-9.2c2,0,4.1,0.2,6.1,0.7c12.4,2.7,24.4,8.9,31.3,10.6c1,0.2,1.8,0.3,2.6,0.3 9343 c3.7,0,5-1.9,4.8-6.1c-0.8-13.5-2.7-39.9-0.6-64.5c2.9-33.9,13.9-50.7,26.9-65.6c6.2-7.1,35.5-38.1,91.6-38.1 9344 c56.2,0,85.3,30.9,91.6,38.1c13,14.9,23.9,31.7,26.9,65.6c2.1,24.6,0.3,51-0.6,64.5c-0.3,4.5,1.1,6.1,4.8,6.1 9345 c0.8,0,1.6-0.1,2.6-0.3c6.9-1.7,19-7.9,31.3-10.6c2-0.4,4.1-0.7,6.1-0.7c6.6,0,12.8,2.5,15.4,9.2c3.7,9.7-1.3,17.5-12.6,25.4 9346 c-6.8,4.7-31.3,19.9-36.9,25c-5.7,5.3-5,9.4-4.3,14.6c0.6,4.4,12.9,62.2,90.3,99.7C469.1,370.6,476.8,375.3,463.2,382.8z`})]})})})};var hm=({backgroundType:e,supportedLocales:t,onLocaleChange:o})=>{let{currentLocale:n}=(0,Sm.useContext)(Ia),r=(0,Sm.useRef)(null),s=()=>r.current;return x("div",{"data-testid":"mwp-cookie-modal-header",className:"modal-header",ref:r,children:[i("div",{className:"logo-container",children:i(C5,{width:24,height:24,backgroundType:e})}),i("div",{className:"locale-container",children:i(Z$,{supportedLocales:t,currentLocale:t[n],onLocaleChange:o,containerProvider:s})})]})};var x5=({backgroundType:e,supportedLocales:t,title:o,content:n,settingsButtonText:r,acceptAllButtonText:s,essentialOnlyButtonText:l,onSettingsbuttonClick:p,onAcceptAllButtonClick:d,onAcceptEssentialButtonClick:u,onLocaleChange:y})=>x("div",{"data-testid":"mwp-cookie-landing-screen",className:"cookie-landing-screen",children:[i(hm,{backgroundType:e,supportedLocales:t,onLocaleChange:y}),x("div",{"data-testid":"mwp-cookie-modal-body",className:"modal-body",children:[i("h2",{className:"cookie-title",children:o}),i(fm,{document:n,className:"landing-content"})]}),x(bm,{children:[i(ka,{isPrimary:!0,text:l,onClick:u}),i(ka,{isPrimary:!0,text:s,onClick:d}),i(ka,{isPrimary:!1,text:r,onClick:p})]})]});var Cm=({title:e,cookieCategories:t,categoriesState:o,updateCategoriesState:n,activeToggleLabel:r,inactiveToggleLabel:s,isModal:l})=>x(ue,{children:[i("h2",{className:"cookie-title",children:e}),t.map(p=>{if(l&&p.displayMode==="Settings Only")return null;let d=p.categoryCookieName,u=s;return p.isEssential&&!p.enableToggle&&(u=r),o[d]&&(u=r),i("div",{"data-testid":"mwp-cookie-category-description",children:x("div",{className:"category-border",children:[x("div",{className:"category-title-container",children:[i("h5",{className:"category-title",children:p.title}),i("p",{className:"category-status",children:u}),p.enableToggle===!0&&i("div",{className:"category-toggle",children:i(r5,{id:`${p.sys.id}-slider`,isChecked:!!o[d],onToggle:()=>n(d,!o[d])})})]}),i(fm,{className:"category-description",document:p.description.json})]})},p.sys.id)})]});var v5=({backgroundType:e,supportedLocales:t,onLocaleChange:o,title:n,cookieCategories:r,activeToggleLabel:s,inactiveToggleLabel:l,categoriesState:p,updateCategoriesState:d,acceptAllButtonText:u,essentialOnlyButtonText:y,acceptSelectedButtonText:m,onAcceptAllButtonClick:g,onAcceptEssentialButtonClick:f,onAcceptSelectedButtonClick:b})=>x("div",{"data-testid":"mwp-cookie-modal-settings-screen",className:"cookie-sett
9346ings-screen",children:[i(hm,{backgroundType:e,supportedLocales:t,onLocaleChange:o}),i("div",{className:"modal-body",children:i(Cm,{title:n,cookieCategories:r,categoriesState:p,updateCategoriesState:d,activeToggleLabel:s,inactiveToggleLabel:l,isModal:!0})}),x(bm,{children:[i(ka,{isPrimary:!0,text:y,onClick:f}),i(ka,{isPrimary:!0,text:u,onClick:g}),i(ka,{isPrimary:!0,text:m,onClick:b})]})]});var xm="CookieModal",I5=({supportedLocales:e,cookieDomain:t,portalRoot:o,backgroundType:n="White",onLocaleChange:r,onComplete:s,onEvent:l,onGlobalPrivacyControlSet:p,globalPrivacyControl:d,forceVisible:u})=>{let y=(0,Ot.useContext)(Ia),{data:m}=Cn(am,y,{client:y.client}),g=va(m?.cookieModalCollection.items),f=g?.gpcLocations,{categorySettings:b,cookieCategoryMap:S,enableCookieDeletion:C}=(0,Ot.useMemo)(()=>{if(!g?.cookieCategoriesCollection?.items?.length)return{categorySettings:void 0,cookieCategoryMap:void 0,enableCookieDeletion:!1};let U=g.cookieCategoriesCollection.items,E=sm(g.cookieCategoriesCollection.items),{enableCookieDeletion:X}=g;return{categorySettings:U,cookieCategoryMap:E,enableCookieDeletion:X}},[g]),I=cm(t),[k,v]=(0,Ot.useState)(),[A,w]=(0,Ot.useState)("Unknown"),[D,M]=(0,Ot.useState)(!1),[_,F]=(0,Ot.useState)({}),$=(U,E)=>{let X=Ho(_);X[U]=E,F(X)},[B,V]=(0,Ot.useState)(!1),[L,z]=(0,Ot.useState)("landing"),[K,ye]=(0,Ot.useState)(),ne=!!((window?.navigator?.globalPrivacyControl||d)&&S&&(f?.includes(A)||f?.length===0||!f)),oe=(0,Ot.useCallback)(U=>{if(!!kC.has(I))return;let X=j$(U);for(let W of X){let ie={cookieName:W,userLocation:A};K?.logMetric("modal_uncategorized_cookie",ie)}},[K,I,A]),pe=(0,Ot.useCallback)((U,E)=>{if(!S||!b)return;let W=((ee,be={})=>Q$(ee,(Q,le)=>IC(be[le])||be[le]!==Q))(U,E);ym(I,W);let ie=um(I,U,S,C);for(let ee in ie){if(ie[ee]?.wasRemoved)continue;let be={cookieName:ee,userLocation:A};K?.logMetric("tracking_cookie_misconfiguration",be)}oe(S),s?.({didUserInteract:D,userLocation:A,cookieAcceptance:U,isGlobalPrivacyControlApplied:ne}),M(!1)},[I,S,b,K,D,s,A,M,oe,ne,C]);(0,Ot.useEffect)(()=>{let U=window.location.hostname,E=new Qr(ds.COOKIE_MODAL_COMPONENTS,U);ye(E)},[ye]),(0,Ot.useEffect)(()=>{if(!K)return;(async()=>{try{let E=await Y$();v(E)}catch(E){let X=Ft(E);K.logError(xm,"shouldDisplayModal",X),v(!0)}})()},[K,v]),(0,Ot.useEffect)(()=>{if(!K)return;(async()=>{try{let E=await lm();w(E)}catch(E){let X=Ft(E);K.logError(xm,"userLocation",X)}})()},[K,w]),(0,Ot.useEffect)(()=>{if(!b)return;let U=ac(b);F(U)},[b,F]),(0,Ot.useEffect)(()=>{if(IC(k)||!S||!b||B)return;V(!0);let U=pm(b),E=U["sc-cookies-accepted"],X={userLocation:A,cookieDomain:I};if(E){let ie={...k?ac(b):rm(b),...U};ne&&U.Marketing?(pe({...ie,Marketing:!1},U),p?.(),K?.logMetric("global_privacy_control",X)):pe(ie,U);return}if(k)M(!0);else{let W=rm(b);ne?(pe({...W,Marketing:!1}),p?.(),K?.logMetric("global_privacy_control",X)):pe(W)}},[B,k,S,b,V,M,pe,d,A,ne,I,K,p]);let ae=()=>{if(!b)return;let U=rm(b);pe(U),j("accept_all",U)},j=(U,E)=>{l?.({component:xm,action:"Click",label:U});let X={preferences:`${E.Preferences??!1}`,performance:`${E.Performance??!1}`,marketing:`${E.Marketing??!1}`,userLocation:A};K?.logMetric(`${U}_clicks_modal`,X)},Y=()=>{if(!b)return;let U=ac(b);pe(U),j("accept_essential",U)},J=()=>{if(!b)return;let U=im(b,_);pe(U),j("accept_selected",U)};return g?x(t5,{isDisplayed:u??D,backgroundType:n,portalRoot:o,children:[L==="landing"&&i(x5,{backgroundType:n,supportedLocales:e,title:g.landingScreenTitle,content:g.content.json,settingsButtonText:g.settingsButtonText,onSettingsbuttonClick:()=>z("settings"),acceptAllButtonText:g.acceptAllButtonText,onAcceptAllButtonClick:ae,essentialOnlyButtonText:g.essentialOnlyButtonText,onAcceptEssentialButtonClick:Y,onLocaleChange:r}),L==="settings"&&i(v5,{backgroundType:n,supportedLocales:e,title:g.landingScreenTitle,cookieCategories:g.cookieCategoriesCollection.items,activeToggleLabel:g.toggleEnabledText,inactiveToggleLabel:g.toggleDisabledText,categoriesState:_,updateCategoriesState:$,acceptAllButtonText:g.acceptAllButtonText,essentialOnlyButtonText:g.essentialOnlyButtonText,acceptSelectedButtonText:g.acceptSelectedButtonText,onAcceptAllButtonClick:ae,onAcceptEssentialButtonClick:Y,onAcceptSelectedButtonClick:J,onLocaleChange:r})]}):null};I5.displayName=xm;var DC=mm(I5,ds.COOKIE_MODAL_COMPONENTS);var lc=({children:e,client:t,...o}
9346)=>{let{isPreview:n=!1,isSSR:r=!1,currentLocale:s="en-US"}=o,l={isPreview:n,isSSR:r,currentLocale:s,client:t},p=i(Ia.Provider,{value:l,children:i(Mn.Provider,{value:o,children:e})});if(t)return p;let d=new hd({link:Rd,cache:new Sd});return i(Zl,{client:d,children:p})};var Wo=T(P());var PC="CookieSettings",k5=({backgroundType:e="White",cookieDomain:t,onSubmit:o,onEvent:n})=>{let r=(0,Wo.useContext)(Ia),{data:s}=Cn(am,r,{client:r.client}),l=va(s?.cookieModalCollection.items),{categorySettings:p,cookieCategoryMap:d,enableCookieDeletion:u}=(0,Wo.useMemo)(()=>{if(!l?.cookieCategoriesCollection?.items)return{categorySettings:void 0,cookieCategoryMap:void 0,enableCookieDeletion:!1};let F=l.cookieCategoriesCollection.items,$=sm(l.cookieCategoriesCollection.items),{enableCookieDeletion:B}=l;return{categorySettings:F,cookieCategoryMap:$,enableCookieDeletion:B}},[l]),y=cm(t),[m,g]=(0,Wo.useState)("Unknown"),[f,b]=(0,Wo.useState)({}),S=(F,$)=>{let B=Ho(f);B[F]=$,b(B),I("Enabled")},[C,I]=(0,Wo.useState)("Disabled"),k=()=>{I("Saved"),setTimeout(()=>{I("Disabled")},3e3)},[v,A]=(0,Wo.useState)(),w=(0,Wo.useCallback)(F=>{if(!d||!p)return;ym(y,F);let $=um(y,F,d,u);for(let B in $){if($[B]?.wasRemoved)continue;let V={cookieName:B,userLocation:m};v?.logMetric("tracking_cookie_misconfiguration",V)}},[y,m,d,p,v,u]);(0,Wo.useEffect)(()=>{let F=window.location.hostname,$=new Qr(ds.COOKIE_MODAL_COMPONENTS,F);A($)},[A]),(0,Wo.useEffect)(()=>{if(!p)return;let F=()=>{let B=pm(p);B["sc-cookies-accepted"]&&(b(B),clearInterval($))},$=setInterval(F,1e3);return F(),()=>clearInterval($)},[p,b]),(0,Wo.useEffect)(()=>{if(!v)return;(async()=>{try{let $=await lm();g($)}catch($){let B=Ft($);v.logError(PC,"userLocation",B)}})()},[g,v]);let D=()=>{if(!p)return;let F=im(p,f);w(F),k(),M("save_changes",F),o?.({userLocation:m,cookieAcceptance:F})},M=(F,$)=>{n?.({component:PC,action:"Click",label:F});let B={preferences:`${$.Preferences??!1}`,performance:`${$.Performance??!1}`,marketing:`${$.Marketing??!1}`,userLocation:m};v?.logMetric(`${F}_clicks_settings`,B)};if(!l)return null;let _={isDisabled:C==="Disabled",isPrimary:C!=="Saved",testId:"mwp-cookie-settings-save-btn",text:C==="Saved"?l.changesSavedText:l.saveChangesText,onClick:D};return x(n5,{backgroundType:e,children:[i("div",{"data-testid":"mwp-cookie-settings-page-body",className:"settings-page-body",children:i(Cm,{title:l.settingsScreenTitle,cookieCategories:l.cookieCategoriesCollection.items,categoriesState:f,updateCategoriesState:S,activeToggleLabel:l.toggleEnabledText,inactiveToggleLabel:l.toggleDisabledText})}),i("div",{"data-testid":"mwp-cookie-settings-page-footer",className:"settings-page-footer",children:i(ka,{..._})})]})};k5.displayName=PC;var NC=mm(k5,ds.COOKIE_MODAL_COMPONENTS);var _m=T(P());var M5=T(P());var Ta="en-US",el={[Ta]:{code:Ta,name:"English (United States)"}},dJ=e=>{let t=new URL(e,window.location.href);return window.location.hostname!==t.hostname?!1:window.location.pathname!==t.pathname},uJ={currentLocale:Ta,supportedLocales:el,onError:console.error,isPreview:!1,isSSR:!1,isUrlCurrent:dJ},Ge=(0,M5.createContext)({onError:e=>console.error(e),currentLocale:Ta,hostname:"unknown",supportedLocales:el}),EC=({children:e,value:t})=>i(Ge.Provider,{value:aa(uJ,t),children:e});var yJ=(e,t,o)=>{Im({"gtm.start":Date.now(),event:"gtm.js"});let n=e.createElement("script");n.async=!0,n.src=`https://www.googletagmanager.com/gtm.js?id=${t}`,o&&(n.nonce=o),e.head.appendChild(n)},vm=(e,t)=>{if(e==="")return;let o=T5(e);window[`ga-disable-${o}`]=!t},T5=e=>e.includes("UA-")||e.includes("G-")?e:`UA-${e}`,Im=e=>{window.dataLayer=window.dataLayer??[],window.dataLayer.push(e)},mJ=(e,t,o)=>{window&&(vm(t,!0),yJ(document,e,o))},gJ=e=>{(window.ga.q=window.ga.q??[]).push(...e)},fJ=e=>{window.GoogleAnalyticsObject="ga",window.ga=window.ga??gJ,window.ga.l=new Date().getTime;let t=document.createElement("script");t.async=!0,t.src="https://www.google-analytics.com/analytics.js",e&&(t.nonce=e),document.head.appendChild(t)},bJ=(e,t=[],o)=>{if(window)if(vm(e,!0),e.includes("UA-"))fJ(o),ga("create",e,"auto"),t.forEach(n=>{ga("require",n.name,n.options)}),ga("set","anonymizeIp",!0),ga("send","pageview");else{window.dataLayer=window.dataLayer??[];let n=document.createElement("script");
9346n.async=!0,n.src=`https://www.googletagmanager.com/gtag/js?id=${e}`,n.onload=()=>{Im({js:new Date,config:e})},o&&(n.nonce=o),document.head.appendChild(n)}},A5=(e,t,o,n)=>{let r=T5(t);e&&t?mJ(e,r,n):t&&bJ(r,o,n)};var km=T(P());var _5="sc-language";var w5=c` 9347 .sdsm-dropdown-button { 9348 font-size: 14px; 9349 line-height: 20px; 9350 } 9351 9352 .${MM} { 9353 max-width: 200%; 9354 } 9355`;var tl=({currentLocale:e,supportedLocales:t,onLocaleChange:o,className:n,buttonComponent:r})=>{let s=(0,km.useContext)(Ge);e??(e=s.currentLocale),t??(t=s.supportedLocales??el),o??(o=s.onLocaleChange);let l=Object.values(t),p=(0,km.useCallback)(u=>{let y=u.id;to.get("Preferences")==="true"&&to.set(_5,y,{domain:Mr(window.location.host),secure:!0}),s.onEvent?.({action:dn.LocaleSelect,component:"LocaleDropdown",label:`Language: ${y}`}),o?.(y)},[s,o]);l.sort((u,y)=>u.code.localeCompare(y.code));let d=l.map(u=>{let y=$d[u.code]??u.name;return{id:u.code,title:y}});return i(ls,{items:d,className:h(w5,n),"data-testid":"gc-locale-language",selectedItemId:e??Ta,onItemSelect:p,buttonComponent:r})};tl.displayName="LocaleDropdown";var Tm=T(P());var hJ=c` 9356 font-family: ${a("--font-family")}; 9357 9358 * { 9359 box-sizing: border-box; 9360 margin: 0; 9361 } 9362`,D5=c` 9363 ${is} 9364 margin-bottom: ${a("--spacing-m")}; 9365 text-transform: uppercase; 9366`,Mm=c` 9367 ${hJ} 9368 9369 /* override site settings that override header behaviors */ 9370 h1,h2,h3,h4,h5,h6 { 9371 font-family: ${a("--font-family")}; 9372 line-height: inherit; 9373 text-transform: initial; 9374 } 9375 9376 /* Ensure consistent rendering of lists */ 9377 ul { 9378 list-style: disc outside; 9379 } 9380`,CJ=c` 9381 .modal-header { 9382 display: flex; 9383 flex-direction: row; 9384 justify-content: space-between; 9385 margin-bottom: ${a("--spacing-xs")}; 9386 9387 .logo-container { 9388 display: flex; 9389 justify-content: center; 9390 flex-direction: column; 9391 opacity: ${a("--cookie-modal-logo-opacity")}; 9392 } 9393 9394 /* Ensure locale dropdown is aligned to the right regardless of logo display */ 9395 .locale-container { 9396 margin-inline-start: auto; 9397 } 9398 } 9399`,xJ=c` 9400 a { 9401 color: inherit; 9402 font-weight: 500; 9403 } 9404 > ul { 9405 padding-left: ${a("--spacing-l")}; 9406 margin-bottom: ${a("--spacing-s")}; 9407 } 9408 > ul > li { 9409 margin-bottom: ${a("--spacing-xxs")}; 9410 } 9411 > p { 9412 margin: 0 0 ${a("--spacing-xxs")}; 9413 } 9414 *[dir='rtl'] & { 9415 > ul { 9416 padding-left: unset; 9417 padding-right: ${a("--spacing-l")}; 9418 } 9419 } 9420`,vJ=c` 9421 .contentful-rich-text { 9422 /* Rich Text Base Styles */ 9423 ${H} { 9424 font-size: ${a("--cookie-modal-rich-text-base-desktop-font-size")}; 9425 font-weight: ${a("--cookie-modal-rich-text-base-desktop-font-weight")}; 9426 line-height: ${a("--cookie-modal-rich-text-base-desktop-font-line-height")}; 9427 font-stretch: ${a("--cookie-modal-rich-text-base-desktop-font-stretch")}; 9428 } 9429 9430 ${N} { 9431 font-size: ${a("--cookie-modal-rich-text-base-mobile-font-size")}; 9432 font-weight: ${a("--cookie-modal-rich-text-base-mobile-font-weight")}; 9433 line-height: ${a("--cookie-modal-rich-text-base-mobile-font-line-height")}; 9434 font-stretch: ${a("--cookie-modal-rich-text-base-mobile-font-stretch")}; 9435 } 9436 9437 /* Rich Text H3 Styles (title) */ 9438 h3 { 9439 ${H} { 9440 font-size: ${a("--cookie-modal-rich-text-title-desktop-font-size")}; 9441 line-height: ${a("--cookie-modal-rich-text-title-desktop-font-line-height")}; 9442 font-weight: ${a("--cookie-modal-rich-text-title-desktop-font-weight")}; 9443 font-stretch: ${a("--cookie-modal-rich-text-title-desktop-font-stretch")}; 9444 } 9445 ${N} { 9446 font-size: ${a("--cookie-modal-rich-text-title-mobile-font-size")}; 9447 line-height: ${a("--cookie-modal-rich-text-title-mobile-font-line-height")}; 9448 font-weight: ${a("--cookie-modal-rich-text-title-mobile-font-weight")}; 9449 font-stretch: ${a("--cookie-modal-rich-text-title-mobile-font-stretch")}; 9450 } 9451 } 9452 9453 ${xJ} 9454 } 9455`,P5=c` 9456 .category-border { 9457 border: ${a("--cookie-settings-category-border-width")} solid 9458 ${a("--cookie-settings-category-border-color")}; 9459 border-radius: ${a("--cookie-settings-category-border-radius")}; 9460 margin-bottom: ${a("--spacing-s")};
9461 padding: ${a("--cookie-settings-category-padding")}; 9462 } 9463 9464 .category-title-container { 9465 align-items: center; 9466 display: flex; 9467 margin-bottom: ${a("--spacing-xs")}; 9468 } 9469 9470 .category-title { 9471 flex: 1; 9472 9473 ${H} { 9474 font-size: ${a("--cookie-settings-category-title-desktop-font-size")}; 9475 font-stretch: ${a("--cookie-settings-category-title-desktop-font-stretch")}; 9476 font-weight: ${a("--cookie-settings-category-title-desktop-font-weight")}; 9477 line-height: ${a("--cookie-settings-category-title-desktop-font-line-height")}; 9478 } 9479 ${N} { 9480 font-size: ${a("--cookie-settings-category-title-mobile-font-size")}; 9481 font-stretch: ${a("--cookie-settings-category-title-mobile-font-stretch")}; 9482 font-weight: ${a("--cookie-settings-category-title-mobile-font-weight")}; 9483 line-height: ${a("--cookie-settings-category-title-mobile-font-line-height")}; 9484 } 9485 9486 *[dir='rtl'] & { 9487 text-align: right; 9488 } 9489 } 9490 9491 .category-status { 9492 font-size: 12px; 9493 margin-right: ${a("--spacing-xs")}; 9494 *[dir='rtl'] & { 9495 margin-right: unset; 9496 margin-left: ${a("--spacing-xs")}; 9497 } 9498 } 9499 9500 .category-toggle { 9501 display: flex; 9502 flex-direction: column; 9503 justify-content: center; 9504 } 9505 9506 /* Rich text base styles first; settings screen styles second for cascade priority */ 9507 ${vJ} 9508 9509 .category-description { 9510 ${H} { 9511 font-size: ${a("--cookie-settings-category-description-desktop-font-size")}; 9512 font-stretch: ${a("--cookie-settings-category-description-desktop-font-stretch")}; 9513 font-weight: ${a("--cookie-settings-category-description-desktop-font-weight")}; 9514 line-height: ${a("--cookie-settings-category-description-desktop-font-line-height")}; 9515 } 9516 ${N} { 9517 font-size: ${a("--cookie-settings-category-description-mobile-font-size")}; 9518 font-stretch: ${a("--cookie-settings-category-description-mobile-font-stretch")}; 9519 font-weight: ${a("--cookie-settings-category-description-mobile-font-weight")}; 9520 line-height: ${a("--cookie-settings-category-description-mobile-font-line-height")}; 9521 } 9522 } 9523`,IJ=c` 9524 .modal-footer { 9525 padding-top: ${a("--spacing-s")}; /* Padding set by design */ 9526 text-align: center; 9527 display: flex; 9528 /* Reverse direction so that when we wrap on smaller screens, the break happens on 1st, rather than last element. 9529 NOTE: requires that content be rendered in reverse order */ 9530 flex-direction: row-reverse; 9531 gap: ${a("--spacing-s")}; 9532 align-self: center; 9533 justify-content: center; 9534 9535 /* Button spacing managed via gap instead of margins */ 9536 .sdsm-button { 9537 margin: 0; 9538 } 9539 9540 ${N} { 9541 flex-wrap: wrap; 9542 width: 100%; 9543 } 9544 9545 ${Mt} { 9546 /* See note above, accounts for content rendered in reverse order. */ 9547 flex-direction: column-reverse; 9548 align-items: center; 9549 } 9550 } 9551`,kJ=c` 9552 .settings-page-footer { 9553 padding-top: ${a("--spacing-xl")}; 9554 display: flex; 9555 flex-direction: row; 9556 gap: ${a("--spacing-s")}; 9557 align-self: center; 9558 justify-content: center; 9559 9560 /* Button spacing managed via gap instead of margins */ 9561 .sdsm-button { 9562 margin: 0; 9563 } 9564 9565 ${Mt} { 9566 padding-top: unset; 9567 flex-direction: column; 9568 } 9569 } 9570`,pc=c` 9571 /* card style. */ 9572 background-color: ${a("--bg-color")}; 9573 border: ${a("--cookie-settings-border-width")} solid ${a("--cookie-modal-border-color")}; 9574 border-radius: ${a("--cookie-modal-border-radius")}; 9575 box-shadow: ${a("--cookie-settings-box-shadow")}; 9576 color: ${a("--fg-color")}; 9577 padding: ${a("--cookie-settings-padding")}; 9578`,N5=c` 9579 --padding-horizontal: ${a("--cookie-modal-desktop-horizontal-padding")}; 9580 --padding-vertical: ${a("--cookie-modal-desktop-vertical-padding")}; 9581 9582 ${N} { 9583 --padding-horizontal: ${a("--cookie-modal-mobile-horizontal-padding")}; 9584 --padding-vertical: ${a("--cookie-modal-mobile-vertical-padding")}; 9585 } 9586 9587 --max-height: calc(100vh - var(--padding-vertical)); 9588 /* stylelint-disable-next-line declaration-block-no-duplicate-custom-properties */ 9589 --max-height: calc(100dvh - var(--padding-vertical)); 9590 9591 .sdsm-modal-content { 9592 ${pc} 9593 border-width: ${a("--cookie-modal-border-width")}; 9594 box-shadow: ${a("--cookie-modal-box-shadow")}; 9595 padding: var(--padding-vertical) var(--padding-horizontal); 9596 width: max-content; 9597 9598 /* stop-gap solution to prevent any part from being hidden */ 9599 overflow: auto; 9600 9601 /* prevents overflow of this container. */ 9602 max-height: 100%; 9603 max-width: 100%; 9604 9605 ${H} {
9606 max-width: ${a("--cookie-settings-max-width")}; 9607 min-width: ${a("--cookie-modal-min-width")}; 9608 } 9609 } 9610 9611 .cookie-landing-screen, 9612 .cookie-settings-screen { 9613 max-height: calc(var(--max-height) - calc(2 * calc(1px + var(--padding-vertical)))); 9614 9615 display: flex; 9616 flex-direction: column; 9617 9618 /* Header Styles */ 9619 ${CJ} 9620 9621 /* Body Styles */ 9622 .modal-body { 9623 flex: 1; 9624 overflow-y: auto; 9625 min-height: 5em; 9626 margin-bottom: ${a("--spacing-xs")}; 9627 padding-right: ${a("--cookie-modal-body-inline-padding")}; 9628 9629 *[dir='rtl'] & { 9630 padding-right: unset; 9631 padding-left: ${a("--cookie-modal-body-inline-padding")}; 9632 } 9633 9634 .cookie-title { 9635 ${D5} 9636 } 9637 9638 h3, 9639 b { 9640 font-weight: 500; 9641 } 9642 9643 ${P5} 9644 } 9645 9646 /* Footer Styles */ 9647 ${IJ} 9648 } 9649`,E5=c` 9650 /* Container Styles */ 9651 justify-self: center; 9652 max-width: ${a("--cookie-settings-max-width")}; 9653 9654 /* Body Styles */ 9655 .settings-page-body { 9656 text-align: left; 9657 9658 .cookie-title { 9659 ${D5} 9660 } 9661 9662 ${P5} 9663 } 9664 9665 /* Footer Styles */ 9666 ${kJ} 9667`;var R5=({backgroundType:e,className:t,children:o,isDisplayed:n,portalRoot:r})=>{q("sdsm-cookie-modal-settings");let s=Zo(),{width:l}=hn(),[p,d]=(0,Tm.useState)(en.Middle);return(0,Tm.useEffect)(()=>{let u=en.Middle;s==="Mobile"&&(l??Number.POSITIVE_INFINITY)<=qk&&(u=en.Bottom),d(u)},[s,l,d]),i(By,{isBlocking:!0,disableBackgroundScroll:!0,verticalAlignment:p,isDisplayed:n,portalRoot:r,className:h("sdsm-cookie-modal-settings",Mm,Ne(e),N5,t),contentClassName:h(pc),children:o})};var Am={buttonComponent:({text:e,isDisabled:t,isPrimary:o,onClick:n})=>{let r=o?Vo.Primary:void 0;return i(eo,{disabled:t,onClick:n,size:"Compact",type:r,children:e})},localeDropdownComponent:({currentLocale:e,supportedLocales:t,containerProvider:o,onLocaleChange:n})=>i(tl,{currentLocale:e.code,supportedLocales:t,containerProvider:o,onLocaleChange:n}),modalComponent:({backgroundType:e,children:t,isDisplayed:o,portalRoot:n})=>i(R5,{backgroundType:e,isDisplayed:o,portalRoot:n,children:t}),sectionComponent:({backgroundType:e,children:t})=>i("section",{className:h(pc,Ne(e)),children:t}),toggleComponent:({id:e,isChecked:t,onToggle:o})=>i(EM,{id:e,isChecked:t,onToggle:o??(()=>{})})};var RC=({portalRoot:e,cookieDomain:t,supportedLocales:o,GTMID:n="",GAID:r="",nonce:s,plugins:l,onLocaleChange:p,onComplete:d,preferencesAcceptedCallback:u,performanceAnalyticsCallback:y,marketingAnalyticsCallback:m,backgroundType:g,forceVisible:f,globalPrivacyControl:b,onGlobalPrivacyControlSet:S})=>{(0,_m.useEffect)(()=>{vm(r,!1)},[r]);let C=(0,_m.useContext)(Ge),{Anchor:I,globalApolloClient:k,currentLocale:v,isPreview:A,isSSR:w,onEvent:D,onError:M}=C;t??(t=C.hostname),o??(o=C.supportedLocales??el),p??(p=C.onLocaleChange);let _={...Am,isSSR:w,isPreview:A,currentLocale:v,client:k};return i(ia,{value:{Anchor:I},children:i(lc,{..._,children:i(DC,{...{supportedLocales:o,cookieDomain:t,portalRoot:e,backgroundType:g,onLocaleChange:p,onComplete:V=>{let{cookieAcceptance:L,userLocation:z}=V;Im({userLocation:z}),L.Performance&&A5(n,r,l,s),L.Preferences&&u?.(),L.Performance&&y?.(),L.Marketing&&m?.(),d?.(V)},onEvent:({label:V})=>D?.({component:"CookieModal",label:V,action:"Click"}),onError:M,forceVisible:f,globalPrivacyControl:b,onGlobalPrivacyControlSet:S}})})})};var F5=T(P());var FC=({backgroundType:e,cookieDomain:t,onSubmit:o})=>{q("sdsm-cookie-modal-settings");let n=(0,F5.useContext)(Ge),{Anchor:r,currentLocale:s,isPreview:l,isSSR:p,onEvent:d,onError:u,globalApolloClient:y}=n;t??(t=n.hostname);let m={...Am,isSSR:p,isPreview:l,currentLocale:s,client:y},g={backgroundType:e,cookieDomain:t,onSubmit:o,onEvent:d,onError:u};return i(ia,{value:{Anchor:r},children:i("div",{"data-testid":"mwp-cookie-settings",className:h("sdsm-cookie-modal-settings",Mm,E5),children:i(lc,{...m,children:i(NC,{...g})})})})};var MJ=zk(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()}),B5=MJ;var L5=T(P());var $5={utm_source:"global_footer",utm_medium:"referral",utm_campaign:"universal_navigation",utm_content:"footer_item_link"},BC=e=>{let{id:t,url:o,title:n,analyticsLabel:r,trackingParameters:s}=e,{isUrlCurrent:l,onEvent:p,hostname:d}=(0,L5.useContext)(Ge),u=s??(d?{...$5,utm_source:B5(d)}:$5),y=Qd(o,u),m=()=>{p?.({action:dn.Click,component:"FooterItem",label:r,url:y})};return i(N2,{id:t,isSelected:l?.(o??""),url:y,title:n,onClick:m},t)};var q5=T(P());var H5={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FooterV3CollectionQuery"}
9667,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"preview"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"footerV3Collection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"preview"},value:{kind:"Variable",name:{kind:"Name",value:"preview"}}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterV3All"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"contentType"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ImageAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"media"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetAll"}}]}},{kind:"Field",name:{kind:"Name",value:"wrap"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterItemV3All"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterItemV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterLocaleDropdownAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterLocaleDropdown"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterCookiesSettingsLinkAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterCookiesSettingsLink"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterGroupAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterGroup"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"groupKey"}},{kind:"Field",name:{kind:"Name",value:"itemsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterItemV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterItemV3All"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterLocaleDropdown"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterLocaleDropdownAll"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterCookiesSettingsLink"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterCookiesSettingsLinkAll"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"Field",name:{kind:"Name",value:"hideOnDomains"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"FooterV3All"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterV3"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"logo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageAll"}}]}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"hideLogoOnDomains"}},{kind:"Field",name:{kind:"Name",value:"columnsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterGroup"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterGroupAll"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"barCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"10"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FooterGroup"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"FooterGroupAll"}}]}}]}}]}}]}}]};var V5={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GlobalNavConfigCollectionQuery"}
9667,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"preview"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"locale"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"globalNavConfigCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"preview"},value:{kind:"Variable",name:{kind:"Name",value:"preview"}}},{kind:"Argument",name:{kind:"Name",value:"locale"},value:{kind:"Variable",name:{kind:"Name",value:"locale"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"1"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"globalNavLabel"}},{kind:"Field",name:{kind:"Name",value:"globalNavButtonAriaLabel"}},{kind:"Field",name:{kind:"Name",value:"globalNavGroupsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"20"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GlobalNavAll"}}]}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AnalyticsAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Analytics"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"label"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"AssetAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Asset"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"description"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"contentType"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ImageAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"media"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetAll"}}]}},{kind:"Field",name:{kind:"Name",value:"wrap"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ButtonAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Button"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"json"}}]}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"size"}},{kind:"Field",name:{kind:"Name",value:"theme"}},{kind:"Field",name:{kind:"Name",value:"buttonType"}},{kind:"Field",name:{kind:"Name",value:"image"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ImageAll"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"iconName"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"CallToActionAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CallToAction"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AnalyticsAll"}}]}},{kind:"Field",name:{kind:"Name",value:"presentation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Button"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ButtonAll"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"url"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"GlobalNavHighlightAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GlobalNavHighlight"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"cta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CallToActionAll"}}]}},{kind:"Field",name:{kind:"Name",value:"background"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AssetAll"}}]}},{kind:"Field",name:{kind:"Name",value:"cardTitleV2"}},{kind:"Field",name:{kind:"Name",value:"cardBodyV2"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"GlobalNavItemAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GlobalNavItem"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"hideHostnameRegex"}},{kind:"Field",name:{kind:"Name",value:"analytics"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"AnalyticsAll"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"GlobalNavAll"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"GlobalNav"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sys"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"groupKey"}},{kind:"Field",name:{kind:"Name",value:"primaryHostnameRegex"}},{kind:"Field",name:{kind:"Name",value:"hideHostnameRegex"}},{kind:"Field",name:{kind:"Name",value:"highlight"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GlobalNavHighlightAll"}}]}},{kind:"Field",name:{kind:"Name",value:"itemsCollection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"IntValue",value:"20"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GlobalNavItemAll"}}]}}]}}]}}]};var wm=({id:e,title:t,items:o,onClick:n,orientation:r="Vertical",isFooterBar:s,beforeItems:l,afterItems:p,onToggle:d})=>{if(!o?.length&&!l&&!p)return null;let u=o?.map((y,m)=>i(BC,{id:y.id,url:y.url,title:y.title,analyticsLabel:y.analyticsLabel},y.id||m));return x(_2,{isFooterBar:s,id:e,title:t,onClick:n,orientation:r,onToggle:d,children:[l,...u,p]})};var $C=c` 9668 width: 100%; 9669 9670 ${H} { 9671 width: auto; 9672 } 9673`,O5=c` 9674 display: flex; 9675 align-items: center; 9676 margin-top: ${a("--spacing-xxxs")}; 9677 9678 padding-block-end: ${a("--spacing-xs")}; 9679 9680 ${H} { 9681 padding-block-end: 0; 9682 } 9683`,G5=c` 9684 &.sdsm-logo { 9685 fill: #221f20; 9686 } 9687`;var z5=c` 9688 ${N} { 9689 width: 100%; 9690 .sdsm-dropdown, 9691 .sdsm-dropdown-button { 9692 width: 100%; 9693 } 9694 } 9695`,U5=c` 9696 display: flex; 9697 flex-direction: column; 9698 gap: ${a("--spacing-s")}; 9699`,W5=c` 9700 flex-direction: row; 9701 align-items: center; 9702 9703 ${N} { 9704 flex-direction: column; 9705 align-items: flex-start; 9706 } 9707`,Q5=c` 9708 color: ${a("--fg-color")}; 9709 /* Set font-family here or the var from the default motif is used */ 9710 font-family: ${a("--font-family")}; 9711 font-size: 14px; 9712 font-weight: 600; 9713 line-height: 16px; 9714`;var Dm=({title:e,currentOrientation:t,buttonComponent:o})=>x("div",{className:h(U5,{[W5]:t==="Horizontal"}),children:[e&&i("label",{className:Q5,children:e}),i(tl,{className:z5,buttonComponent:o})]});Dm.displayName="FooterLocaleDropdown";var LC=(e,t,o)=>{let n=Ho(t),r=e.reduce((l,p)=>{let d=n.findIndex(y=>y.groupKey.trim()===p.groupKey.trim()),u=AJ(p.itemsCollection.items,o);if(!u.length)return l;if(d>=0){let m=n.splice(d,1)[0],g={id:m.id??p.sys.id,title:m.title??p.title,items:m.items.concat(u),analyticsLabel:m.analyticsLabel??p.analytics?.label};l.push(g)}
9714else{let y={id:p.sys.id,title:p.title,items:u,analyticsLabel:p.analytics?.label};l.push(y)}return l},[]),s=n.map(l=>({id:l.id,title:l.title,items:l.items,analyticsLabel:l.analyticsLabel}));return[...r,...s]},HC=(e,t)=>e.filter(n=>!n.hideOnDomains||!n.hideOnDomains.includes(t)).map(n=>({...n,itemsCollection:{...n.itemsCollection,items:n.itemsCollection.items.filter(r=>!r.hideOnDomains||!r.hideOnDomains.includes(t))}})),AJ=(e,t)=>e.map(n=>{if(n.__typename==="FooterCookiesSettingsLink")return t?{id:n.sys.id,title:n.title,url:t}:void 0;if(n.__typename!=="FooterLocaleDropdown")return{analyticsLabel:n?.analytics?.label,id:n.sys.id,title:n.title,url:n.url}}).filter(n=>!!n);var K5=({customColumns:e,customFooterBar:t,motifScheme:o,backgroundColor:n,logo:r,socialBar:s,footerType:l="Full Footer",cookieSettingsUrl:p,hasSideNav:d,customLocaleDropdownButton:u,className:y,onGroupToggle:m})=>{let{Anchor:g,supportedLocales:f,currentLocale:b,hostname:S,isPreview:C,isSSR:I,globalApolloClient:k}=(0,q5.useContext)(Ge),{data:v,loading:A,error:w}=Cn(H5,{currentLocale:b??Ta,isPreview:C??!1,isSSR:I??!1},{client:k});if(A||w||!S||!v)return null;let D=o??Ne(n)??"sdsm-tertiary",M=Object.keys(f||{}).length>1,_=va(v.footerV3Collection.items),F=_?.columnsCollection.items??[],$=HC(F,S),B=_?.barCollection.items??[],V=HC(B,S),L;V.forEach(ne=>{let oe=ne.itemsCollection.items.find(pe=>pe.__typename==="FooterLocaleDropdown");oe&&!oe.hideOnDomains?.includes(S)&&(L={title:oe.title,id:oe.sys.id})});let z=LC($,e??[],p),K=LC(V,t??[],p),ye;if(K.length&&(r?ye=r:ye=i(_i,{url:_?.url,className:O5,innerLogoClassName:D!=="sdsm-secondary"?G5:void 0,logoType:"SnapInc",openInNewTab:!0}),ye&&!_?.hideLogoOnDomains?.includes(S)&&(K[0].beforeItems=i("li",{children:ye})),L)){let ne=i("li",{id:L.id,className:$C,children:i(Dm,{title:L.title,currentOrientation:"Horizontal",buttonComponent:u})},L.id);K.push({id:"localeDropdownGroup",title:"",items:[],orientation:"Horizontal",afterItems:ne})}let se=null;if(l==="No Footer"){if(!M||!L)return null;let ne=i("li",{id:L.id,className:$C,children:i(Dm,{title:L.title,currentOrientation:"Horizontal",buttonComponent:u})},L.id);se=x(oy,{motifScheme:D,className:y,children:[s,i(ZS,{hasSideNav:d,children:i(wm,{id:"localeDropdown",title:"",items:[],orientation:"Horizontal",afterItems:ne},"noFooter")})]})}else{let ne=i(ZS,{hasSideNav:d,children:K.map((oe,pe)=>i(wm,{id:oe.id,title:oe.title,items:oe.items,orientation:"Horizontal",beforeItems:oe.beforeItems,afterItems:oe.afterItems,isFooterBar:!0},`${pe}-${oe.id}`))});if(l==="Simple Footer")se=x(oy,{motifScheme:D,className:y,children:[s,ne]});else{let oe=z.map((pe,ae)=>i(wm,{id:pe.id,title:pe.title,items:pe.items,onToggle:m},`${ae}-${pe.id}`));se=x(oy,{motifScheme:D,className:y,children:[s,i(k2,{hasSideNav:d,children:oe}),ne]})}}return i(ia,{value:{Anchor:g},children:se})};var VC=({footerType:e="Full Footer",onGroupToggle:t,...o})=>i(K5,{footerType:e,...o,onGroupToggle:t});var Pi=T(P());var oL=T(P());var X5=T(P());var Y5=T(P());var OC=e=>{let{Anchor:t,onEvent:o}=(0,Y5.useContext)(Ge),{url:n,target:r,buttonType:s,theme:l,title:p,size:d,image:u,iconName:y}=e;return i(ia,{value:{Anchor:t},children:i(eo,{link:n,target:r,type:s??l,onClick:()=>{o?.({action:dn.Click,component:"Button",url:n,label:e.analyticsLabel})},size:d,image:u?.media?{...u?.media,width:24,height:24}:void 0,iconName:y,children:p?.json&&i(om,{document:p.json})})})};OC.displayName="Button";var GC=e=>{let{onError:t}=(0,X5.useContext)(Ge),{presentation:o,analytics:n,url:r}=e;return r&&t?.(new Error('The "url" field on CallToAction is no longer supported')),o.__typename==="Button"?i(OC,{analyticsLabel:n?.label,...o}):(t?.(new Error(`Unable to render CTA presentation "${o.__typename}"`)),null)};GC.displayName="CallToAction";var Pm=T(P());var J5=({triggered:e,ctaProps:t})=>{let o=(0,Pm.useContext)(Ge),{onEvent:n}=o,{presentation:r,url:s,analytics:l}=t??{},p=r?.__typename==="Button";(0,Pm.useEffect)(()=>{if(!e||!p)return;let d=s??r?.url;n&&n({action:dn.Click,component:"VirtualCallToAction",label:l?.label,url:d}),window&&(window.location.href=d)},[e,s,l?.label,n,p,r?.url])};var zC=(e,t)=>{let o={baseDprSettings:{height:e}};return t<=e?o:e<t&&t<e*2?(o.additionalDpr={dpr:Number.parseFloat((t/e).toFixed(4)),settings:{height:t}},o):(o.additionalDpr={dpr:2,settings:{height:e*2}},o)},cc=(e,t,o)=>{let n=zC(e,t);return n.additionalDpr?{size:{sizeToUrl:[{size:"1x",settings:{...n.baseDprSettings,quality:o}},{size:`${n.additionalDpr.dpr}x`,settings:{...n.additionalDpr.settings,quality:o}}]}}:{image:{height:e,quality:o}}};var Tn=({imageUrl:e,settings:t,currentUrl:o})=>{if(!t||!e)return e??"";let{progressive:n,width:r,height:s,format:l,quality:p=40,fit:d}=t;
9714try{let u=new URL(e,o);return l&&u.searchParams.set("fm",l),d&&u.searchParams.set("fit",d),p>0&&p<=100?u.searchParams.set("q",String(p)):u.searchParams.set("q",String(40)),n&&u.searchParams.set("fl","progressive"),r&&0<r&&r<4e3&&u.searchParams.set("w",String(r)),s&&0<s&&s<4e3&&u.searchParams.set("h",String(s)),u.href}catch(u){return console.error("Error parsing URL",e,u),e}};var dc=T(P());var _J=new Set(["slow-2g","2g","3g"]),Z5=11,Aa=(e,t,o)=>{if(!e)return"";if(t&&"size"in t&&t.size)return t.size.sizeToUrl.map(({size:r,settings:s})=>r?`${Tn({imageUrl:e,settings:{...s,format:o??s?.format}})} ${r}`:Tn({imageUrl:e,settings:{...s,format:o??s?.format}})).join(",");let n=t&&"image"in t&&t.image?t.image:void 0;return Tn({imageUrl:e,settings:{...n,format:o??n?.format}})};function Ie(){let e=(0,dc.useContext)(Ze),t=e.getCachedHighEntropyHints()?.connection,o=e.getLowEntropyHints().saveData||!!(t&&_J.has(t)),n=e.getLowEntropyHints();return wJ({isSlowConnection:o,supportsAvif:fd(n),supportsWebP:Ik(n)})}var wJ=e=>{let{isSlowConnection:t,supportsAvif:o,supportsWebP:n}=e,r=(0,dc.useCallback)((l,p)=>{if(!l)return;p&&t&&("image"in p?aa(p,{image:{quality:Z5}}):p.quality=Z5);let d=l.toLowerCase().endsWith(".svg"),u=[];if(d)u=[{type:"image/svg+xml",url:l}];else{let m=p&&"size"in p?p?.size?.sizes:void 0,g=p&&"media"in p?p?.media:void 0;u.unshift({type:"image/webp",url:Aa(l,p,"webp"),sizes:m,media:g}),o&&u.unshift({type:"image/avif",url:Aa(l,p,"avif"),sizes:m,media:g})}let y=p&&"image"in p?{image:p?.image}:void 0;return p&&"size"in p&&p.size&&(y={image:p.size.sizeToUrl.reduce((g,f)=>g&&Number.parseFloat(g.size)<Number.parseFloat(f.size)?g:f).settings}),{sources:u,default:Aa(l,y,d?void 0:"webp")}},[t,o]),s=(0,dc.useCallback)((l,p)=>{if(!l)return;if(l.toLowerCase().endsWith(".svg"))return l;let d=o&&"avif"||n&&"webp"||"jpg",u={...p};return d&&(u.format=d),Tn({imageUrl:l,settings:u})},[o,n]);return{getImageSources:r,getBestBgImgSrc:s}};var eL=T(P());var uc=e=>e?e.startsWith("video"):!1,Nm=e=>e?e.startsWith("image"):!1;var tL=e=>{let{onError:t}=(0,eL.useContext)(Ge),{contentType:o,url:n,description:r,sizedSrcSets:s}=e,{getImageSources:l}=Ie();if(Nm(o)){let p=l(n);return s&&(p=l(n,{size:s})),i(Ke,{sourceType:o,imgSrcs:p,altText:r})}return uc(o)?i(Ke,{sourceType:o,videoSource:n,showVideoControls:!0,maxHeight:600,altText:r}):(t?.(`Unsupported Mdea type ${o}`),null)};var DJ=[480,960,1440,1920,2560],PJ=452,Em=`(max-width: ${Mo}px) 100vw, calc(100vw - ${PJ}px)`,UC={sizeToUrl:DJ.map(e=>({size:`${e}w`,settings:{quality:70,width:e}})),sizes:Em},yc=e=>{let[t,o]=(0,oL.useState)(0);J5({triggered:t,ctaProps:e?.cta});let{cta:n,background:r,cardTitleV2:s,cardBodyV2:l}=e,p=()=>{o(t+1)};return i(aS,{cardTitleV2:s,cardBodyV2:l,background:i(tL,{...r,sizedSrcSets:UC}),callToAction:i(GC,{...n}),onActivate:p})};yc.displayName="GlobalNavHighlight";var pL=T(P());function NJ(e,t){var o=[];return zr(e,function(n,r,s){t(n,r,s)&&o.push(n)}),o}var nL=NJ;var EJ="Expected a function";function RJ(e){if(typeof e!="function")throw new TypeError(EJ);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var aL=RJ;function FJ(e,t){var o=Yo(e)?hk:nL;return o(e,aL(tn(t,3)))}var rL=FJ;var lL=T(P());var sL=T(P());var iL=T(P());var BJ=(e,t)=>!!e&&new RegExp(e).test(t),WC=({hideHostnameRegex:e,title:t,url:o,analytics:n})=>{let{onEvent:r,isUrlCurrent:s}=(0,iL.useContext)(Ge),l=()=>{r&&r({action:dn.Click,component:"GlobalNavItem",label:n?.label,url:o})};return BJ(e,window.location.hostname)?null:i(tr,{title:t,href:o,showExternalIcon:!1,onClick:l,isSelected:s?.(o)})};WC.displayName="GlobalNavItem";var QC=({title:e,groupKey:t,itemsCollection:o,highlight:n,onGlobalNavGroupSummaryClick:r})=>{let{isUrlCurrent:s}=(0,sL.useContext)(Ge),l=i(yc,{...n}),p=r?()=>r({navGroupKey:t,title:e}):void 0;return i(Zb,{navGroupKey:t,title:e,mobileHighlight:l,isExpandable:!0,isActive:o?.items.some(d=>s?.(d.url)),onSummaryClick:p,children:o?.items.map((d,u)=>i(WC,{...d},`nav-item-${u}`))})};QC.displayName="GlobalNavGroup";function $J(e,t){return[...e.filter(t),...rL(e,t)]}var LJ=(e,t)=>e.filter(o=>!o.hideHostnameRegex||new RegExp(o.hideHostnameRegex).test(t)),qC=({navGroups:e,onGlobalNavGroupSummaryClick:t})=>{let{hostname:o}=(0,lL.useContext)(Ge),n=l=>!!l.primaryHostnameRegex&&new RegExp(l.primaryHostnameRegex).test(o),r=LJ(e,o),s=$J(r,n);return i(ue,{children:s.map(l=>i(QC,{...l,onGlobalNavGroupSummaryClick:t},l.groupKey))})};qC.displayName="GlobalNavGroupCollection";var KC=e=>{let t=new Map;return e.navGroups.filter(o=>!!o.highlight).forEach(o=>{t.set(o.groupKey,i(yc,{...o.highlight}))}),i(s1,{highlights:t})};KC.displayName="GlobalNavHighlightCollection";var jC=({motifScheme:e,backgroundColor:t,localNavMobile:o,localNavMobileFooter:n,navGroups:r,globalNavHeading:s,showMobileGlobalLinks:l,onGlobalNavGroupSummaryClick:p})=>{let{toggleExpanded:d}=(0,pL.useContext)(et);return i(pS,{localNavMobile:o,localNavMobileFooter:n,onNavClose:d??(()=>null),motifScheme:e,backgroundColor:t,globalNavHeading:s,highlight:i(KC,{navGroups:r}),globalNav:i(qC,{navGroups:r,onGlobalNavGroupSummaryClick:p}),showMobileGlobalLinks:l})};jC.displayName="GlobalNavGroupScreen";var Rm=T(P());var cL=(e,t=!1,o)=>{let{onError:n}=(0,Rm.useContext)(Ge);(0,Rm.useEffect)(()=>
9714{if(!(!document||!e)&&!o?.skipPreload?.())if(t){let r=e.map(s=>{let l=document.createElement("link");return l.rel="preload",l.as=uc(s.contentType)?"video":"image",l.href=s.url,l});document.head.append(...r)}else for(let r of e)if(uc(r.contentType)){let s=document.createElement("video"),l=document.createElement("source");l.type=r.contentType,l.src=r.url,s.appendChild(l),s.load()}else if(Nm(r.contentType)){if(!r.url)return;let s=document.createElement("picture"),l=document.createElement("source"),p=document.createElement("source"),d=document.createElement("img");if(r.url.endsWith(".svg"))d.src=r.url;else if(o?.sizedSrcSets){let{sizedSrcSets:u}=o;l.srcset=Aa(r.url,{size:u},"avif"),l.type="image/avif",p.srcset=Aa(r.url,{size:u},"webp"),p.type="image/webp",u.sizes&&(l.sizes=u.sizes,p.sizes=u.sizes,d.sizes=u.sizes),s.appendChild(l),s.appendChild(p),s.appendChild(d),d.srcset=Aa(r.url,{size:u},"jpg")}else l.srcset=Tn({imageUrl:r.url,settings:{format:"avif"}}),l.type="image/avif",p.srcset=Tn({imageUrl:r.url,settings:{format:"webp"}}),p.type="image/webp",s.appendChild(l),s.appendChild(p),s.appendChild(d),d.src=r.url}else n?.(`Cannot preload assets of type ${r.contentType}`)},[e,t,n,o])};var dL=Zt.Black,HJ="snapchat";et.displayName="GlobalHeaderContextSDSM";var VJ={sizedSrcSets:UC,skipPreload:()=>window?window.innerWidth<=Mo:!0},mc=({motifScheme:e,backgroundColor:t,className:o,defaultGroupKey:n,siteName:r,displayed:s,trackingSiteName:l,cta:p,ctaItems:d,localNavDesktop:u,localNavMenuItems:y,logo:m,logoProps:g,localNavMobile:f,localNavMobileFooter:b,onToggleExpanded:S,search:C,searchOpen:I,endChildrenDesktopClassName:k,endChildrenMobileClassName:v,showGlobalLinks:A=!0,showNavScreen:w,pathname:D,navItemAlignment:M,customIcon:_,lessMargins:F,addBottomBorder:$,headerClassName:B,onGlobalNavGroupSummaryClick:V})=>{let L=(0,Pi.useContext)(Ge),{Anchor:z,onEvent:K}=L,{data:ye}=Cn(V5,{currentLocale:L.currentLocale??Ta,isPreview:L.isPreview??!1,isSSR:L.isSSR??!1},{client:L.globalApolloClient}),se=va(ye?.globalNavConfigCollection.items),ne=(0,Pi.useMemo)(()=>se?.globalNavGroupsCollection.items??[],[se?.globalNavGroupsCollection.items]),oe=xt(),pe=(0,Pi.useMemo)(()=>A?ne.map(ie=>ie.highlight?.background).filter(ie=>!!ie):[],[ne,A]);cL(pe,!1,VJ);let ae=ie=>{K?.({component:"GlobalHeader",action:dn.Click,label:ie?"expand":"collapse"}),S?.(ie)},j=p??Pi.Children.toArray(d?.map((ie,ee)=>i(eo,{link:ie.url,type:ie.type,size:"Compact",onClick:ie.onClick,children:ie.title},ee))),Y=I?C:x(ue,{children:[j,C]}),J=g?i(_i,{...g,logoType:"Ghost"}):null,U=!(I&&oe),E=oe?v:k,X,W;return f?X=f:y&&(X=y?.map(({id:ie,url:ee,title:be,isSelected:Q,col1Label:le,col1Items:De,col2Label:me,col2Items:ve,col3Label:Ce,col3Items:_e,featuredItem:Pt})=>i(tr,{showExternalIcon:!1,href:ee,title:be,isSelected:Q,children:(De?.length||ve?.length||_e?.length||!!Pt)&&i(Xp,{col1Label:le,col1Items:De,col2Label:me,col2Items:ve,col3Label:Ce,col3Items:_e,featuredItem:Pt})},ie))),u?W=u:y&&(W=y?.map(({id:ie,url:ee,title:be,isSelected:Q,col1Label:le,col1Items:De,col2Label:me,col2Items:ve,col3Label:Ce,col3Items:_e,featuredItem:Pt})=>i(Yp,{url:ee,isSelected:Q,title:be??"",col1Label:le,col1Items:De,col2Label:me,col2Items:ve,col3Label:Ce,col3Items:_e,featuredItem:Pt},ie))),i(ia,{value:{Anchor:z},children:i(Yb,{className:o,siteName:r,motifScheme:e,backgroundColor:t??dL,displayed:s,logo:U&&(m??J),onToggleExpanded:ae,cta:Y,localNavDesktop:W,defaultGroupKey:n??HJ,stayOpenInvariant:D,trackingSiteName:l??L.hostname,endChildrenClassName:I?E:void 0,showGlobalLinks:A,showNavScreen:w,isUrlCurrent:L.isUrlCurrent,navItemAlignment:M,buttonAriaLabel:se?.globalNavButtonAriaLabel,lessMargins:F,addBottomBorder:$,customIcon:_,headerClassName:B,children:se&&i(jC,{motifScheme:e,backgroundColor:t??dL,localNavMobile:X,localNavMobileFooter:b,globalNavHeading:se?.globalNavLabel,navGroups:ne,showMobileGlobalLinks:A,onGlobalNavGroupSummaryClick:V})})})};mc.displayName="GlobalHeader";function uL(e){var t=e||{},o=t.initial,n=o===void 0?300:o,r=t.jitter,s=r===void 0?!0:r,l=t.max,p=l===void 0?1/0:l,d=s?n:n/2;return function(y){var m=Math.min(p,d*Math.pow(2,y));return s&&(m=Math.random()*m),m}}function yL(e){var t=e||{},o=t.retryIf,n=t.max,r=n===void 0?5:n;return function(l,p,d){return l>=r?!1:o?o(d,p):!!d}}var OJ=(function(){function e(t,o,n,r,s){var l=this;this.observer=t,this.operation=o,this.forward=n,this.delayFor=r,this.retryIf=s,this.retryCount=0,this.currentSubscription=null,this.onError=function(p){return _k(l,void 0,void 0,function(){var d;return wk(this,function(u){switch(u.label){case 0:return this.retryCount+=1,[4,this.retryIf(this.retryCount,this.operation,p)];case 1:return d=u.sent(),d?(this.scheduleRetry(this.delayFor(this.retryCount,this.operation,p)),[2]):(this.observer.error(p),[2])}})})},this.try()}return e.prototype.cancel=function(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null},e.prototype.try=function(){this.currentSubscription=this.forward(this.operation).subscribe({next:this.observer.next.bind(this.observer),error:this.onError,complete:this.observer.complete.bind(this.observer)})},e.prototype.scheduleRetry=function(t){var o=this;if(this.timerId)throw new Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout(function(){o.timerId=void 0,o.try()},t)},e})(),mL=(function(e){bd(t,e);function t(o){var n=e.call(this)||this,r=o||{},s=r.attempts,l=r.delay;return n.delayFor=typeof l=="function"?l:uL(l),n.retryIf=typeof s=="function"?s:yL(s),n}return t.prototype.request=function(o,n){var r=this;return new es(function(s){var l=new OJ(s,o,n,r.delayFor,r.retryIf);return function(){l.cancel()}})},t})(bn);var Rn=T(P());function Fm(e,t){return Fm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,n){return o.__proto__=n,o}
9714,Fm(e,t)}function An(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fm(e,t)}var Dt=T(P()),rx=T(DM());function Bm(e){return e.charAt(0)==="/"}function YC(e,t){for(var o=t,n=o+1,r=e.length;n<r;o+=1,n+=1)e[o]=e[n];e.pop()}function GJ(e,t){t===void 0&&(t="");var o=e&&e.split("/")||[],n=t&&t.split("/")||[],r=e&&Bm(e),s=t&&Bm(t),l=r||s;if(e&&Bm(e)?n=o:o.length&&(n.pop(),n=n.concat(o)),!n.length)return"/";var p;if(n.length){var d=n[n.length-1];p=d==="."||d===".."||d===""}else p=!1;for(var u=0,y=n.length;y>=0;y--){var m=n[y];m==="."?YC(n,y):m===".."?(YC(n,y),u++):u&&(YC(n,y),u--)}if(!l)for(;u--;u)n.unshift("..");l&&n[0]!==""&&(!n[0]||!Bm(n[0]))&&n.unshift("");var g=n.join("/");return p&&g.substr(-1)!=="/"&&(g+="/"),g}var fL=GJ;var zJ=!0,XC="Invariant failed";function _a(e,t){if(!e){if(zJ)throw new Error(XC);var o=typeof t=="function"?t():t,n=o?"".concat(XC,": ").concat(o):XC;throw new Error(n)}}function fc(e){return e.charAt(0)==="/"?e:"/"+e}function bL(e){return e.charAt(0)==="/"?e.substr(1):e}function UJ(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function IL(e,t){return UJ(e,t)?e.substr(t.length):e}function kL(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function WJ(e){var t=e||"/",o="",n="",r=t.indexOf("#");r!==-1&&(n=t.substr(r),t=t.substr(0,r));var s=t.indexOf("?");return s!==-1&&(o=t.substr(s),t=t.substr(0,s)),{pathname:t,search:o==="?"?"":o,hash:n==="#"?"":n}}function Eo(e){var t=e.pathname,o=e.search,n=e.hash,r=t||"/";return o&&o!=="?"&&(r+=o.charAt(0)==="?"?o:"?"+o),n&&n!=="#"&&(r+=n.charAt(0)==="#"?n:"#"+n),r}function Qo(e,t,o,n){var r;typeof e=="string"?(r=WJ(e),r.state=t):(r=Io({},e),r.pathname===void 0&&(r.pathname=""),r.search?r.search.charAt(0)!=="?"&&(r.search="?"+r.search):r.search="",r.hash?r.hash.charAt(0)!=="#"&&(r.hash="#"+r.hash):r.hash="",t!==void 0&&r.state===void 0&&(r.state=t));try{r.pathname=decodeURI(r.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+r.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return o&&(r.key=o),n?r.pathname?r.pathname.charAt(0)!=="/"&&(r.pathname=fL(r.pathname,n.pathname)):r.pathname=n.pathname:r.pathname||(r.pathname="/"),r}function ZC(){var e=null;function t(l){return e=l,function(){e===l&&(e=null)}}function o(l,p,d,u){if(e!=null){var y=typeof e=="function"?e(l,p):e;typeof y=="string"?typeof d=="function"?d(y,u):u(!0):u(y!==!1)}else u(!0)}var n=[];function r(l){var p=!0;function d(){p&&l.apply(void 0,arguments)}return n.push(d),function(){p=!1,n=n.filter(function(u){return u!==d})}}function s(){for(var l=arguments.length,p=new Array(l),d=0;d<l;d++)p[d]=arguments[d];n.forEach(function(u){return u.apply(void 0,p)})}return{setPrompt:t,confirmTransitionTo:o,appendListener:r,notifyListeners:s}}var ML=!!(typeof window<"u"&&window.document&&window.document.createElement);function TL(e,t){t(window.confirm(e))}function QJ(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function qJ(){return window.navigator.userAgent.indexOf("Trident")===-1}function KJ(){return window.navigator.userAgent.indexOf("Firefox")===-1}function jJ(e){return e.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var SL="popstate",hL="hashchange";function CL(){try{return window.history.state||{}}catch{return{}}}function AL(e){e===void 0&&(e={}),ML||_a(!1);var t=window.history,o=QJ(),n=!qJ(),r=e,s=r.forceRefresh,l=s===void 0?!1:s,p=r.getUserConfirmation,d=p===void 0?TL:p,u=r.keyLength,y=u===void 0?6:u,m=e.basename?kL(fc(e.basename)):"";function g(oe){var pe=oe||{},ae=pe.key,j=pe.state,Y=window.location,J=Y.pathname,U=Y.search,E=Y.hash,X=J+U+E;return m&&(X=IL(X,m)),Qo(X,j,ae)}function f(){return Math.random().toString(36).substr(2,y)}var b=ZC();function S(oe){Io(ne,oe),ne.length=t.length,b.notifyListeners(ne.location,ne.action)}function C(oe){jJ(oe)||v(g(oe.state))}function I(){v(g(CL()))}var k=!1;function v(oe){if(k)k=!1,S();else{var pe="POP";b.confirmTransitionTo(oe,pe,d,function(ae){ae?S({action:pe,location:oe}):A(oe)})}}function A(oe){var pe=ne.location,ae=D.indexOf(pe.key);ae===-1&&(ae=0);var j=D.indexOf(oe.key);j===-1&&(j=0);var Y=ae-j;Y&&(k=!0,$(Y))}var w=g(CL()),D=[w.key];function M(oe){return m+Eo(oe)}function _(oe,pe){var ae="PUSH",j=Qo(oe,pe,f(),ne.location);b.confirmTransitionTo(j,ae,d,function(Y){if(Y){var J=M(j),U=j.key,E=j.state;if(o)if(t.pushState({key:U,state:E},null,J),l)window.location.href=J;else{var X=D.indexOf(ne.location.key),W=D.slice(0,X+1);W.push(j.key),D=W,S({action:ae,location:j})}else window.location.href=J}})}function F(oe,pe){var ae="REPLACE",j=Qo(oe,pe,f(),ne.location);b.confirmTransitionTo(j,ae,d,function(Y){if(Y){var J=M(j),U=j.key,E=j.state;if(o)if(t.replaceState({key:U,state:E},null,J),l)window.location.replace(J);else{var X=D.indexOf(ne.location.key);X!==-1&&(D[X]=j.key),S({action:ae,location:j})}else window.location.replace(J)}})}function $(oe){t.go(oe)}function B(){$(-1)}function V(){$(1)}var L=0;function z(oe){L+=oe,L===1&&oe===1?(window.addEventListener(SL,C),n&&window.addEventListener(hL,I)):L===0&&(window.removeEventListener(SL,C),n&&window.removeEventListener(hL,I))}var K=!1;function ye(oe){oe===void 0&&(oe=!1);var pe=b.setPrompt(oe);return K||(z(1),K=!0),function(){return K&&(K=!1,z(-1)),pe()}}function se(oe){var pe=b.appendListener(oe);return z(1),function(){z(-1),pe()}}var ne={length:t.length,action:"POP",location:w,createHref:M,push:_,replace:F,go:$,goBack:B,goForward:V,block:ye,listen:se};return ne}var xL="hashchange",YJ={hashbang:{encodePath:function(t){return t.charAt(0)==="!"?t:"
9714!/"+bL(t)},decodePath:function(t){return t.charAt(0)==="!"?t.substr(1):t}},noslash:{encodePath:bL,decodePath:fc},slash:{encodePath:fc,decodePath:fc}};function _L(e){var t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function gc(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)}function XJ(e){window.location.hash=e}function JC(e){window.location.replace(_L(window.location.href)+"#"+e)}function wL(e){e===void 0&&(e={}),ML||_a(!1);var t=window.history,o=KJ(),n=e,r=n.getUserConfirmation,s=r===void 0?TL:r,l=n.hashType,p=l===void 0?"slash":l,d=e.basename?kL(fc(e.basename)):"",u=YJ[p],y=u.encodePath,m=u.decodePath;function g(){var ae=m(gc());return d&&(ae=IL(ae,d)),Qo(ae)}var f=ZC();function b(ae){Io(pe,ae),pe.length=t.length,f.notifyListeners(pe.location,pe.action)}var S=!1,C=null;function I(ae,j){return ae.pathname===j.pathname&&ae.search===j.search&&ae.hash===j.hash}function k(){var ae=gc(),j=y(ae);if(ae!==j)JC(j);else{var Y=g(),J=pe.location;if(!S&&I(J,Y)||C===Eo(Y))return;C=null,v(Y)}}function v(ae){if(S)S=!1,b();else{var j="POP";f.confirmTransitionTo(ae,j,s,function(Y){Y?b({action:j,location:ae}):A(ae)})}}function A(ae){var j=pe.location,Y=_.lastIndexOf(Eo(j));Y===-1&&(Y=0);var J=_.lastIndexOf(Eo(ae));J===-1&&(J=0);var U=Y-J;U&&(S=!0,V(U))}var w=gc(),D=y(w);w!==D&&JC(D);var M=g(),_=[Eo(M)];function F(ae){var j=document.querySelector("base"),Y="";return j&&j.getAttribute("href")&&(Y=_L(window.location.href)),Y+"#"+y(d+Eo(ae))}function $(ae,j){var Y="PUSH",J=Qo(ae,void 0,void 0,pe.location);f.confirmTransitionTo(J,Y,s,function(U){if(U){var E=Eo(J),X=y(d+E),W=gc()!==X;if(W){C=E,XJ(X);var ie=_.lastIndexOf(Eo(pe.location)),ee=_.slice(0,ie+1);ee.push(E),_=ee,b({action:Y,location:J})}else b()}})}function B(ae,j){var Y="REPLACE",J=Qo(ae,void 0,void 0,pe.location);f.confirmTransitionTo(J,Y,s,function(U){if(U){var E=Eo(J),X=y(d+E),W=gc()!==X;W&&(C=E,JC(X));var ie=_.indexOf(Eo(pe.location));ie!==-1&&(_[ie]=E),b({action:Y,location:J})}})}function V(ae){t.go(ae)}function L(){V(-1)}function z(){V(1)}var K=0;function ye(ae){K+=ae,K===1&&ae===1?window.addEventListener(xL,k):K===0&&window.removeEventListener(xL,k)}var se=!1;function ne(ae){ae===void 0&&(ae=!1);var j=f.setPrompt(ae);return se||(ye(1),se=!0),function(){return se&&(se=!1,ye(-1)),j()}}function oe(ae){var j=f.appendListener(ae);return ye(1),function(){ye(-1),j()}}var pe={length:t.length,action:"POP",location:M,createHref:F,push:$,replace:B,go:V,goBack:L,goForward:z,block:ne,listen:oe};return pe}function vL(e,t,o){return Math.min(Math.max(e,t),o)}function DL(e){e===void 0&&(e={});var t=e,o=t.getUserConfirmation,n=t.initialEntries,r=n===void 0?["/"]:n,s=t.initialIndex,l=s===void 0?0:s,p=t.keyLength,d=p===void 0?6:p,u=ZC();function y(_){Io(M,_),M.length=M.entries.length,u.notifyListeners(M.location,M.action)}function m(){return Math.random().toString(36).substr(2,d)}var g=vL(l,0,r.length-1),f=r.map(function(_){return typeof _=="string"?Qo(_,void 0,m()):Qo(_,void 0,_.key||m())}),b=Eo;function S(_,F){var $="PUSH",B=Qo(_,F,m(),M.location);u.confirmTransitionTo(B,$,o,function(V){if(V){var L=M.index,z=L+1,K=M.entries.slice(0);K.length>z?K.splice(z,K.length-z,B):K.push(B),y({action:$,location:B,index:z,entries:K})}})}function C(_,F){var $="REPLACE",B=Qo(_,F,m(),M.location);u.confirmTransitionTo(B,$,o,function(V){V&&(M.entries[M.index]=B,y({action:$,location:B}))})}function I(_){var F=vL(M.index+_,0,M.entries.length-1),$="POP",B=M.entries[F];u.confirmTransitionTo(B,$,o,function(V){V?y({action:$,location:B,index:F}):y()})}function k(){I(-1)}function v(){I(1)}function A(_){var F=M.index+_;return F>=0&&F<M.entries.length}function w(_){return _===void 0&&(_=!1),u.setPrompt(_)}function D(_){return u.appendListener(_)}var M={length:f.length,action:"POP",location:f[g],index:g,entries:f,createHref:b,push:S,replace:C,go:I,goBack:k,goForward:v,canGo:A,block:w,listen:D};return M}var GL=T(BL()),x$e=T(tQ());function nl(e,t){if(e==null)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;o[n]=e[n]}return o}var lZ=T(oQ()),nx=1073741823,$L=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function pZ(){var e="__global_unique_id__";return $L[e]=($L[e]||0)+1}function cZ(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function dZ(e){var t=[];return{on:function(n){t.push(n)},off:function(n){t=t.filter(function(r){return r!==n})},get:function(){return e},set:function(n,r){e=n,t.forEach(function(s){return s(e,r)})}}}function uZ(e){return Array.isArray(e)?e[0]:e}function yZ(e,t){var o,n,r="__create-react-context-"+pZ()+"__",s=(function(p){An(d,p);function d(){for(var y,m=arguments.length,g=new Array(m),f=0;f<m;f++)g[f]=arguments[f];return y=p.call.apply(p,[this].concat(g))||this,y.emitter=dZ(y.props.value),y}var u=d.prototype;return u.getChildContext=function(){var m;return m={},m[r]=this.emitter,m},u.componentWillReceiveProps=function(m){if(this.props.value!==m.value){var g=this.props.value,f=m.value,b;cZ(g,f)?b=0:(b=typeof t=="function"?t(g,f):nx,b|=0,b!==0&&this.emitter.set(m.value,b))}},u.render=function(){return this.props.children},d})(Dt.default.Component);s.childContextTypes=(o={},o[r]=rx.default.object.isRequired,o);var l=(function(p){An(d,p);function d(){for(var y,m=arguments.length,g=new Array(m),f=0;f<m;f++)g[f]=arguments[f];return y=p.call.apply(p,[this].concat(g))||this,y.observedBits=void 0,y.state={value:y.getValue()}
9714,y.onUpdate=function(b,S){var C=y.observedBits|0;(C&S)!==0&&y.setState({value:y.getValue()})},y}var u=d.prototype;return u.componentWillReceiveProps=function(m){var g=m.observedBits;this.observedBits=g??nx},u.componentDidMount=function(){this.context[r]&&this.context[r].on(this.onUpdate);var m=this.props.observedBits;this.observedBits=m??nx},u.componentWillUnmount=function(){this.context[r]&&this.context[r].off(this.onUpdate)},u.getValue=function(){return this.context[r]?this.context[r].get():e},u.render=function(){return uZ(this.props.children)(this.state.value)},d})(Dt.default.Component);return l.contextTypes=(n={},n[r]=rx.default.object,n),{Provider:s,Consumer:l}}var mZ=Dt.default.createContext||yZ,zL=function(t){var o=mZ();return o.displayName=t,o},UL=zL("Router-History"),wa=zL("Router"),al=(function(e){An(t,e),t.computeRootMatch=function(r){return{path:"/",url:"/",params:{},isExact:r==="/"}};function t(n){var r;return r=e.call(this,n)||this,r.state={location:n.history.location},r._isMounted=!1,r._pendingLocation=null,n.staticContext||(r.unlisten=n.history.listen(function(s){r._pendingLocation=s})),r}var o=t.prototype;return o.componentDidMount=function(){var r=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(s){r._isMounted&&r.setState({location:s})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},o.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},o.render=function(){return Dt.default.createElement(wa.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},Dt.default.createElement(UL.Provider,{children:this.props.children||null,value:this.props.history}))},t})(Dt.default.Component),gZ=(function(e){An(t,e);function t(){for(var n,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.history=DL(n.props),n}var o=t.prototype;return o.render=function(){return Dt.default.createElement(al,{history:this.history,children:this.props.children})},t})(Dt.default.Component),k$e=(function(e){An(t,e);function t(){return e.apply(this,arguments)||this}var o=t.prototype;return o.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},o.componentDidUpdate=function(r){this.props.onUpdate&&this.props.onUpdate.call(this,this,r)},o.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},o.render=function(){return null},t})(Dt.default.Component);var LL={},fZ=1e4,HL=0;function bZ(e,t){var o=""+t.end+t.strict+t.sensitive,n=LL[o]||(LL[o]={});if(n[e])return n[e];var r=[],s=(0,GL.default)(e,r,t),l={regexp:s,keys:r};return HL<fZ&&(n[e]=l,HL++),l}function bc(e,t){t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});var o=t,n=o.path,r=o.exact,s=r===void 0?!1:r,l=o.strict,p=l===void 0?!1:l,d=o.sensitive,u=d===void 0?!1:d,y=[].concat(n);return y.reduce(function(m,g){if(!g&&g!=="")return null;if(m)return m;var f=bZ(g,{end:s,strict:p,sensitive:u}),b=f.regexp,S=f.keys,C=b.exec(e);if(!C)return null;var I=C[0],k=C.slice(1),v=e===I;return s&&!v?null:{path:g,url:g==="/"&&I===""?"/":I,isExact:v,params:S.reduce(function(A,w,D){return A[w.name]=k[D],A},{})}},null)}function SZ(e){return Dt.default.Children.count(e)===0}var qr=(function(e){An(t,e);function t(){return e.apply(this,arguments)||this}var o=t.prototype;return o.render=function(){var r=this;return Dt.default.createElement(wa.Consumer,null,function(s){s||_a(!1);var l=r.props.location||s.location,p=r.props.computedMatch?r.props.computedMatch:r.props.path?bc(l.pathname,r.props):s.match,d=Io({},s,{location:l,match:p}),u=r.props,y=u.children,m=u.component,g=u.render;return Array.isArray(y)&&SZ(y)&&(y=null),Dt.default.createElement(wa.Provider,{value:d},d.match?y?typeof y=="function"?y(d):y:m?Dt.default.createElement(m,d):g?g(d):null:typeof y=="function"?y(d):null)})},t})(Dt.default.Component);function ix(e){return e.charAt(0)==="/"?e:"/"+e}function hZ(e,t){return e?Io({},t,{pathname:ix(e)+t.pathname}):t}function CZ(e,t){if(!e)return t;var o=ix(e);return t.pathname.indexOf(o)!==0?t:Io({},t,{pathname:t.pathname.substr(o.length)})}function VL(e){return typeof e=="string"?e:Eo(e)}function ax(e){return function(){_a(!1)}}function OL(){}var sx=(function(e){An(t,e);function t(){for(var n,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.handlePush=function(p){return n.navigateTo(p,"PUSH")},n.handleReplace=function(p){return n.navigateTo(p,"REPLACE")},n.handleListen=function(){return OL},n.handleBlock=function(){return OL},n}var o=t.prototype;return o.navigateTo=function(r,s){var l=this.props,p=l.basename,d=p===void 0?"":p,u=l.context,y=u===void 0?{}:u;y.action=s,y.location=hZ(d,Qo(r)),y.url=VL(y.location)},o.render=function(){var r=this.props,s=r.basename,l=s===void 0?"":s,p=r.context,d=p===void 0?{}:p,u=r.location,y=u===void 0?"/":u,m=nl(r,["basename","context","location"]),g={createHref:function(b){return ix(l+VL(b))},action:"POP",location:CZ(l,Qo(y)),push:this.handlePush,replace:this.handleReplace,go:ax("go"),goBack:ax("goBack"),goForward:ax("goForward"),listen:this.handleListen,block:this.handleBlock};return Dt.default.createElement(al,Io({},m,{history:g,staticContext:d}))},t})(Dt.default.Component),lx=(function(e){An(t,e);function t(){return e.apply(this,arguments)||this}var o=t.prototype;return o.render=function(){var r=this;return Dt.default.createElement(wa.Consumer,null,function(s){s||_a(!1);var l=r.props.location||s.location,p,d;
9714return Dt.default.Children.forEach(r.props.children,function(u){if(d==null&&Dt.default.isValidElement(u)){p=u;var y=u.props.path||u.props.from;d=y?bc(l.pathname,Io({},u.props,{path:y})):s.match}}),d?Dt.default.cloneElement(p,{location:l,computedMatch:d}):null})},t})(Dt.default.Component);var WL=Dt.default.useContext;function lr(){return WL(UL)}function Gt(){return WL(wa).location}var _n=T(P());var QL=(function(e){An(t,e);function t(){for(var n,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.history=AL(n.props),n}var o=t.prototype;return o.render=function(){return _n.default.createElement(al,{history:this.history,children:this.props.children})},t})(_n.default.Component),L$e=(function(e){An(t,e);function t(){for(var n,r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return n=e.call.apply(e,[this].concat(s))||this,n.history=wL(n.props),n}var o=t.prototype;return o.render=function(){return _n.default.createElement(al,{history:this.history,children:this.props.children})},t})(_n.default.Component),px=function(t,o){return typeof t=="function"?t(o):t},cx=function(t,o){return typeof t=="string"?Qo(t,null,null,o):t},dx=function(t){return t},rl=_n.default.forwardRef;typeof rl>"u"&&(rl=dx);function xZ(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var vZ=rl(function(e,t){var o=e.innerRef,n=e.navigate,r=e.onClick,s=nl(e,["innerRef","navigate","onClick"]),l=s.target,p=Io({},s,{onClick:function(u){try{r&&r(u)}catch(y){throw u.preventDefault(),y}!u.defaultPrevented&&u.button===0&&(!l||l==="_self")&&!xZ(u)&&(u.preventDefault(),n())}});return dx!==rl?p.ref=t||o:p.ref=o,_n.default.createElement("a",p)}),Sc=rl(function(e,t){var o=e.component,n=o===void 0?vZ:o,r=e.replace,s=e.to,l=e.innerRef,p=nl(e,["component","replace","to","innerRef"]);return _n.default.createElement(wa.Consumer,null,function(d){d||_a(!1);var u=d.history,y=cx(px(s,d.location),d.location),m=y?u.createHref(y):"",g=Io({},p,{href:m,navigate:function(){var b=px(s,d.location),S=Eo(d.location)===Eo(cx(b)),C=r||S?u.replace:u.push;C(b)}});return dx!==rl?g.ref=t||l:g.innerRef=l,_n.default.createElement(n,g)})});var qL=function(t){return t},Lm=_n.default.forwardRef;typeof Lm>"u"&&(Lm=qL);function IZ(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.filter(function(n){return n}).join(" ")}var H$e=Lm(function(e,t){var o=e["aria-current"],n=o===void 0?"page":o,r=e.activeClassName,s=r===void 0?"active":r,l=e.activeStyle,p=e.className,d=e.exact,u=e.isActive,y=e.location,m=e.sensitive,g=e.strict,f=e.style,b=e.to,S=e.innerRef,C=nl(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return _n.default.createElement(wa.Consumer,null,function(I){I||_a(!1);var k=y||I.location,v=cx(px(b,k),k),A=v.pathname,w=A&&A.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),D=w?bc(k.pathname,{path:w,exact:d,sensitive:m,strict:g}):null,M=!!(u?u(D,k):D),_=typeof p=="function"?p(M):p,F=typeof f=="function"?f(M):f;M&&(_=IZ(_,s),F=Io({},F,l));var $=Io({"aria-current":M&&n||null,className:_,style:F,to:v},C);return qL!==Lm?$.ref=t||S:$.innerRef=S,_n.default.createElement(Sc,$)})});var Hm=T(P()),kZ=T(Cr());var MZ="mwp-app-portal",KL=(0,Hm.memo)(e=>{let{appPortalRef:t}=(0,Hm.useContext)(Z);return i("aside",{className:e.className,"data-testid":MZ,ref:t})});var zm=T(P());var TZ=[O.domainName,`www.${O.domainName}`,"localhost","127.0.0.1","[::]","[::1]",/.*-dot-entapps-web-dev.gae.sc-corp.net/],qo=e=>{for(let t of TZ)if(typeof t=="string"&&e.hostname===t||typeof t=="object"&&t.test(e.hostname))return!0;return!1},no=e=>{if(!e)return!1;try{let t=new URL(e);return qo(t)?!1:(O.sameTabDomains??[]).some(n=>t.hostname===n)}catch{}return!1},ux=e=>(t,o)=>{let n=new URL(e()),r=new URL(t,n);if(!qo(r))return!1;if(r.pathname==="/")return n.pathname==="/";if(!o?.ignoredPathPrefix)return n.pathname===r.pathname;let s=new RegExp(`^${o.ignoredPathPrefix}`);return n.pathname.replace(s,"")===r.pathname};var Vm=[...O.persistentQueryParams??[],"gtm_debug","alternateMotif","mwp_debug","utm_source","utm_medium","utm_campaign","utm_content","utm_term"],jL=["lang"],YL=(e,t)=>qo(e)?!0:[...O.sameTabDomains??[],t.hostname].some(n=>e.hostname===n),XL=(e,t)=>{if(qo(e))return!0;let o=new Set(O.persistQueryParamsDomains??[]);return o.add(t.hostname),o.has(e.hostname)};var JL="businesshelp.snapchat.com",AZ={ar:"ar","da-DK":"da","de-DE":"de","el-GR":"el","en-GB":"en_GB","en-US":"en_US","es-ES":"es","es-MX":"es_MX","fi-FI":"fi","fr-CA":"fr","fr-FR":"fr","id-ID":"in","it-IT":"it","ja-JP":"ja","ko-KR":"ko","nb-NO":"no","nl-NL":"nl_NL","pl-PL":"pl","pt-BR":"pt_BR","pt-PT":"pt_PT","ru-RU":"ru","sv-SE":"sv","th-TH":"th","tr-TR":"tr","vi-VN":"vi","zh-Hans":"zh_CN","zh-Hant":"zh_TW"},ZL=(e,t)=>{let o=AZ[t];o&&!e.searchParams.has("language")&&e.searchParams.set("language",o)};var _Z="http://",t5e=_Z.toUpperCase(),wZ="https://",o5e=wZ.toUpperCase();var DZ=(e,t,o)=>{let n=e.searchParams.get("referrer"),r=n?new URL(n):null;for(let s of o){let l=e.searchParams.get(s)??t.searchParams.get(s)??r?.searchParams.get(s);l&&(e.searchParams.set(s,l),r?.searchParams.set(s,l))}r&&e.searchParams.set("referrer",r.href)},Om=(e,t,o=[])=>{DZ(e,t,[...jM,...Object.keys(KM),...o])},PZ=e=>e.hostname.includes("snap.com")||e.hostname.includes("snapchat.com")||e.hostname.includes("pixy.com")||e.hostname.includes("yellowla.com")||e.hostname.includes("spectacles.com")||e.hostname.includes("arcadiacreativestudio.com"),e6=(e,t)=>{!t||!PZ(e)||(e.hostname===JL?ZL(e,t):e.searchParams.has("lang")||e.searchParams.set("lang",t))};var NZ=Object.keys($d);function Gm(e){if(!e.destination)return{};let t=new URL(e.destination,e.currentUrl),o=YL(t,e.currentUrl),n=XL(t,e.currentUrl),r=e.newTab!==void 0?e.newTab:!o,s=qo(t);if(e.isDownload)return{href:t.href,rel:s?"opener":"noopener",target:"_blank"};let l=[...n?Vm:[],...jL];if(Om(t,e.currentUrl,l),s||e6(t,e.locale),s){let p=NZ.find(d=>t.pathname.match(`^/${d}(/|$)`));p&&(t.pathname=t.pathname.replace(`/${p}`,""))}return s&&t.pathname.length>1&&t.pathname[t.pathname.length-1]==="/"&&(t.pathname=t.pathname.slice(0,-1)),{href:t.href,rel:s?"opener":"noopener",target:r?"_blank":"_self"}}var hc=null,t6=()=>
9714{if(hc!==null)return hc;if(typeof window>"u"||typeof window.matchMedia!="function")return!1;let e=window.matchMedia("(prefers-reduced-motion: reduce)");return hc=e.matches,e.addEventListener("change",t=>{hc=t.matches}),hc};var fn=(0,zm.forwardRef)((e,t)=>{let{currentLocale:o,getCurrentUrl:n}=(0,zm.useContext)(Z);if(!e.href)return i("a",{...e,ref:t});let r=new URL(n()),s=Gm({destination:e.href,currentUrl:r,locale:o,isDownload:e.download}),l=new URL(s.href,r);if(qo(l)){let{href:p,onClick:d,...u}=e;return i(Sc,{...u,onClick:m=>{d?.(m);let g=m.metaKey||m.altKey||m.ctrlKey||m.shiftKey;if(m.defaultPrevented||m.button!==0||g)return;let f=new URL(n());!l.hash&&l.pathname===f.pathname&&l.search===f.search&&(document.body.tabIndex=-1,document.body.focus({preventScroll:!0}),document.body.removeAttribute("tabindex"),window.scrollTo({top:0,behavior:t6()?"auto":"smooth"}))},ref:t,to:{pathname:l.pathname,search:l.search,hash:l.hash},target:"_self"})}return i("a",{ref:t,...e,...s})});var vc=T(P());var o6=T(P()),Se=(0,o6.createContext)({elementLocation:void 0});var Kn=T(P());var x6=T(P());var Ut=T(P());var il=T(P());var EZ="view",n6=({view:e,queryParameterName:t=EZ,onOpen:o,onClose:n,ignore:r=!1})=>{let s=lr(),{search:l}=Gt(),p=e??"",d=p!=="",u=(0,il.useMemo)(()=>new URLSearchParams(l).get(t),[t,l]),y=!r&&d&&u===p,m=y,g=(0,il.useCallback)(S=>{let C=s.location.search,I=new URLSearchParams(C);S===void 0?I.delete(t):I.set(t,S);let k=I.toString(),v=k?`?${k}`:"";v!==C&&s.push({hash:s.location.hash,pathname:s.location.pathname,search:v})},[s,t]),f=(0,il.useCallback)(()=>{r||!d||(g(p),o?.())},[p,d,r,o,g]);return{closeDrawer:(0,il.useCallback)(()=>{r||!y||(g(void 0),n?.())},[r,n,y,g]),isOpen:m,openDrawer:f}};var mo=T(P());var Um=T(P());var a6=T(P()),nn=(0,a6.createContext)({currentLocale:"en-US",supportedLocales:{}});function RZ(e){return typeof e=="function"?e:yd}var r6=RZ;function FZ(e,t){var o=Yo(e)?Sk:zr;return o(e,r6(t))}var i6=FZ;var s6=e=>{let t="";return i6(e,(o,n)=>{ht(o)||(t.length===0?t=`${n}=${o}`:t=`${t}&${n}=${o}`)}),t},l6=e=>{let t={};return new URLSearchParams(e).forEach((o,n)=>{o&&(t[n]=o)}),t};var Wm=()=>{let{search:e}=Gt(),{getUrlParams:t}=(0,Um.useContext)(nn);return(0,Um.useMemo)(()=>{let o=t?.()??{};return new URLSearchParams(o)},[e,t])};async function p6(e,t){let o=new URLSearchParams({market:e});t&&o.set("lang",t);try{let n=await fetch(`/api/shopify/products?${o.toString()}`,{cache:"no-store",credentials:"same-origin"});return n.ok?await n.json():null}catch{return null}}var yx="mwp-stinson-market";function sl(e){return e===ui||d6(e)}var $Z={US:"USD",FR:"EUR",GB:"GBP"},c6=HM.map(e=>({countryCode:e,currencyCode:$Z[e]}));function LZ(e){if(e)return c6.find(t=>t.countryCode===e)}function d6(e){return LZ(e)!==void 0}function Qm(){return c6[0]}function HZ(e){return e==="ZZ"?"US":e}function u6(e){let t=Array.isArray(e)?e[0]:e;if(!t)return;let o=t.toUpperCase();return sl(o)?o:void 0}function y6(e){if(e)return sl(e)?e.toLowerCase():void 0}function m6(e){let t=Array.isArray(e.queryParam)?e.queryParam[0]:e.queryParam;if(sl(t))return t;let o=HZ(e.geoCountry);return d6(o)?o:e.fallback??Qm().countryCode}var VZ=({node:e},t)=>{let o=Number(e.price.amount??"0"),n=t!=null&&t!==o;return{id:e.id,title:e.title,sku:e.sku,price:t??o,...n?{dueTodayPrice:o}:{},available:e.availableForSale,selectedOptions:e.selectedOptions.map(({name:r,value:s})=>({name:r,value:s})),compareAtPrice:e.compareAtPrice??null,currencyCode:e.price.currencyCode,quantityAvailable:e.quantityAvailable??null,quantityRule:e.quantityRule}},OZ=(e,t)=>{if(!e)return;let o=l=>Qa({component:"ShopifyProvider",message:`issue with "${t}.sellingplandata": ${l}`}),n;try{n=JSON.parse(e)}catch{o("invalid JSON \u2014 skipping");return}if(!n||typeof n!="object"||Array.isArray(n)){o(`expected an object keyed by currency code, got ${Array.isArray(n)?"array":typeof n}`);return}let r=Object.entries(n);if(r.length===0){o("object is empty");return}let s={};for(let[l,p]of r){if(!p||typeof p!="object"){o(`currency "${l}" value is not an object`);return}let d=p;if(typeof d.amount!="number"||d.amount<=0){o(`currency "${l}
9714" has invalid amount: ${JSON.stringify(d.amount)}`);return}let u=typeof d.selling_plan_id=="number"?`gid://shopify/SellingPlan/${d.selling_plan_id}`:void 0;s[l.toUpperCase()]={sellingPlanId:u,amount:d.amount}}return s},GZ=(e,t,o)=>{let n=(d,u)=>Be({component:"ShopifyProvider",message:`issue with "${t}.finalpricedata": ${d}`,error:u});if(!e){n("empty value \u2014 falling back to Shopify price");return}let r;try{r=JSON.parse(e)}catch(d){n("invalid JSON \u2014 falling back to Shopify price",d);return}if(!r||typeof r!="object"||Array.isArray(r)){n(`expected an object keyed by currency code, got ${Array.isArray(r)?"array":typeof r}`);return}let s=r[o.toUpperCase()];if(!s||typeof s!="object"||Array.isArray(s)){n(`missing valid "${o}" entry \u2014 falling back to Shopify price`);return}let{amount:l}=s,p=Number(l);if(!Number.isFinite(p)||p<=0){n(`currency "${o}" has invalid amount: ${JSON.stringify(l)}`);return}return p},zZ=(e,t)=>{let o=e?.find(r=>r?.namespace==="custom"&&r?.key==="maxquantity");if(o?.value)return Number.parseInt(o.value);let n=t?.node.metafields?.find(r=>r?.key==="maxQuantity");return n?Number.parseInt(n.value):void 0},UZ=(e,t,o)=>{let n=e?.node.metafields?.find(r=>r?.key==="ATPBufferDays");return n?o({available:t,atp:Number.parseInt(n.value)}):null},g6=(e,t)=>{let o={},n={};if(!e)return{catalog:o,productOptionById:n};for(let{node:r}of e.products.edges){let s=r.handle,l=r.variants.edges[0],p=r.priceRange.maxVariantPrice.currencyCode,d=r.metafields?.find(b=>b?.namespace==="custom"&&b?.key==="sellingplandata"),u=r.metafields?.find(b=>b?.namespace==="custom"&&b?.key==="finalpricedata"),y=u?GZ(u.value,s,p):void 0,m=y!=null?void 0:OZ(d?.value,s),g=r.variants.edges.map(b=>VZ(b,y)),f={productKey:s,nodeId:r.id,title:r.title,featuredImage:r.featuredImage?.url,images:r.images?.edges.map(b=>b.node)??[],available:r.availableForSale,options:g,maxQuantity:zZ(r.metafields,l),currencyCode:p,atpMessage:UZ(l,r.availableForSale,t),descriptionHtml:r.descriptionHtml,...m?{sellingPlan:{depositData:m,requiresPlan:r.requiresSellingPlan??!1}}:{}};o[s]=f;for(let b of g)n[b.id]={productKey:s,option:b}}return{catalog:o,productOptionById:n}};var WZ={catalog:{},productOptionById:{}},zt=(0,mo.createContext)(WZ),mx=({children:e,shopifyData:t})=>{let{userLocation:{country:o}}=(0,mo.useContext)(Z),{formatMessage:n}=(0,mo.useContext)(We),{currentLocale:r}=(0,mo.useContext)(Ge),s=lr(),l=Wm(),[p,d]=(0,mo.useState)(t),u=(0,mo.useRef)(),y=(0,mo.useCallback)(({available:D,atp:M=0})=>{if(M===0&&D)return n({id:"shopifyATPTodayFreeShipping",defaultMessage:"Ships for free today"});if(M>0&&D){if(M<7)return M===1?n({id:"shopifyATPDayFreeShipping",defaultMessage:"Ships for free in 1 day"}):n({id:"shopifyATPDaysFreeShipping",defaultMessage:"Ships for free in {days} days"},{days:String(M)});let _=M%7,F=(M-_)/7,$=`${F}-${F+1}`;return F===1?n({id:"shopifyATPWeekFreeShipping",defaultMessage:"Ships for free in 1 week"}):n({id:"shopifyATPWeeksFreeShipping",defaultMessage:"Ships for free in {weeks} weeks"},{weeks:$})}return null},[n]),m=(0,mo.useMemo)(()=>m6({queryParam:u6(l.get("market")),geoCountry:o,fallback:ui}),[o,l]),g=m===ui?Qm().countryCode:m,f=(0,mo.useCallback)(async D=>{if(typeof window>"u"||!sl(D))return;let M=D===ui?Qm().countryCode:D,_=(r??"en-US").slice(0,2).toUpperCase();u.current=D;let F=await p6(M,_);if(u.current!==D||!F)return;yi(yx,D);let $=new URL(window.location.href);$.searchParams.set("market",y6(D)??D),s.replace(`${$.pathname}${$.search}${$.hash}`),d(F)},[r,s]);if((0,mo.useEffect)(()=>{if(typeof window>"u"||l.has("market"))return;let D=us(yx);sl(D)&&D!==m&&f(D)},[m,l,f]),!O.shopify)return i(ue,{children:e});let{catalog:b,productOptionById:S}=g6(p,y),C=O.shopify?.singleStoreMode===!0,I;if(C){let D=Object.keys(O.shopify?.stores??{});I=O.shopify.stores[D[0]]?.[O.deploymentType]}else{let D=O.shopify?.stores[g];I=D?D[O.deploymentType]:void 0}let v=Object.values(b)[0]?.currencyCode??p?.shop.paymentSettings.currencyCode,w=l.has("market")?m!==ui:p?.shop?.shipsToCountries?.includes(m);return i(zt.Provider,{value:{catalog:b,productOptionById:S,store:I,currencyCode:v,shopData:p?.shop,rawShopifyResponse:p,isCountrySupported:w,market:g,selectedMarketCode:m,setMarket:f},children:e})};var f6=(e,t,o)=>{let n=t?.sellingPlan?.depositData&&o?t.sellingPlan.depositData[o]?.amount:void 0;return e.dueTodayPrice??n??e.price};var gx="???",Ei=({catalog:e,currencyCode:t,lines:o,productOptionById:n})=>{let r=0,s=o.map(({optionId:p,quantity:d})=>{let u=n[p],y=u?.option,m=u?e[u.productKey]:void 0;
9714if(!m||!y)return Qa({component:"Cart",message:`Unable to resolve product/option for cart analytics; logging placeholder values. productKey: ${u?.productKey??"undefined"}, optionId: ${p}`}),{item_id:gx,item_name:gx,item_variant:gx,price:0,quantity:d,shopify_id:p};let g=f6(y,m,t??void 0);return r+=g*d,{item_id:y.sku,item_name:m.title,item_variant:y.title,price:g,quantity:d,shopify_id:p}}),l=O.shopify?.options?.getExtraEcommerceItems?.(o);return l?.length&&s.push(...l),{value:r,currency:t??null,items:s}};var cr=(e,t,o)=>{if(e.optionId!==t)return!1;let n=o??{},r=e.attributes??{},s=Object.keys(n);return s.length!==Object.keys(r).length?!1:s.every(l=>n[l]===r[l])},b6={lines:[],isHydrated:!1},S6=(e,t)=>{switch(t.type){case"hydrate":return{lines:t.lines,isHydrated:!0};case"addLine":{let{optionId:o,productKey:n,attributes:r}=t,s=e.lines.findIndex(p=>cr(p,o,r)),l=s>=0?e.lines.map((p,d)=>d===s?{...p,quantity:p.quantity+1}:p):[...e.lines,{optionId:o,productKey:n,quantity:1,...r?{attributes:r}:{}}];return{...e,lines:l}}case"removeLine":{let{optionId:o,attributes:n}=t,r=e.lines.findIndex(p=>cr(p,o,n));if(r<0)return e;let l=e.lines[r].quantity<=1?e.lines.filter((p,d)=>d!==r):e.lines.map((p,d)=>d===r?{...p,quantity:p.quantity-1}:p);return{...e,lines:l}}case"removeLineEntirely":{let{optionId:o,attributes:n}=t,r=e.lines.findIndex(s=>cr(s,o,n));return r<0?e:{...e,lines:e.lines.filter((s,l)=>l!==r)}}case"updateLine":{let{optionId:o,attributes:n,newOptionId:r,newAttributes:s}=t,l=e.lines.findIndex(m=>cr(m,o,n)),p=e.lines[l];if(!p)return e;let d=e.lines.findIndex(m=>cr(m,r,s)),u=s&&Object.keys(s).length>0,y=d>=0&&d!==l?e.lines.map((m,g)=>g===d?{...m,quantity:m.quantity+p.quantity}:m).filter((m,g)=>g!==l):e.lines.map((m,g)=>g===l?{productKey:p.productKey,quantity:p.quantity,optionId:r,...u?{attributes:s}:{}}:m);return{...e,lines:y}}case"clearCart":return{...e,lines:[]};default:return e}};var h6="mwp-shopify-cart",C6={lines:[],cartOpen:!1,isHydrated:!1,addLine:sa,removeLine:sa,removeLineEntirely:sa,updateLine:sa,clearCart:sa,setCartOpen:sa,discountCode:"",setDiscountCode:sa},QZ=e=>{try{return new URL(e).searchParams.get("discount")??""}catch{return""}},qZ=e=>{if(!e||typeof e!="object")return null;let t=e;if("lineItems"in t&&!("lines"in t)||!Array.isArray(t.lines))return null;let o=t.lines;for(let n of o){if(!n||typeof n!="object")return null;let r=n;if(typeof r.optionId!="string"||typeof r.productKey!="string"||typeof r.quantity!="number"||r.quantity<1||r.attributes!==void 0&&(typeof r.attributes!="object"||r.attributes===null||!Object.values(r.attributes).every(s=>typeof s=="string")))return null}return t.lines},KZ=e=>{yi(h6,JSON.stringify({lines:e}))};var fx=()=>{let e=(0,Ut.useContext)(Z),{elementLocation:t}=(0,Ut.useContext)(Se),{catalog:o,productOptionById:n}=(0,Ut.useContext)(zt),r=e.userLocation.country,s=QZ(e.getCurrentUrl()),[{lines:l,isHydrated:p},d]=(0,Ut.useReducer)(S6,b6),[u,y]=(0,Ut.useState)(s),{isOpen:m,openDrawer:g,closeDrawer:f}=n6({view:"cart"}),b=(0,Ut.useCallback)(D=>{Je({eventCategory:"Cart",eventAction:"Click",eventLabel:D?"Open Cart":"Close Cart",subscribedEventType:"user_interaction"}),D?g():f()},[g,f]),S=(0,Ut.useCallback)(({productKey:D,optionId:M,currencyCode:_,openCart:F=!1,attributes:$})=>{o[D]&&(d({type:"addLine",optionId:M,productKey:D,attributes:$}),Je({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Add",eventLabel:M,context:{elementLocation:t},eventName:"add_to_cart",ecommerce:Ei({catalog:o,currencyCode:_,lines:[{optionId:M,quantity:1,attributes:$}],productOptionById:n})}),F&&g())},[o,t,g,n]),C=(0,Ut.useCallback)(({productKey:D,optionId:M,currencyCode:_,attributes:F})=>{!o[D]||l.findIndex(V=>cr(V,M,F))<0||(d({type:"removeLine",optionId:M,attributes:F}),Je({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Remove",eventLabel:M,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:_,lines:[{optionId:M,quantity:1,attributes:F}],productOptionById:n})}))},[l,o,t,n]),I=(0,Ut.useCallback)(({productKey:D,optionId:M,currencyCode:_,attributes:F})=>{if(!o[D])return;let B=l.findIndex(L=>cr(L,M,F));if(B<0)return;let V=l[B].quantity;d({type:"removeLineEntirely",optionId:M,attributes:F}),Je({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Remove",eventLabel:M,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:_,lines:[{optionId:M,quantity:V,attributes:F}],productOptionById:n})})},[l,o,t,n]),k=(0,Ut.useCallback)(({productKey:D,optionId:M,currencyCode:_,attributes:F,newOptionId:$,newAttributes:B})=>{if(!o[D]||M===$&&ms(F??{},B??{}))return;let L=l.find(K=>cr(K,M,F));if(!L)return;let z=L.quantity;d({type:"updateLine",optionId:M,attributes:F,newOptionId:$,newAttributes:B}),Je({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Edit > Remove",eventLabel:M,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:_,lines:[{optionId:M,quantity:z,attributes:F}],productOptionById:n})}),Je({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Edit > Add",eventLabel:$,context:{elementLocation:t},eventName:"add_to_cart",ecommerce:Ei({catalog:o,currencyCode:_,lines:[{optionId:$,quantity:z,attributes:B}],productOptionById:n})})},[l,o,t,n]),v=(0,Ut.useCallback)(({currencyCode:D})=>{l.length&&Je({subscribedEventType:"ecommerce",eventCategory:"Cart",eventAction:"Clear",eventLabel:null,context:{elementLocation:t},eventName:"remove_from_cart",ecommerce:Ei({catalog:o,currencyCode:D,lines:l,productOptionById:n})}),d({type:"clearCart"})},[l,o,t,n]),A=(0,Ut.useCallback)(()=>{let D=us(h6);if(D)try{let M=JSON.parse(D),_=qZ(M);if(_){d({type:"hydrate",lines:_});return}}catch{}d({type:"hydrate",lines:[]})},[]);(0,Ut.useEffect)(()=>{O.shopify&&A()},[r,A]);let w=(0,Ut.useRef)(!1);return(0,Ut.useEffect)(()=>
9714{if(!w.current){w.current=!0;return}KZ(l)},[l]),{lines:l,cartOpen:m,isHydrated:p,addLine:S,removeLine:C,removeLineEntirely:I,updateLine:k,clearCart:v,setCartOpen:b,discountCode:u,setDiscountCode:y}};var an=(0,x6.createContext)(C6),qm=({children:e})=>{let t=fx();return i(an.Provider,{value:t,children:e})};qm.displayName="CartProvider";var Km=T(P());var jZ=e=>{let t=new Map;for(let o of e)t.set(o.productKey,(t.get(o.productKey)??0)+o.quantity);return t},bx=e=>{let{lines:t}=(0,Km.useContext)(an);return(0,Km.useMemo)(()=>e?jZ(t).get(e)??0:0,[t,e])};var YZ=[2560,1440,1024,768,425,375,320],ELe=YZ.reverse();var Ri=e=>`@media (min-width: ${e}px)`,Da={over320_mobile_small:Ri(320),over375_mobile_medium:Ri(375),over425_mobile_large:Ri(425),over768_desktop_small:Ri(768),over1024_desktop_medium:Ri(1024),over1440_desktop_large:Ri(1440),over2560_desktop_larger:Ri(2560)};var v6=c` 9715 color: ${a("--palette-gray-v300")}; 9716 border: 1px solid ${a("--palette-gray-v300")}; 9717 background-color: ${a("--palette-gray-v200")}; 9718`,Sx=c` 9719 position: relative; 9720 margin-top: ${16}px; 9721`,I6=c` 9722 background: ${a("--palette-black-v200")}; 9723 border-radius: 6px; 9724 box-shadow: 0px 6px 12px 4px rgba(0, 0, 0, 0.1); 9725 color: ${a("--palette-plain-white")}; 9726 font-size: 14px; 9727 font-weight: 700; 9728 position: absolute; 9729 bottom: 125%; 9730 left: 0; 9731 padding: 6px 7px; 9732 text-align: center; 9733 width: 100%; 9734 9735 &:after { 9736 content: ''; 9737 position: absolute; 9738 top: 100%; 9739 left: 50%; 9740 margin-left: -5px; 9741 border-width: 5px; 9742 border-style: solid; 9743 border-color: ${a("--palette-black-v200")} transparent transparent transparent; 9744 } 9745 9746 ${Da.over768_desktop_small} { 9747 padding: 6px ${8}px; 9748 } 9749`;var JZ=({productKey:e="",optionId:t,showTooltip:o,label:n,buttonType:r=Vo.Primary,buttonClassName:s,onAfterAdd:l,hideMaxQuantityTooltip:p,openCart:d=!0,attributes:u,buttonTextDataset:y,forceDisabled:m})=>{let g=(0,Kn.useContext)(an),{catalog:f,currencyCode:b=""}=(0,Kn.useContext)(zt),S=f[e],C=(0,Kn.useContext)(Se).elementLocation,I=bx(e);if(!S)return null;let k=t||S.options[0]?.id,v=S.maxQuantity!=null&&I>=S.maxQuantity,A=v||!S.available||!!m,w=()=>v?i(Ln,{id:"maxCartQuantity",values:{quantity:String(S.maxQuantity)},defaultMessage:"Limit {quantity} per customer."}):null,D=()=>{A||(ge({eventCategory:"AddToCart",eventAction:"Click",eventLabel:`add_to_cart: ${e}`,context:{elementText:"Add to Cart",elementLocation:C}}),g.addLine({productKey:e,optionId:k??"",currencyCode:b,openCart:d,...u?{attributes:u}:{}}),l?.())};return x(ue,{children:[i(eo,{type:r,className:h(s,A&&!s?v6:void 0),onClick:D,disabled:A,buttonTextDataset:y,children:n??i(Ln,{id:"addToCart",defaultMessage:"Add to Cart"})}),o&&v&&!p&&i("span",{className:I6,children:w()})]})},jm=({className:e,productKey:t="",optionId:o,label:n,buttonType:r,buttonClassName:s,onAfterAdd:l,hideMaxQuantityTooltip:p,keepButtonOnUnavailable:d,openCart:u,attributes:y,buttonTextDataset:m})=>{let{store:g,catalog:f,isCountrySupported:b}=(0,Kn.useContext)(zt),S=!!g&&b!==!1,C=(0,Kn.useRef)(null),[I,k]=(0,Kn.useState)(!1),v=f[t],A=S&&!!v?.available;return(0,Kn.useEffect)(()=>{let w=C.current;if(!w)return;let D=()=>k(!0),M=()=>k(!1);return w.addEventListener("mouseenter",D),w.addEventListener("mouseleave",M),()=>{w.removeEventListener("mouseenter",D),w.removeEventListener("mouseleave",M)}},[]),!A&&!d?i("div",{ref:C,className:h(e,"sdsm-default",Sx),children:"Product not available in your country"}):x("div",{ref:C,className:h(e,"sdsm-default",Sx),children:[i(JZ,{productKey:t,optionId:o,showTooltip:I,label:n,buttonType:r,buttonClassName:s,onAfterAdd:l,hideMaxQuantityTooltip:p,openCart:u,attributes:y,buttonTextDataset:m,forceDisabled:!A}),!A&&i("p",{children:"Product not available in your country"})]})};jm.displayName="AddToCart";var xc=T(P());var hx=T(P());var Cc=e=>{let{currentLocale:t}=(0,hx.useContext)(Z),{currencyCode:o}=(0,hx.useContext)(zt);return e===0?"":new Intl.NumberFormat(t,{style:"currency",currency:o??"USD"}).format(e)};var Fi=({productPrice:e,className:t})=>{let o=Cc(e);return i("div",{className:h("mw-price",t),children:o})};var k6=e=>c` 9750 background-color: ${a("--palette-plain-white")}; 9751 box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.06); 9752 display: flex; 9753 flex-direction: column; 9754 align-items: center;
9755 justify-content: ${e?"normal":"center"}; 9756 height: 100%; 9757 overflow-y: auto; 9758 pointer-events: none; 9759 position: fixed; 9760 right: -400px; 9761 top: 0; 9762 transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); 9763 z-index: 100; 9764 width: 375px; 9765 text-align: center; 9766`,M6=c` 9767 opacity: 1; 9768 pointer-events: all; 9769 right: 0; 9770 left: 0; 9771 width: 100%; 9772 9773 ${Da.over768_desktop_small} { 9774 left: unset; 9775 width: 400px; 9776 } 9777`,T6=c` 9778 background-color: ${oa}cc; 9779 position: fixed; 9780 opacity: 0; 9781 top: 0; 9782 right: 0; 9783 width: 100%; 9784 height: 100%; 9785 transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); 9786 display: none; 9787 9788 ${Da.over768_desktop_small} { 9789 display: unset; 9790 } 9791`,A6=c` 9792 opacity: 1; 9793 right: 400px; 9794`,_6=c` 9795 position: relative; 9796 display: flex; 9797 flex-direction: column; 9798 align-items: center; 9799`,w6=c` 9800 color: ${a("--palette-black-v200")}; 9801 cursor: pointer; 9802 background: transparent; 9803 border-radius: 50px; 9804 padding-top: ${16}px; 9805 padding-right: ${16}px; 9806`,D6=c` 9807 font-weight: bold; 9808`,P6=c` 9809 display: flex; 9810 flex-direction: column; 9811 align-items: center; 9812 margin: 0 ${8}px; 9813`,N6=e=>c` 9814 background: url(${e}) no-repeat center center; 9815 background-size: contain; 9816 width: 200px; 9817 height: 200px; 9818`,E6=c` 9819 display: flex; 9820 justify-content: flex-end; 9821 width: 100%; 9822 height: ${40}px; 9823`,R6=c` 9824 color: ${a("--palette-plain-white")}; 9825 width: ${40}px; 9826 height: ${40}px; 9827 background-color: ${a("--palette-black-v200")}; 9828 display: flex; 9829 align-items: center; 9830 justify-content: center; 9831 border-radius: 20px; 9832 margin: 20px 5px; 9833`,c6e=c` 9834 width: 100%; 9835 max-width: 400px; 9836 padding: 0 ${40}px; 9837`,d6e=c` 9838 display: flex; 9839 align-items: center; 9840 justify-content: space-between; 9841 border: 1px solid ${a("--palette-gray-v150")}; 9842 margin: ${16}px 0; 9843 padding: 0 ${16}px; 9844`,u6e=c` 9845 width: ${40}px; 9846 height: ${40}px; 9847 display: flex; 9848 align-items: center; 9849 justify-content: center; 9850 margin: 20px ${16}px; 9851`,F6=c` 9852 display: flex; 9853 align-items: center; 9854`,y6e=c` 9855 padding: ${12}px 0; 9856 text-align: left; 9857`,m6e=c` 9858 margin-bottom: ${4}px; 9859 font-weight: 500; 9860`,Cx=c` 9861 background: ${a("--palette-plain-white")}; 9862 border: 1px solid ${a("--palette-gray-v200")}; 9863 color: ${a("--palette-black-v200")}; 9864 cursor: pointer; 9865 font-size: 12px; 9866 width: ${32}px; 9867 height: ${32}px; 9868 display: flex; 9869 align-items: center; 9870 justify-content: center; 9871 border-radius: 20px; 9872 margin: 0 ${4}px; 9873 transition: border 0.05s ease-in-out; 9874 9875 &:hover { 9876 border: 2px solid ${a("--palette-yellow-v100")}; 9877 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14); 9878 } 9879`,B6=c` 9880 background: ${a("--palette-gray-v100")}; 9881 border: unset; 9882 color: ${a("--palette-gray-v300")}; 9883 cursor: default; 9884 pointer-events: none; 9885`,g6e=c` 9886 background: ${a("--palette-plain-white")}; 9887 color: ${a("--palette-black-v200")}; 9888 cursor: pointer; 9889 font-size: 12px; 9890`,f6e=c` 9891 color: ${a("--palette-gray-v300")}; 9892 pointer-events: none; 9893`,$6=c` 9894 margin: ${16}px 0; 9895 font-size: 30px; 9896`,L6=c` 9897 color: ${a("--palette-gray-v300")}; 9898`,H6=c` 9899 font-size: 24px; 9900`,V6=c` 9901 margin-top: ${8}px; 9902 text-align: center; 9903`,O6=c` 9904 font-size: 16px; 9905 font-weight: 600; 9906`,G6=c` 9907 font-size: 12px; 9908 color: ${a("--palette-gray-v300")}; 9909`,z6=c` 9910 font-size: 14px; 9911 color: ${a("--palette-gray-v300")}; 9912 text-decoration: line-through; 9913`,U6=c` 9914 margin-top: ${40}px; 9915 font-size: 24px; 9916 text-align: center; 9917`,W6=c` 9918 button.sdsm-button { 9919 background-color: transparent; 9920 } 9921 9922 margin-top: ${16}px; 9923 padding: 0 ${16}px; 9924`,Q6=c` 9925 color: ${a("--palette-gray-v300")}; 9926 margin-top: ${32}px; 9927 padding-bottom: ${40}px; 9928`,q6=c` 9929 display: flex; 9930 flex: 1; 9931 flex-direction: column; 9932 align-items: center; 9933 justify-content: center; 9934`,K6=c` 9935 text-align: center; 9936 font-size: 24px; 9937`,j6=e=>c` 9938 background: url(${e}) no-repeat center center; 9939 background-size: contain; 9940 width: 200px; 9941 height: 200px; 9942`,Y6=c` 9943 text-align: center; 9944 font-size: 30px; 9945`,X6=c` 9946 margin-top: ${16}px; 9947 font-size: 24px; 9948`,J6=c` 9949 margin-top: ${16}px; 9950`,Z6=c` 9951 background: transparent; 9952 color: ${a("--palette-black-v200")}; 9953 cursor: pointer; 9954 font-size: 22px; 9955 display: flex; 9956 align-items: center; 9957 position: relative; 9958 text-decoration: none; 9959`,e8=c` 9960 background-color: ${a("--palette-yellow-v100")}; 9961 border-radius: 50%; 9962 position: absolute; 9963 font-size: 16px; 9964 font-weight: 400; 9965 top: -14px; 9966 left: 13px; 9967 text-align: center; 9968 padding: ${12}px; 9969 width: 8px; 9970 height: 8px; 9971 display: flex; 9972 align-items: center; 9973 justify-content: center; 9974 9975 ${Da.over768_desktop_small} { 9976 top: -18px; 9977 left: 15px; 9978 } 9979`,t8=c` 9980 margin: 0 -2.5px; 9981`;var o8=({productKey:e,title:t,image:o,atpMessage:n,price:r,optionId:s,maxQuantity:l,optionTitle:p,sellingPlanDepositData:d})=>{let u=(0,xc.useContext)(an),{currencyCode:y=""}=(0,xc.useContext)(zt),{formatMessage:m}=(0,xc.useContext)(We),g=(0,xc.useContext)(Se).elementLocation,b=u.lines.find(k=>k.optionId===s)?.quantity??0,S=l===b,I=(d&&y?d[y]:null)?.amount??null;return x("div",{className:P6,children:[i("div",{className:N6(o)}),x("div",{className:$6,children:[t,p&&p!=="Default Title"?` - ${p}`:""]}),I?x("div",{className:V6,children:[i(Fi,{className:z6,productPrice:r}),i(Fi,{className:O6,productPrice:I}),i("div",{className:G6,children:m({id:"depositDueToday",defaultMessage:"Deposit due today"})})]}):i(Fi,{className:H6,productPrice:r}),x("div",{className:F6,children:[i("button",{onClick:()=>{ge({eventCategory:"CartItem",eventAction:"ItemRemove",eventLabel:`line_item_remove: ${s}`,context:{elementText:t,elementLocation:g}}),u.removeLine({productKey:e,optionId:s,currencyCode:y})},className:Cx,children:i(Te,{name:"remove"})}),i("span",{className:R6,children:b}),i("button",{disabled:S,onClick:()=>{ge({eventCategory:"CartItem",eventAction:"ItemAdd",eventLabel:`line_item_add: ${s}`,context:{elementText:t,elementLocation:g}}),u.addLine({productKey:e,optionId:s,currencyCode:y})},className:h(Cx,{[B6]:S}),children:i(Te,{name:"add"})})]}),n&&i("div",{className:L6,children:n})]})};var Ym=T(P());var xx=()=>{let{userLocation:e,getCurrentUrl:t,currentLocale:o}=(0,Ym.useContext)(Z),n=(0,Ym.useContext)(an),{store:r,currencyCode:s,catalog:l,market:p}=(0,Ym.useContext)(zt),{options:d}=O.shopify??{},u=[];
9981n.lines.forEach((k,v)=>{let A=k.optionId.match(/\/(\d+)/)?.[1];if(!A)return;u.push(`items[${v}][id]=${A}`),u.push(`items[${v}][quantity]=${k.quantity}`);let w=s&&l[k.productKey]?.sellingPlan?.depositData?.[s]?.sellingPlanId;if(w){let D=w.match(/\/(\d+)/)?.[1];D&&u.push(`items[${v}][selling_plan]=${D}`)}});let y={"attributes[locale]":o,locale:o,"checkout[shipping_address][country]":p??e.country,...s?{currency:s}:{},access_token:r?.storefrontAccessToken??"","attributes[source]":"web"};d?.checkoutQueryParams&&(y={...y,...d.checkoutQueryParams}),n.discountCode&&(y.discount=n.discountCode);let m=d?.getCheckoutAttributes?.(n.lines);m&&(y={...y,...m});let g=Object.entries(y).map(([k,v])=>`${k}=${v}`).join("&"),f=u.join("&"),b=new URL(`https://${r?.domain}/checkout?${g}`);Om(b,new URL(t()),Vm);let S=b.pathname+b.search,C=`/cart/add?${f}&return_to=${encodeURIComponent(S)}`;return new URL(`https://${r?.domain}/cart/clear?return_to=${encodeURIComponent(C)}`)};var vx=()=>{let e=(0,vc.useContext)(Se).elementLocation,{formatMessage:t}=(0,vc.useContext)(We),{catalog:o,productOptionById:n,currencyCode:r}=(0,vc.useContext)(zt),s=(0,vc.useContext)(an),l=O.shopify?.options.featuredProduct??"",p=o[l],d=xx(),u=t({id:"cartCheckoutButton",defaultMessage:"Checkout"}),y=t({id:"cartCheckoutDisclaimer",defaultMessage:"Shipping calculated at checkout"}),m=t({id:"noCartItems",defaultMessage:"Nothing added to cart yet"}),g=s.lines.length>0,f=s.lines.reduce((v,A)=>{let w=n[A.optionId];return w?v+w.option.price*A.quantity:v},0),b=s.lines.reduce((v,A)=>{let w=n[A.optionId];if(w){let D=o[w.productKey],_=(D?.sellingPlan?.depositData&&r?D.sellingPlan.depositData[r]:void 0)?.amount??w.option.price;return v+_*A.quantity}return v},0),S=b!==f,C=Cc(S?b:f),I=t({id:S?"cartDepositTotal":"cartTotal",defaultMessage:S?"Due today {total}":"Total {total}"},{total:C}),k=()=>{ge({eventAction:"Click",eventCategory:"CheckoutButton",eventLabel:null,context:{targetUrl:d.href,elementText:u,elementLocation:e}}),ke.flush()};return x("div",{className:h(k6(g),{[M6]:s?.cartOpen}),children:[i("div",{onClick:()=>s.setCartOpen(!1),className:h(T6,{[A6]:s?.cartOpen})}),i("div",{className:E6,children:i("button",{className:w6,onClick:()=>s.setCartOpen(!1),children:i(Te,{name:"cross",className:D6})})}),i("div",{className:_6}),s.lines.map(v=>{let A=n[v.optionId];if(!A)return null;let w=o[A.productKey];return w?i(o8,{productKey:A.productKey,title:w.title,image:w.featuredImage??"",price:A.option.price,sku:A.option.sku,optionId:A.option.id,optionTitle:A.option.title,maxQuantity:w.maxQuantity,atpMessage:w.atpMessage,sellingPlanDepositData:w.sellingPlan?.depositData},v.optionId):null}),!g&&x("div",{className:q6,children:[i("div",{className:K6,children:m}),p&&x(ue,{children:[i("div",{className:j6(p.featuredImage??"")}),i("div",{className:Y6,children:p.title}),i(Fi,{className:X6,productPrice:p.options[0]?.price??0}),i(jm,{className:J6,productKey:l})]})]}),g&&x(ue,{children:[i("div",{className:U6,children:I}),i("div",{className:W6,children:i(eo,{link:d.href,type:"Primary",onClick:k,children:u})}),i("div",{className:Q6,children:y})]})]})};var n8=T(P());var Ix=()=>{let e=(0,n8.useContext)(an),t=e.lines.reduce((o,n)=>o+n.quantity,0);return x("button",{className:Z6,onClick:()=>e.setCartOpen(!0),children:[t!==0&&i("span",{className:e8,children:t}),i(Te,{name:"cart",size:27,className:t8})]})};var Jm=T(P());var i8=T(P());var a8=T(P());var ao="en-US";var Bi=(0,a8.createContext)({preview:!1,locale:ao});Bi.displayName="ContentfulContext";function r8(e,t){let o="cache-first",n=t.get("contentfulFetchPolicy");return O.isClient&&!O.isDeploymentTypeProd&&n&&(o=n),!O.isClient&&O.isPreview&&(o="network-only"),{preview:O.isPreview,locale:e,fetchPolicy:o}}var Kr=()=>{let e=(0,i8.useContext)(Bi);if(e===void 0)throw new Error("The useContentfulQuery hook can only be used in combination with ContentProvider");return e};var Xm=T(P());var Ic=(0,Xm.createContext)({}),s8=({children:e})=>{let[t,o]=(0,Xm.useState)(!1);return i(Ic.Provider,{value:{hasLivePreview:t,setHasLivePreview:n=>o(n)},children:e})};var l8=()=>{let{locale:e}=Kr(),{setHasLivePreview:t}=(0,Jm.useContext)(Ic),o=!O.isDeploymentTypeProd;return(0,Jm.useInsertionEffect)(()=>{async function n(){let{ContentfulLivePreview:r}=await import("./chunks/live-preview-NNX5IDFW.mjs"),s=await r.init({locale:e,enableInspectorMode:!0,enableLiveUpdates:!0,experimental:{hideCoveredElementOutlines:!0}});return s&&(t?.(!0),ke.logEvent({type:Ae.USER_ACTION,component:"ContentfulLivePreview",action:"Open",label:"Live Preview Panel"})),s}o&&n()},[o,e]),null};var Mx=T(P());var kx="sc-persona";function dr(e){return e.getCookieJson(kx)}function Zm(e,t){if(!t||e.getCookie("Preferences")!=="true")return;let n=dr(e);if(ms(t,n))return;let r=new Date;r.setFullYear(r.getFullYear()+1);let s=!O.isDeploymentTypeProd||!O.isCompilationModeProd?"":O.trackingSettings.cookieDomain;e.setCookieJson(kx,t,{secure:!0,expires:r,sameSite:"strict",domain:s})}var ZZ=5e3,kc,eee=()=>kc||(kc=(async()=>
9981{if(window.Shopify?.customerPrivacy?.setTrackingConsent||(await new Promise(t=>{ta("shopify-consent-tracking-api","https://cdn.shopify.com/shopifycloud/consent-tracking-api/v0.1/consent-tracking-api.js",t)}),window.Shopify?.customerPrivacy?.setTrackingConsent))return window.Shopify.customerPrivacy;let e=window.Shopify;if(!e?.loadFeatures)throw new Error("Shopify consent tracking API failed to initialize");if(await new Promise((t,o)=>{e.loadFeatures([{name:"consent-tracking-api",version:"0.1"}],n=>{if(n){o(n instanceof Error?n:new Error(String(n)));return}t()})}),!window.Shopify?.customerPrivacy?.setTrackingConsent)throw new Error("Shopify customerPrivacy API unavailable after loading consent-tracking-api");return window.Shopify.customerPrivacy})().catch(e=>{throw kc=void 0,e}),kc),tee=(e,t,o)=>{let n=t.domain;return{marketing:e.Marketing===!0,analytics:e.Performance===!0,preferences:e.Preferences===!0,sale_of_data:o,headlessStorefront:!0,checkoutRootDomain:n,storefrontRootDomain:n,storefrontAccessToken:t.storefrontAccessToken}},eg=async({cookieAcceptance:e,store:t,saleOfData:o=!0,timeoutMs:n=ZZ})=>{await Promise.race([(async()=>{let r=await eee(),s=tee(e,t,o);await new Promise(l=>r.setTrackingConsent(s,l))})(),new Promise((r,s)=>{window.setTimeout(()=>s(new Error(`Shopify tracking consent timed out after ${n}ms`)),n)})])};var oee=Zt.White,p8=({isClient:e,backgroundColor:t=oee,globalPrivacyControl:o})=>{let{cookieManager:n,personasRef:r}=(0,Mx.useContext)(Z),{store:s}=(0,Mx.useContext)(zt),p=vt().submitShopifyTrackingConsent==="true";if(!e)return null;let d=t===Zt.Black?"Black":"White",u=!O.isDeploymentTypeProd||!O.isCompilationModeProd?"":void 0;return i(RC,{cookieDomain:u,backgroundType:d,onComplete:y=>{if(y.cookieAcceptance.Marketing&&e0().catch(m=>
9981Be({component:"CookiePopup",error:m})),y.cookieAcceptance.Performance&&t0().catch(m=>Be({component:"CookiePopup",error:m})),y.cookieAcceptance.Preferences&&Zm(n,r?.current??void 0),s&&p&&eg({cookieAcceptance:y.cookieAcceptance,store:s,saleOfData:!y.isGlobalPrivacyControlApplied}).catch(m=>Be({component:"CookiePopup",error:m})),O.site==="for-business"&&y.cookieAcceptance.Preferences){let g=dr(n)?.snap??[];for(let f of g){let b=UM[f];b&&Je({subscribedEventType:"internal",eventCategory:"SnapPersona",eventAction:"Get",eventLabel:b})}}},globalPrivacyControl:o})};var c8=T(P());var nee=new Set(["ar","arc","dv","fa","ha","he","khw","ks","ku","ps","ur","yi"]),tg=e=>{let t=e??ao,[o]=t.split("-");return nee.has(o)?"rtl":"ltr"};var Tx=()=>{let e=(0,c8.useContext)(Z);return i(kt,{children:i("html",{dir:tg(e?.currentLocale)})})};Tx.displayName="DirectionDirective";var jr=T(P());function aee(e,t){var o={};return t=tn(t,3),Ed(e,function(n,r,s){ud(o,r,t(n,r,s))}),o}var d8=aee;function og(e){if(e==null)return;if(typeof e!="object")return e;let t=Ho(e),o=Array.isArray(e)?e.map(og):d8(t,og);return Object.freeze(o)}var ce=(e,t)=>{let{getCurrentUrl:o}=(0,jr.useContext)(Z),{preview:n,locale:r,fetchPolicy:s}=Kr(),{hasLivePreview:l}=(0,jr.useContext)(Ic),p={fetchPolicy:s,...t,context:{currentUrl:o(),...t?.context},variables:{preview:n,locale:r,...t?.variables},ssr:t?.ssr??O.isSSR},d=Cd(e,p);(0,jr.useEffect)(()=>{if(t?.pollInterval)return d.startPolling(t.pollInterval),d.stopPolling},[d.data,t,d.startPolling,d.stopPolling]);let[u,y]=(0,jr.useState)({});(0,jr.useEffect)(()=>{let g=sa;async function f(){let{ContentfulLivePreview:b}=await import("./chunks/live-preview-NNX5IDFW.mjs"),S=Object.keys(d.data).filter(v=>d.data?.[v].sys&&d.data?.[v].__typename),C=Object.keys(d.data).filter(v=>d.data?.[v].items),I=S.map(v=>b.subscribe({data:d.data[v],locale:r,callback:A=>{y(w=>({...w,[v]:A}))},query:e})),k=C.map(v=>b.subscribe({data:d.data[v].items,locale:r,callback:A=>{y(w=>({...w,[v]:{items:A}}))},query:e}));g=()=>[...I,...k].forEach(v=>v())}return l&&d.data&&f(),g},[d.data,l,r,e]);let m=d;if(d.data){m=Ho(d);let g=l&&Object.keys(u).length?u:d.data;m.data=og(g)}return m};var G=R` 9982 fragment ContentfulSysId on Entry { 9983 sys { 9984 id 9985 } 9986 __typename 9987 } 9988`;var ng=T(P());var Dn=e=>{if(e){let t=e.split("?")[0].split("/").pop();if(t){let o=t.split("."),n=o.slice(-1)[0];return{fileName:o.slice(0,o.length-1).join(".").trim(),extension:n}}}return{fileName:"",extension:""}};var u8=e=>{let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight??document.documentElement.clientHeight)&&t.right<=(window.innerWidth??document.documentElement.clientWidth)};var Mc=e=>e.__typename==="Video",Yr=({autoPlay:e=!0,eventLabel:t,getPreviousWatchTime:o,setPreviousWatchTime:n,elementLocation:r})=>l=>{if(e)return;let p=l.target,d=p.readyState>2,u=p.currentTime>0&&!p.paused&&!p.ended&&d,y=Math.abs(o()-p.currentTime),m=u8(p);u&&m&&!document.hidden&&y>=.9&&(Ar({eventCategory:"Video",eventLabel:t,eventVariable:"video_watch",eventValue:Math.floor(p.currentTime),context:{elementLocation:r}}),n(p.currentTime))};var Pn=R` 9989 fragment AssetAll on Asset { 9990 sys { 9991 id 9992 } 9993 contentType 9994 width 9995 height 9996 title 9997 description 9998 url 9999 size 10000 } 10001`,$t={all:Pn},y8=R` 10002 query AssetsQuery($preview: Boolean!, $locale: String!, $id: String!) { 10003 asset(preview: $preview, locale: $locale, id: $id) { 10004 ...AssetAll 10005 } 10006 } 10007 ${Pn} 10008`;var ree=e=>e?e.startsWith("image"):!1,m8=c` 10009 margin-bottom: ${a("--spacing-m")}; 10010`,Ax=e=>{let{data:t}=ce(y8,{variables:{id:e.sys.id}}),{getImageSources:o}=Ie(),n=(0,ng.useContext)(Se).elementLocation,[r,s]=(0,ng.useState)(!1),l=-1;if(!t)return null;let{asset:p}=t;if(!p)return null;let{contentType:d,url:u,description:y}=p;if(ree(d)){let b=cc(600,t.asset.height??0),S=o(u,b);return i(Ke,{className:e.isEmbedded?m8:void 0,imgSrcs:S,altText:y})}let m=b=>{if(u&&!r){let{fileName:S}=Dn(u);ge({eventAction:"Play",eventCategory:"Video",eventLabel:S,context:{elementLocation:n}}),s(!0)}},g=b=>{if(u){let{fileName:S}=Dn(u);ge({eventAction:"Pause",eventCategory:"Video",eventLabel:S,context:{elementLocation:n}})}},f=Yr({autoPlay:!1,eventLabel:p.sys.id,getPreviousWatchTime:()=>l,setPreviousWatchTime:b=>{l=b},elementLocation:n});return i(Ke,{sourceType:d,className:e.isEmbedded?m8:void 0,videoSource:u,showVideoControls:!0,onPlay:m,onPause:g,onTimeUpdate:f,maxHeight:600,altText:y})};Ax.displayName="Media";var iee={all:R` 10011 fragment FaviconAll on Favicon { 10012 ...ContentfulSysId 10013 asset { 10014 ...AssetAll 10015 } 10016 size 10017 } 10018 ${$t.all} 10019 ${G} 10020 `},g8=R` 10021 query FaviconCollectionQuery($preview: Boolean!, $locale: String!) { 10022 faviconCollection(preview: $preview, locale: $locale, order: sys_publishedAt_ASC) { 10023 items { 10024 ...FaviconAll 10025 } 10026 } 10027 } 10028 ${iee.all} 10029`;var f8=()=>{let{data:e}=ce(g8,{});return e?e?.faviconCollection?.items?.some(o=>!!o.asset)?i(kt,{children:e.faviconCollection.items.filter(o=>!!o.asset).map(o=>{let{sys:n,asset:r,size:s}=o;return i("link",{rel:"icon",type:"image/png",href:`${r.url}?fm=png`,sizes:s?`${s}x${s}`:void 0},n.id)})}):i(kt,{children:i("link",{rel:"icon",type:"image/png",href:"/images/favicon.png"})}):null};var zi=T(P());var b8=T(P());
10029var sn=(0,b8.createContext)({footerView:"Full Footer",headerView:"Full Header",hasSideNav:!1,hasSubNav:!1,hasCustomSideNav:!1});var S8=T(P());function Xr(e,t){let{getCurrentUrl:o}=(0,S8.useContext)(Z);if(O.isDeploymentTypeProd)return;let r=new URL(o()).searchParams.get("alternateMotif");if(!r)return;let s=e.alternateBrandPropOverrides;if(!s)return;let l=s[r];if(l)return l[t]}var h8=T(P());function ln(){let{getCurrentUrl:e}=(0,h8.useContext)(Z),t=Ld[O.site];if(O.site==="sandbox"){let n=new URL(e()).searchParams.get("alternateMotif");n&&Xk.includes(n)&&(t=n)}return t}function tt(e){return ln()==="snap"?e??"sdsm-default":e??void 0}var r9=T(P());var C8=e=>!!e.id,ro=e=>e.sys!==void 0;var x8=e=>{let t=new Set(Object.keys(e));return["__typename","id","ids","sys"].forEach(o=>t.delete(o)),t.size===0},ag=e=>{let t=new Set(Object.keys(e));return["__typename","sys"].forEach(o=>t.delete(o)),t.size>0};function Re({entryId:e,fieldIds:t,locale:o}){if(O.isDeploymentTypeProd)return{};let n={};return t.forEach(r=>{let s=`${String(r)}Dataset`;n[s]={contentfulEntryId:e,contentfulFieldId:r,contentfulLocale:o}}),n}var t9=T(Ua());var o9=T(P());var Z8=T(rg());var T8=T(P());var ei=({uri:e,draggable:t,className:o,onClick:n,children:r})=>{let s=(0,T8.useContext)(Se).elementLocation;return i(Vh,{link:e,draggable:t,onClick:()=>{ge({eventAction:"Click",eventCategory:"Hyperlink",eventLabel:`Hyperlink: ${e}`,context:{targetUrl:e,elementLocation:s,elementText:typeof r=="string"?r:void 0}}),no(e)&&ke.flush(),n?.()},className:o,children:r})};ei.displayName="Hyperlink";var dl=c` 10030 && { 10031 line-height: 160%; 10032 } 10033`,ig=({children:e})=>i("div",{className:h($n.h1,kd,dl),children:e});ig.displayName="H1";var sg=({children:e})=>i("div",{className:h($n.h2,is,dl),children:e});sg.displayName="H2";var lg=({children:e})=>i("div",{className:h($n.h3,uo,dl),children:e});
10033lg.displayName="H3";var pg=({children:e})=>i("div",{className:h($n.h4,Tt,dl),children:e});pg.displayName="H4";var cg=({children:e})=>i("div",{className:h($n.h5,qt,dl),children:e});cg.displayName="H5";var dg=({children:e})=>i("div",{className:h($n.h6,Md,dl),children:e});dg.displayName="H6";var Y8=T(rg()),yt=T(BM());function mee(e,t,o,n){for(var r=-1,s=e==null?0:e.length;++r<s;){var l=e[r];t(n,l,o(l),e)}return n}var A8=mee;function gee(e,t,o,n){return zr(e,function(r,s,l){t(n,r,o(r),l)}),n}var _8=gee;function fee(e,t){return function(o,n){var r=Yo(o)?A8:_8,s=t?t():{};return r(o,e,tn(n,2),s)}}var w8=fee;var bee=w8(function(e,t,o){ud(e,o,t)}),Nx=bee;var Ex=e=>{let{item:t,children:o}=e,n=t.__typename,r=n!=="Slug"&&n!=="Asset",s=n==="Slug"&&!t.slug,l=n==="Asset"&&!t.url;if(!n||r||s||l)return Be({component:"AssetEntryLink",message:"Invalid data for hyperlink",context:{sysId:t.sys.id}}),null;let p="";return t.__typename==="Slug"&&(p=`https://${O.domainName}/${t.slug}`),t.__typename==="Asset"&&t.url&&(p=t.url),i(ei,{uri:p,children:o})};Ex.displayName="AssetEntryHyperlink";var ul=T(P());var Ro=({children:e,fallbackElement:t=null})=>{let[o,n]=(0,ul.useState)(!0);return(0,ul.useEffect)(()=>{n(!1)},[]),o?t:i(ul.Suspense,{fallback:t,children:e})};var See=Jo(()=>import("./chunks/LazyCode-JEQOKCBT.mjs").then(e=>({default:e.Code}))),Rx=e=>i(Ro,{children:i(See,{...e})});Rx.displayName="Code";var D8={all:R` 10034 fragment CodeAll on Code { 10035 ...ContentfulSysId 10036 code 10037 language 10038 } 10039 ${G} 10040 `};var Jn=T(P());var yl=T(P());var hee={isOpen:!1,open:()=>{},close:()=>{}},Ac=(0,yl.createContext)(hee),P8=({children:e})=>{let[t,o]=(0,yl.useState)(!1),[n,r]=(0,yl.useState)(),[s,l]=(0,yl.useState)(),p=({title:u,body:y},m)=>{r({title:u,body:y}),l(m),o(!0)},d=()=>{r(void 0),l(void 0),o(!1)};return i(Ac.Provider,{value:{isOpen:t,open:p,close:d,content:n,triggerRef:s},children:e})};var _c=({displayText:e,fullText:t,anchorId:o,overlayTitle:n,overlayBody:r,className:s})=>{let{open:l,close:p,triggerRef:d}=(0,Jn.useContext)(Ac),u=(0,Jn.useContext)(Se).elementLocation,y=(0,Jn.useRef)(null),m=y===d,g=(0,Jn.useMemo)(()=>({title:n??e,body:r??go(t)}),[e,t,n,r]);(0,Jn.useEffect)(()=>{o&&window.location.hash===`#${o}`&&l(g,y)},[]);let f=(0,Jn.useCallback)(()=>{if(m){ge({eventCategory:"Definition",eventAction:"Close",eventLabel:null,context:{elementLocation:u}}),p();let b=new URL(window.location.href);b.hash="",window.history.replaceState(null,"",b)}else{ge({eventCategory:"Definition",eventAction:"Open",eventLabel:null,context:{elementLocation:u}}),l(g,y);let b=new URL(window.location.href);b.hash=o?`#${o}`:"",window.history.replaceState(null,"",b)}},[m,o,g,y,l,p,u]);return e?t?i(kP,{ref:y,anchorId:o,isActive:m,onClick:f,className:s,children:e}):i(ue,{children:e}):null};_c.displayName="Definition";var Fx=T(P());var Bx=({className:e})=>{let{hasSideNav:t}=(0,Fx.useContext)(sn),{isOpen:o,close:n,content:r,triggerRef:s}=(0,Fx.useContext)(Ac),l=p=>
10040{["Enter"," "].includes(p?.key)&&(p.preventDefault(),s?.current?.focus()),n();let d=new URL(window.location.href);d.hash="",window.history.replaceState(null,"",d)};return i(sC,{isOpen:o,title:r?.title,body:r?.body,onClose:l,className:e,hasSideNav:t})};Bx.displayName="DefinitionOverlay";var Cee={all:R` 10041 fragment DownloadableAssetAll on DownloadableAsset { 10042 ...ContentfulSysId 10043 linkText 10044 file { 10045 url 10046 } 10047 } 10048 ${G} 10049 `},N8=R` 10050 query DownloadableAssetQuery($preview: Boolean!, $locale: String!, $id: String!) { 10051 downloadableAsset(preview: $preview, locale: $locale, id: $id) { 10052 ...DownloadableAssetAll 10053 } 10054 } 10055 ${Cee.all} 10056`;var $x=e=>{let t=!!e?.linkText&&!!e?.file?.url,{data:o}=ce(N8,{variables:{id:C8(e)?e.id:e.sys.id},skip:t}),n=t?e:o?.downloadableAsset;return n?i(ei,{uri:n?.file?.url,children:n?.linkText}):null};$x.displayName="DownloadableAsset";var E8=e=>{let{text:t=""}=e;return i(YP,{text:t})};var ti=R` 10057 fragment EmphasizedTextAll on EmphasizedText { 10058 ...ContentfulSysId 10059 text 10060 } 10061 ${G} 10062`;var R8=c` 10063 padding-bottom: 0; 10064`,F8=c` 10065 font-size: 10px; 10066 line-height: 18px; 10067`,B8=c` 10068 font-size: 10px; 10069 line-height: 20px; 10070 margin-inline-end: 0.125em; 10071`,$8=c` 10072 display: flex; 10073`;var Lx=({number:e,displayText:t,fullText:o,...n})=>{let r=x(ue,{children:[t,i("span",{className:F8,children:x(lp,{children:[" ",e]})})]}),s=x("div",{className:$8,children:[i("span",{className:B8,children:x(lp,{children:[e," "]})}),go(o)]});return i(_c,{...n,displayText:r,fullText:o,overlayTitle:"",overlayBody:s,className:t?void 0:R8})};Lx.displayName="FootnoteInline";function $e(e){if(!e.mobile)return e.desktop;if(e.desktop)return{sources:[...e.mobile.sources.map(t=>({...t,media:t.media??"(max-width: 768px)"})),...e.desktop.sources],default:e.desktop.default,defaultSrcSet:e.desktop.defaultSrcSet,defaultSizes:e.desktop.defaultSizes}}var ug=e=>({imageSource:e.url,imageAltText:e.description,imageSize:{height:e.height,width:e.width},contentType:e.contentType}),Hx=e=>({videoSource:e.url,contentType:e.contentType}),Qe=e=>!e||!e.url?{}:e.contentType?.startsWith("video")?Hx(e):e.contentType?.startsWith("image")?ug(e):{};var yg=e=>e.__typename==="Image",ot=({desktopHeight:e,mobileHeight:t,desktopDefaultHeight:o=800,mobileDefaultHeight:n=800,enableHighDpi:r=!1,quality:s="Standard"})=>{let l=oi[s],p={image:{height:o,quality:l}},d={image:{height:n,quality:l}},u=r?cc(o,e,l):p,y=r?cc(n,t??e,l):d;return{desktopSettings:{...u,quality:l},mobileSettings:{...y,quality:l}}};var oi={Standard:40,High:65,"Very High":85},Vx=e=>{let{enableHighDpi:t,quality:o,dataset:n}=e,{imageSource:r,imageAltText:s}=Qe(e.media),{imageSource:l}=Qe(e.mobileMedia),{getImageSources:p}=Ie(),{desktopSettings:d,mobileSettings:u}=ot({desktopHeight:e.media?.height??0,mobileHeight:e.mobileMedia?.height,enableHighDpi:t,quality:o}),y=$e({desktop:p(r,d),mobile:p(l??r,u)});return i(xn,{altText:s,imgSrcs:y,wrap:e.wrap??void 0,dataset:n})};Vx.displayName="Image";var wc=R` 10074 fragment StickerAll on Sticker { 10075 ...ContentfulSysId 10076 asset { 10077 ...AssetAll 10078 } 10079 position 10080 rotation 10081 } 10082 ${G} 10083 ${$t.all} 10084`,zVe=R` 10085 query StickerQuery($preview: Boolean!, $locale: String!, $id: String!) { 10086 sticker(preview: $preview, locale: $locale, id: $id) { 10087 ...StickerAll 10088 } 10089 } 10090 ${wc} 10091`;var Le={all:R` 10092 fragment ImageAll on Image { 10093 sys { 10094 id 10095 } 10096 media { 10097 ...AssetAll 10098 } 10099 mobileMedia { 10100 ...AssetAll 10101 } 10102 wrap 10103 enableHighDpi 10104 quality 10105 stickersCollection { 10106 items { 10107 ...StickerAll 10108 } 10109 } 10110 } 10111 ${$t.all} 10112 ${wc} 10113 `},XVe=R` 10114 query ImageQuery($preview: Boolean!, $locale: String!, $id: String!) { 10115 image(preview: $preview, locale: $locale, id: $id) { 10116 ...ImageAll 10117 } 10118 } 10119 ${Le.all} 10120`;var Ox={all:R` 10121 fragment CustomerQuoteAll on CustomerQuote { 10122 ...ContentfulSysId 10123 author { 10124 json 10125 } 10126 authorName 10127 body { 10128 json 10129 } 10130 media { 10131 __typename 10132 ... on Video { 10133 ...VideoAll 10134 } 10135 ... on Image { 10136 ...ImageAll 10137 } 10138 } 10139 logo { 10140 ...ImageAll 10141 } 10142 isLongQuote 10143 } 10144 ${G} 10145 ${Le.all} 10146 `},L8=R` 10147 query CustomerQuotesQuery($preview: Boolean!, $locale: String!, $id: String!) { 10148 customerQuote(preview: $preview, locale: $locale, id: $id) { 10149 ...CustomerQuoteAll 10150 } 10151 } 10152 ${Ox.all} 10153`;
10153var H8=T(P());var V8=e=>{let t=x8(e),{getImageSources:o}=Ie(),{isRTL:n}=(0,H8.useContext)(Z),{data:r}=ce(L8,{variables:{id:e.sys.id},skip:!t});if(t&&!r)return null;let{author:s,authorName:l,body:p,logo:d,isLongQuote:u,media:y}=r?.customerQuote??e,m=d?.media?.url?o(d.media.url):void 0,g=y?.__typename==="Image"?o(y.media.url):void 0,f=y?.__typename==="Video"?y.media.url:void 0,b=y?.__typename==="Video"?y.mobileMedia?.url:void 0,S=ht(s)?l:Na(s);return i(rC,{author:S,logoImageSrc:m,isRtl:n,isLongQuote:u??!1,imgSrcs:g,videoSrc:f,mobileVideoSrc:b,children:Na(p)})};var Dc=R` 10154 fragment SnapchatEmbedAll on SnapchatEmbed { 10155 ...ContentfulSysId 10156 url 10157 } 10158 ${G} 10159`,O8=R` 10160 query SnapchatEmbedQuery($preview: Boolean!, $locale: String!, $id: String!) { 10161 snapchatEmbed(preview: $preview, locale: $locale, id: $id) { 10162 ...SnapchatEmbedAll 10163 } 10164 } 10165 ${Dc} 10166`;var G8=e=>{let t=ro(e)?e.sys.id:void 0,{data:o}=ce(O8,{skip:!t,variables:{id:t}});return o?i(js,{...o.snapchatEmbed}):null};var nt={all:R` 10167 fragment VideoAll on Video { 10168 ...ContentfulSysId 10169 media { 10170 ...AssetAll 10171 } 10172 disableStreaming 10173 streamUrl 10174 mobileMedia { 10175 ...AssetAll 10176 } 10177 mobileMediaStreamUrl 10178 thumbnailMedia { 10179 ...AssetAll 10180 } 10181 captions { 10182 ...AssetAll 10183 } 10184 autoPlay 10185 wrap 10186 externalId 10187 stickersCollection { 10188 items { 10189 ...StickerAll 10190 } 10191 } 10192 } 10193 ${$t.all} 10194 ${wc} 10195 ${G} 10196 `},z8=R` 10197 query VideoQuery($preview: Boolean!, $locale: String!, $id: String!) { 10198 video(preview: $preview, locale: $locale, id: $id) { 10199 ...VideoAll 10200 } 10201 } 10202 ${nt.all} 10203`;var gg=T(P());var W8=T(P());var xee=e=>({media:ug(e.media),mobileMedia:e.mobileMedia?ug(e.mobileMedia):{}}),U8=(e,t,o)=>{let n=Hx(e);if(!o||!t)return n;let r=GM(e.url,t);return r?{...n,videoSource:r.videoSource,contentType:r.contentType}:n},vee=(e,t,o=!1)=>{let n=e.media,r=e.mobileMedia,s=t(e.thumbnailMedia?.url),l=U8(n,e.streamUrl,o),p=r?U8(r,e.mobileMediaStreamUrl,o):{};return{media:l,mobileMedia:p,thumbnailSource:s}},Q8=(e,{hlsFeatureEnabled:t,getBestBgImgSrc:o,onHlsVideo:n})=>{let r=e?.__typename==="Video"&&e.media.contentType?.startsWith("video"),s=e?.__typename==="Image"&&e.media.contentType?.startsWith("image"),l=r?e:void 0,p=l?.disableStreaming===!0,d=r&&!p&&(l?.streamUrl?.endsWith(".m3u8")||l?.mobileMediaStreamUrl?.endsWith(".m3u8"));return!O.isClient&&d&&t&&n(),e?r?vee(e,o,t&&!!d):s?xee(e):{media:{},mobileMedia:{}}:{media:{},mobileMedia:{}}},q8=()=>{let e=vt(),t=(0,W8.useContext)(Z),{getBestBgImgSrc:o}=Ie();return{hlsFeatureEnabled:e.enableHlsPlayback==="true",getBestBgImgSrc:o,onHlsVideo:t.onHlsVideo}},jt=e=>{let t=q8();return Q8(e,t)},mg=e=>{let t=q8();return e?.map(o=>Q8(o??void 0,t))??[]};var fg=(e,t)=>{let{media:o,mobileMedia:n,thumbnailMedia:r,autoPlay:s=!0,wrap:l,captions:p}=e,{videoSource:d}=Qe(o),{videoSource:u}=Qe(n),y=t(e.thumbnailMedia?.url,{width:728});return{videoSource:d,mobileVideoSource:u,posterSource:y,showVideoControls:ht(s)?!1:!s,wrap:ht(l)?void 0:l,captionsSource:p?.url,altText:r?.description??o?.description}},Gx=e=>{let t=ro(e)?e.sys.id:void 0,{data:o}=ce(z8,{skip:!t,variables:{id:t}}),[n,r]=(0,gg.useState)(!1),{getBestBgImgSrc:s}=Ie(),l=(0,gg.useContext)(Se).elementLocation,p=-1,{media:{videoSource:d},mobileMedia:{videoSource:u},thumbnailSource:y}=jt(o?.video);if(!o)return null;let m=fg(o.video,s),g=S=>{if(d&&!n){if(o.video.autoPlay)return;let{fileName:C}=Dn(d);ge({eventAction:"Play",eventCategory:"Video",eventLabel:C,context:{elementLocation:l}}),r(!0)}},f=S=>{if(d&&!o.video.autoPlay){let{fileName:C}=Dn(d);ge({eventAction:"Pause",eventCategory:"Video",eventLabel:C,context:{elementLocation:l}})}},b=Yr({autoPlay:o.video.autoPlay,eventLabel:o.video.externalId??t??"unknown",getPreviousWatchTime:()=>p,setPreviousWatchTime:S=>{p=S},elementLocation:l});return i(xn,{mediaClassName:e.mediaClassName,onPlay:g,onPause:f,onTimeUpdate:b,dataset:e.dataset,...m,videoSource:d,mobileVideoSource:u,posterSource:y})};Gx.displayName="Video";var zx="mwp-cta",Iee=e=>{let o=xt()?400:600;return e.url?i(Ax,{...e,url:Tn({imageUrl:e.url,settings:{height:o}}),isEmbedded:!0}):null},kee=e=>i(ft,{...e,className:zx}),bg={FootNotes:Lx,CustomerQuote:V8,Asset:Iee,CallToAction:kee,SnapchatEmbed:G8,Image:Vx,Video:Gx,Code:Rx,Definition:_c,DownloadableAsset:$x,EmphasizedText:E8};var K8=c` 10204 width: 100%; 10205`;var Qx=e=>e,Pc=(e,t)=>t?i(ue,{children:t}):(Be({component:"RenderText",message:"Default node renderer cannot render this node.",context:{node:JSON.stringify(e)}}),null),Ux=e=>e?t=>i(e,{children:t}):Qx,io=e=>e?(t,o)=>i(e,{...t.data,children:o}):Pc,Mee=(e,t)=>
10205o=>{let n=Nx(t,p=>p.sys.id),r=o.data.target.sys.id,s=n[r],l=s?.__typename;if(!l)return Be({component:"RenderText",message:"Node typename wasn't in the query response",context:{entryId:r}}),Pc(o,null);if(l==="Asset")return Be({component:"RenderText",message:`Attempted to render embedded asset: ${r} but this is no longer supported.`,context:{entryId:r}}),null;if(l in e){if(l==="Video"){let d=e[l];return i(d,{...s,mediaClassName:K8})}let p=e[l];return i(p,{...s})}return Be({component:"RenderText",message:"No rich text renderer found",context:{typename:l}}),Pc(o,null)},X8=e=>e.json!==void 0,Wx=e=>{let{data:t,contentfulComponentMap:o,accessPath:n}=e,r;if(!t||!X8(t))r=Pc;else{let s=Bp(t,n);r=Mee(o,s)}return r},j8=e=>{let{data:t,accessPath:o}=e;return!t||!X8(t)?Pc:(n,r)=>{let s=Bp(t,o),p=Nx(s,d=>d.sys.id)[n.data.target.sys.id];return i(Ex,{item:p,children:r})}},Tee=e=>{let{data:t,components:o}=e,n=Wx({data:t,contentfulComponentMap:bg,accessPath:"links.assets.block"}),r=Wx({data:t,contentfulComponentMap:bg,accessPath:"links.entries.inline"}),s=Wx({data:t,contentfulComponentMap:bg,accessPath:"links.entries.block"}),l=j8({data:t,accessPath:"links.assets.hyperlink"}),p=j8({data:t,accessPath:"links.entries.hyperlink"});return{renderText:o.Text??Qx,renderMark:{[yt.MARKS.BOLD]:Ux(o.Bold),[yt.MARKS.CODE]:Qx,[yt.MARKS.ITALIC]:Ux(o.Italics),[yt.MARKS.UNDERLINE]:Ux(o.Underline)},renderNode:{[yt.BLOCKS.DOCUMENT]:io(o.Document),[yt.BLOCKS.EMBEDDED_ASSET]:n,[yt.BLOCKS.EMBEDDED_ENTRY]:s,[yt.BLOCKS.HEADING_1]:io(o.H1),[yt.BLOCKS.HEADING_2]:io(o.H2),[yt.BLOCKS.HEADING_3]:io(o.H3),[yt.BLOCKS.HEADING_4]:io(o.H4),[yt.BLOCKS.HEADING_5]:io(o.H5),[yt.BLOCKS.HEADING_6]:io(o.H6),[yt.BLOCKS.HR]:io(o.HorizontalRule),[yt.BLOCKS.LIST_ITEM]:io(o.ListItem),[yt.BLOCKS.PARAGRAPH]:io(o.Paragraph),[yt.BLOCKS.QUOTE]:io(o.BlockQuote),[yt.BLOCKS.UL_LIST]:io(o.UnorderedList),[yt.BLOCKS.OL_LIST]:io(o.OrderedList),[yt.INLINES.ASSET_HYPERLINK]:l,[yt.INLINES.ENTRY_HYPERLINK]:p,[yt.INLINES.EMBEDDED_ENTRY]:r,[yt.INLINES.HYPERLINK]:io(o.Hyperlink),table:io(o.Table),"table-cell":io(o.TableCell),"table-header-cell":io(o.TableHeader),"table-row":io(o.TableRow)}}},Hi=e=>t=>{let{components:o={}}=e;if(!t)return;if(typeof t=="string")return t;let n=Tee({data:t,components:o});return(0,Y8.documentToReactComponents)(t.json,n)};var qx=T(P());var Aee=c` 10206 max-width: 100%; 10207`,J8=({children:e})=>i("div",{"data-testid":"mwp-rich-text",className:Aee,children:qx.Children.toArray(e)}),_ee=c` 10208 margin: 0; 10209`,Kx=({children:e})=>i("p",{className:_ee,children:qx.Children.toArray(e)});function wee(e,t){return _M(gy(e,t),1)}var jx=wee;var Dee=e=>jx(e.split(` 10210`),(t,o)=>o>0?[i("br",{}),t]:[t]),Pee=e=>typeof e=="string"&&e.includes("Snap Inc.")?e.split("Snap Inc.").flatMap((o,n)=>n===0?[ha(o)]:[i("span",{dir:"ltr",children:"Snap Inc."},o),ha(o)]):[typeof e=="string"?ha(e):e],Yx=(e="")=>{let t=Dee(e);return jx(t,Pee)};var Xx={Document:J8,Text:Yx,Bold:rp,Italics:ip,Underline:sp,H1:ub,H2:yb,H3:mb,H4:gb,H5:fb,H6:bb,Paragraph:bM,Hyperlink:ei,ListItem:CM,UnorderedList:SM,OrderedList:hM,Table:Ub,TableCell:Su,TableHeader:bp,TableRow:hu,HorizontalRule:vM,BlockQuote:oC},Vi=e=>{if(e)return typeof e=="string"?e:(0,Z8.documentToReactComponents)(e.json)},Fo=Hi({components:{Bold:rp,Italics:ip,Underline:sp}}),so=Hi({components:{Text:Yx,Bold:rp,Italics:ip,Underline:sp,Paragraph:Kx}}),e9=Hi({components:{Bold:rp,Italics:ip,Underline:sp,Hyperlink:ei,Paragraph:Kx}}),go=Hi({components:Xx}),Na=Hi({components:{...Xx,H1:ig,H2:sg,H3:lg,H4:pg,H5:cg,H6:dg}}),Sg=(e=!1,t=!1)=>Hi({components:{...Xx,...e?{H1:ub,H2:yb,H3:mb,H4:gb,H5:fb,H6:bb}:{H1:ig,H2:sg,H3:lg,H4:pg,H5:cg,H6:dg},Table:t?s_:Ub}});var Jx=e=>{let{url:t,onClick:o,buttonType:n,title:r,size:s,image:l,iconName:p,targetAsset:d,className:u,buttonTextDataset:y}=e,m=(0,o9.useContext)(Se).elementLocation,{getImageSources:g}=Ie(),f=()=>{o?.();let C;r?.json?C=(0,t9.documentToPlainTextString)(r.json):l?.media?.title?C=`${l.media.title} - Image`:C=p??"unknown",ge({eventCategory:"Button",eventAction:"Click",eventLabel:t?`to: ${t}`:null,context:{elementText:C,targetUrl:d?.url??t,elementLocation:m}}),no(t)&&ke.flush()},b=n??Vo.Primary,S=g(l?.media?.url);return i(eo,{className:u,link:d?.url??t,type:b,onClick:f,size:s,iconName:p??void 0,imgSrcs:S,imgAltText:l?.media?.title,buttonTextDataset:y,children:Fo(r)})};Jx.displayName="Button";var n9=R` 10211 fragment ButtonAll on Button { 10212 ...ContentfulSysId 10213 title { 10214 json 10215 } 10216 url 10217 targetAsset { 10218 ...AssetAll 10219 } 10220 size 10221 buttonType 10222 image { 10223 ... on Image { 10224 ...ImageAll 10225 } 10226 } 10227 iconName 10228 } 10229 ${$t.all} 10230 ${Le.all} 10231 ${G} 10232`;var fo={all:R` 10233 fragment AnalyticsAll on Analytics { 10234 ...ContentfulSysId 10235 label 10236 } 10237 ${G} 10238 `},fze=R` 10239 query AnalyticsQuery($preview: Boolean!, $locale: String!, $id: String!) { 10240 analytics(preview: $preview, locale: $locale, id: $id) { 10241 ...AnalyticsAll 10242 } 10243 } 10244 ${fo.all} 10245`;var mt=R` 10246 fragment CallToActionAll on CallToAction { 10247 ...ContentfulSysId 10248 analytics { 10249 ...AnalyticsAll 10250 } 10251 presentation { 10252 ... on Entry { 10253 ...ContentfulSysId 10254 } 10255 ... on Button { 10256 ...ButtonAll 10257 } 10258 } 10259 url 10260 } 10261 ${n9} 10262 ${G} 10263 ${fo.all} 10264`,a9=R` 10265 query CallToActionQuery($preview: Boolean!, $locale: String!, $id: String!) { 10266 callToAction(preview: $preview, locale: $locale, id: $id) { 10267 ...CallToActionAll 10268 } 10269 } 10270 ${mt} 10271`;var ft=e=>{let t=(0,r9.useContext)(Se).elementLocation,{className:o,...n}=e,{data:r}=ce(a9,{skip:ag(n),variables:{id:e.sys.id}}),s=r?r?.callToAction:e;if(!s||!s.sys||!s.presentation)return null;
10271let{presentation:l,analytics:p,url:d,className:u}=s,y=p?.label,m=()=>{(y||d)&&ge({eventCategory:"CTA",eventAction:"Click",eventLabel:y??(d?`to: ${d}`:null),context:{elementText:y,targetUrl:d,elementLocation:t}})};if(l.__typename==="Button"){let g=l,{titleDataset:f}=Re({entryId:g.sys.id,fieldIds:["title"]});return i(Jx,{onClick:m,...g,className:h(o,u),buttonTextDataset:f})}return null};ft.displayName="CallToAction";var Nc=T(P());var Nee=e=>e.split(";").filter(Boolean).reduce((t,o)=>{let[n,r]=o.split(":").map(s=>s.trim());if(n&&r){let s=n.replace(/-([a-z])/g,(l,p)=>p.toUpperCase());t[s]=r}return t},{}),Eee={"Fade in left":Xo`from {opacity: 0; transform: translateX(-50px);} to {opacity: 1; transform: translateX(0);}`,"Fade in right":Xo`from {opacity: 0; transform: translateX(50px);} to {opacity: 1; transform: translateX(0);}`,"Fade in top":Xo`from {opacity: 0; transform: translateY(-50px);} to {opacity: 1; transform: translateY(0);}`,"Fade in bottom":Xo`from {opacity: 0; transform: translateY(50px);} to {opacity: 1; transform: translateY(0);}`},Zx=e=>{if(!e)return{animation:void 0,styles:void 0};let t={},o="";return e?.advancedKeyframes?.keyframes?(o=Xo(e.advancedKeyframes.keyframes),e.advancedKeyframes.startingCss&&(t=Nee(e.advancedKeyframes.startingCss))):(t.opacity=0,o=e.animation?Eee[e.animation]??"":""),{animation:{animationName:o,delay:e?.delay,direction:e?.direction,duration:e?.duration,iterationCount:e?.iterationCount,timingFunction:e?.advancedKeyframes?.timingFunction,transformOrigin:e?.advancedKeyframes?.transformOrigin},styles:t}};var s9=T(P());var ev=R` 10272 fragment ImageButtonAll on ImageButton { 10273 ...ContentfulSysId 10274 url 10275 height 10276 width 10277 image { 10278 ...AssetAll 10279 } 10280 } 10281 10282 ${G} 10283 ${$t.all} 10284`,i9=R` 10285 query ImageButtonQuery($preview: Boolean!, $locale: String!, $id: String!) { 10286 imageButton(preview: $preview, locale: $locale, id: $id) { 10287 ...ImageButtonAll 10288 } 10289 } 10290 10291 ${ev} 10292`;var l9=e=>{let{data:t}=ce(i9,{variables:{id:e.sys.id}}),{getImageSources:o}=Ie(),n=(0,s9.useContext)(Se).elementLocation;if(!t?.imageButton)return null;let{url:r,image:s,...l}=t.imageButton,{imageSource:p,imageAltText:d}=Qe(s),u=o(p);return i(Us,{...l,url:r,onClick:()=>{ge({eventAction:"Click",eventCategory:"ImageButton",eventLabel:null,context:{targetUrl:r,elementLocation:n}}),no(r)&&ke.flush()},imgSrcs:u,altText:d})};var p9=c` 10293 max-width: 100%; 10294 max-height: 400px; 10295`,c9=c` 10296 margin-bottom: inherit; 10297 max-height: 600px; 10298 10299 ${N} { 10300 max-width: 100%; 10301 height: inherit; 10302 } 10303`,d9=c` 10304 .${"sdsm-content-body"} { 10305 .${Ms} { 10306 margin-block-end: ${a("--spacing-m")}; 10307 } 10308 10309 video { 10310 max-height: 800px; 10311 } 10312 } 10313 10314 /* Unset margin for media wrapper inside quote component */ 10315 /* For quote component, the asset should cover the entire container */ 10316 .sdsm-quote-container .${Ms} { 10317 margin-block-end: unset; 10318 } 10319`,u9=c` 10320 /* Unlike images, videos will always expand to the width of their container. The benefits are two fold... 10321 10322 1. We don't have to worry about the poster image being a different size than the video. 10323 2. We don't have to worry about different video resolutions (but same aspect ratio) rendering as different sizes. 10324 10325 */ 10326 width: 100%; 10327`;var Ec=e=>{let[t,o]=(0,Nc.useState)(!1),{getImageSources:n}=Ie(),r=(0,Nc.useContext)(Se).elementLocation,{isRTL:s}=(0,Nc.useContext)(Z),p=ln()==="snap",{sys:d,mediaWrap:u,showVideoControls:y,layout:m,mediaDirection:g,mediaDirectionMobile:f,displayOn:b,asset:S,title:C,subtitle:I,titleAlignment:k,titleAlignmentMobile:v,showFullResolutionMedia:A,body:w,bodyAlignment:D,bodyAlignmentMobile:M,callsToActionCollection:_,theme:F,brandBackgroundColor:$,backgroundColor:B,brandBorderColor:V,borderColor:L,anchorId:z,useHeadingTagsForBody:K,collapseMobileTable:ye,listIcon:se,entranceAnimation:ne}=e,oe=tt($),ae=S&&!(C||I||w),{getBestBgImgSrc:j}=Ie(),Y=j(se?.media?.url,{width:72,height:72,resizeFocus:"center",fit:"fill"}),J=Sg(K,ye),{media:{imageSource:U,imageAltText:E,imageSize:X,videoSource:W},mobileMedia:{imageSource:ie,imageSize:ee,videoSource:be},thumbnailSource:Q}=jt(S),le=Re({entryId:d.id,fieldIds:["body","title","subtitle","asset"]}),{animation:De,styles:me}=Zx(ne),ve=[];
10327if(_?.items)for(let Fe of _.items)Fe.__typename==="ImageButton"?ve.push(i(l9,{...Fe},Fe.sys.id)):Fe.__typename==="CallToAction"&&ve.push(i(ft,{...Fe},Fe.sys.id));let Ce=A&&X?.height?X.height:ae?600:400,{desktopSettings:_e,mobileSettings:Pt}=ot({desktopHeight:X?.height??0,mobileHeight:ee?.height,desktopDefaultHeight:Ce,mobileDefaultHeight:Ce,enableHighDpi:S?.enableHighDpi,quality:S?.quality}),pt=$e({desktop:n(U,_e),mobile:n(ie,Pt)}),lo=-1,ho=()=>{if(W&&!t){if(S.autoPlay)return;let{fileName:Fe}=Dn(W);ge({eventAction:"Play",eventCategory:"Content",eventLabel:Fe,context:{elementLocation:r}}),o(!0)}},at=()=>{if(W&&!S.autoPlay){let{fileName:Fe}=Dn(W);ge({eventAction:"Pause",eventCategory:"Content",eventLabel:Fe,context:{elementLocation:r}})}},Me;if(S){let Fe=S.__typename,jo=Yr({autoPlay:S.autoPlay,eventLabel:S.externalId??S?.sys.id,getPreviousWatchTime:()=>lo,setPreviousWatchTime:po=>{lo=po},elementLocation:r});if(Fe==="Video"||Fe==="Image"){let po=S.wrap,{thumbnailMedia:de,captions:Lt,autoPlay:gt,media:St}=S,Nt=de?.description??St.description,Co=y??(ht(gt)?!1:!gt),Et=Fe==="Image"&&(X?.height??0)>(X?.width??0),xo=h({[c9]:!A&&ae,[p9]:!A&&!ae,"strict-height":!A&&Et,[u9]:Fe==="Video"}),Lo=S?.stickersCollection?.items?.map(vo=>({imgSrcs:n(vo?.asset?.url),position:vo?.position,rotation:vo?.rotation}));Me=i(xn,{mediaClassName:xo,altText:E??Nt,imgSrcs:pt,posterSource:Q,wrap:po??u,dataset:le.assetDataset,imageSource:U,showVideoControls:Co,videoSource:W,mobileVideoSource:be,onPlay:ho,onPause:at,onTimeUpdate:jo,captionsSource:Lt?.url,stickers:Lo})}else if(Fe==="SnapchatEmbed")Me=i(js,{...S,dataset:le.assetDataset});else if(Fe==="Stats"){let po=S;Me=i(dC,{stat:po.stat,optionalSupplementaryText:po.optionalSupplementaryText,animation:De,style:me})}}return i(Fs,{title:so(C),subtitle:so(I),titleAlignment:k??void 0,titleAlignmentMobile:v,body:J(w),layout:m,mediaDirection:g,mediaDirectionMobile:f,bodyAlignment:D??void 0,bodyAlignmentMobile:M,className:d9,callsToAction:ve,displayOn:b??void 0,motifScheme:oe,backgroundColor:B??F,borderColor:V??(p?void 0:L),anchorId:z,animation:De,isRTL:s,asset:Me,style:me,listIconUrl:Y,...le})};Ec.displayName="Content";var PUe={contentAll:R` 10328 fragment ContentAnimationAll on ContentAnimation { 10329 keyframes { 10330 ...ContentfulSysId 10331 timingFunction 10332 transformOrigin 10333 } 10334 target 10335 } 10336 ${G} 10337 `},NUe=R` 10338 query AnimationCollectionQuery($preview: Boolean!, $locale: String!) { 10339 animationKeyframesCollection( 10340 preview: $preview 10341 locale: $locale 10342 limit: 20 10343 order: sys_publishedAt_ASC 10344 ) { 10345 items { 10346 ...ContentfulSysId 10347 timingFunction 10348 transformOrigin 10349 keyframes 10350 } 10351 } 10352 } 10353 ${G} 10354`,Ree=R` 10355 fragment AnimationKeyframesAll on AnimationKeyframes { 10356 ...ContentfulSysId 10357 timingFunction 10358 transformOrigin 10359 startingCss 10360 keyframes 10361 } 10362 ${G} 10363`,hg=R` 10364 fragment EntranceAnimationAll on EntranceAnimation { 10365 ...ContentfulSysId 10366 delay 10367 direction 10368 duration 10369 iterationCount 10370 animation 10371 advancedKeyframes { 10372 ...ContentfulSysId 10373 ...AnimationKeyframesAll 10374 } 10375 } 10376 ${G} 10377 ${Ree} 10378`;var tv=R` 10379 fragment DefinitionAll on Definition { 10380 ...ContentfulSysId 10381 displayText 10382 fullText { 10383 json 10384 } 10385 anchorId 10386 } 10387 ${G} 10388`,BUe=R` 10389 query DefinitionQuery($preview: Boolean!, $locale: String!, $id: String!) { 10390 Definition(preview: $preview, locale: $locale, id: $id) { 10391 ...DefinitionAll 10392 } 10393 } 10394 ${tv} 10395`;var ov=e=>{let{number:t,fullText:o}=e;return o?i(th,{index:String(t),children:go(o)}):null};ov.displayName="Footnote";var Rc={all:R` 10396 fragment FootNotesAll on FootNotes { 10397 ...ContentfulSysId 10398 number 10399 displayText 10400 fullText { 10401 json 10402 } 10403 anchorId 10404 } 10405 ${G} 10406 `},UUe=R` 10407 query FootNotesQuery($preview: Boolean!, $locale: String!, $id: String!) { 10408 footNotes(preview: $preview, locale: $locale, id: $id) { 10409 ...FootNotesAll 10410 } 10411 } 10412 ${Rc.all} 10413`;var Cg=R` 10414 fragment StatsAll on Stats { 10415 __typename 10416 sys { 10417 id 10418 } 10419 stat 10420 optionalSupplementaryText 10421 entranceAnimation { 10422 ...EntranceAnimationAll 10423 } 10424 } 10425 ${hg} 10426`,JUe=R` 10427 query StatsQuery($preview: Boolean!, $locale: String!, $id: String!) { 10428 stats(preview: $preview, locale: $locale, id: $id) { 10429 ...StatsAll 10430 } 10431 } 10432 ${Cg} 10433`;var y9=R` 10434 fragment ContentAssetAll on ContentAsset { 10435 ...ContentfulSysId 10436 ... on Video { 10437 ...VideoAll 10438 } 10439 ... on Image { 10440 ...ImageAll 10441 } 10442 ... on SnapchatEmbed { 10443 ...SnapchatEmbedAll 10444 } 10445 ... on Stats { 10446 ...StatsAll 10447 } 10448 } 10449 ${G} 10450 ${Le.all} 10451 ${nt.all} 10452 ${Dc} 10453 ${Cg} 10454`,nv={all:R` 10455 fragment ContentAll on Content { 10456 ...ContentfulSysId 10457 title { 10458 json 10459 } 10460 subtitle { 10461 json 10462 } 10463 # CTA Collection limit has to be 3 or less for GraphQL query complexity issues. 10464 callsToActionCollection(limit: 3) { 10465 items { 10466 ... on CallToAction { 10467 ...CallToActionAll 10468 } 10469 ... on ImageButton { 10470 ...ContentfulSysId 10471 } 10472 } 10473 } 10474 showVideoControls 10475 mediaWrap 10476 layout 10477 mediaDirection 10478 mediaDirectionMobile 10479 titleAlignment 10480 titleAlignmentMobile 10481 bodyAlignment 10482 bodyAlignmentMobile 10483 listIcon { 10484 ...ContentfulSysId 10485 media { 10486 url 10487 } 10488 } 10489 useHeadingTagsForBody 10490 collapseMobileTable 10491 showFullResolutionMedia 10492 displayOn 10493 theme
10494 brandBackgroundColor 10495 backgroundColor 10496 brandBorderColor 10497 borderColor 10498 anchorId 10499 asset { 10500 ...ContentAssetAll 10501 } 10502 entranceAnimation { 10503 ...EntranceAnimationAll 10504 } 10505 body { 10506 json 10507 # TODO: There's an inline expansion into embedded content. Consider lazy-loading this 10508 # to reduce the query complexity for the typical use-case. 10509 links { 10510 entries { 10511 block { 10512 ...ContentfulSysId 10513 ... on CustomerQuote { 10514 ...CustomerQuoteAll 10515 } 10516 ... on CallToAction { 10517 ...CallToActionAll 10518 } 10519 ... on Code { 10520 ...CodeAll 10521 } 10522 ... on Image { 10523 ...ImageAll 10524 } 10525 } 10526 inline { 10527 ...ContentfulSysId 10528 ... on FootNotes { 10529 ...FootNotesAll 10530 } 10531 ... on CustomerQuote { 10532 ...CustomerQuoteAll 10533 } 10534 ... on CallToAction { 10535 ...CallToActionAll 10536 } 10537 ... on Definition { 10538 ...DefinitionAll 10539 } 10540 } 10541 hyperlink { 10542 ...ContentfulSysId 10543 ... on Slug { 10544 slug 10545 } 10546 } 10547 } 10548 assets { 10549 block { 10550 ...AssetAll 10551 } 10552 hyperlink { 10553 ...AssetAll 10554 } 10555 } 10556 } 10557 } 10558 } 10559 ${Pn} 10560 ${mt} 10561 ${Rc.all} 10562 ${tv} 10563 ${Ox.all} 10564 ${nt.all} 10565 ${Le.all} 10566 ${D8.all} 10567 ${y9} 10568 ${hg} 10569 `,media:R` 10570 fragment ContentMedia on Content { 10571 ...ContentfulSysId 10572 title { 10573 json 10574 } 10575 asset { 10576 ...ContentAssetAll 10577 } 10578 } 10579 ${G} 10580 ${y9} 10581 `},xg={all:R` 10582 query ContentQuery($preview: Boolean!, $locale: String!, $id: String!) { 10583 content(preview: $preview, locale: $locale, id: $id) { 10584 ...ContentAll 10585 } 10586 } 10587 ${nv.all} 10588 `};var Oi=25,ml=R` 10589 fragment BlockAll on Block { 10590 ...ContentfulSysId 10591 anchorId 10592 theme 10593 brandBackgroundColor 10594 backgroundColor 10595 backgroundMediaV2 { 10596 __typename 10597 ... on Video { 10598 ...VideoAll 10599 } 10600 ... on Image { 10601 ...ImageAll 10602 } 10603 } 10604 showCurtain 10605 eyebrow 10606 title { 10607 json 10608 links { 10609 entries { 10610 inline { 10611 ...ContentfulSysId 10612 ... on EmphasizedText { 10613 ...EmphasizedTextAll 10614 } 10615 } 10616 } 10617 } 10618 } 10619 subtitle { 10620 json 10621 } 10622 titleAlignment 10623 titleAlignmentMobile 10624 maxColumns 10625 isNarrow 10626 widthStyle 10627 fullHeight 10628 topSpacing 10629 bottomSpacing 10630 contentsCollection(limit: 15) { 10631 items { 10632 ...ContentfulSysId 10633 } 10634 } 10635 callsToActionCollection(limit: 9) { 10636 items { 10637 ... on CallToAction { 10638 ...CallToActionAll 10639 } 10640 } 10641 } 10642 } 10643 ${G} 10644 ${mt} 10645 ${$t.all} 10646 ${nt.all} 10647 ${Le.all} 10648 ${ti} 10649`,EWe=R` 10650 fragment BlockPreview on Block { 10651 ...ContentfulSysId 10652 title { 10653 json 10654 } 10655 contentsCollection(limit: 5) { 10656 items { 10657 ... on Content { 10658 ...ContentMedia 10659 } 10660 } 10661 } 10662 } 10663 ${G} 10664 ${nv.media} 10665`,vg=R` 10666 fragment BlockShallow on Block { 10667 ...ContentfulSysId 10668 contentsCollection(limit: 15) { 10669 items { 10670 ...ContentfulSysId 10671 } 10672 } 10673 } 10674 ${G} 10675`,m9=R` 10676 query BlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 10677 block(preview: $preview, locale: $locale, id: $id) { 10678 ...BlockAll 10679 } 10680 } 10681 ${ml} 10682`;var Yt=R` 10683 fragment CriteriaAll on Criteria { 10684 ...ContentfulSysId 10685 trafficRangeStart 10686 trafficRangeEnd 10687 countryAction 10688 countries 10689 languageAction 10690 languages 10691 deviceAction 10692 devices 10693 platformAction 10694 platforms 10695 marketAction 10696 markets 10697 utmParams 10698 utmParamsAction 10699 businessPersonaAction 10700 businessPersonasMatchAll 10701 businessPersonas 10702 snapPersonaAction 10703 snapPersonas 10704 } 10705 ${G} 10706`,g9=R` 10707 fragment SiteMapExperiment on Experiment { 10708 sys { 10709 id 10710 } 10711 defaultReference { 10712 ...SiteMapPage 10713 } 10714 } 10715`;function Ig(e,t,o,n=10){return R` 10716 fragment ExperimentOn${e}Loading${t} on Entry { 10717 ... on ${e} { 10718 ...${t} 10719 } 10720 ... on Experiment { 10721 ...ContentfulSysId 10722 defaultReference { 10723 ...${t} 10724 } 10725 experimentArmsCollection(limit: ${n}) { 10726 items { 10727 ...ContentfulSysId 10728 reference { 10729 ...${t} 10730 } 10731 criteria { 10732 ...CriteriaAll 10733 } 10734 abExperimentsCollection(limit: ${n}) { 10735 items { 10736 ...ContentfulSysId 10737 analyticsId 10738 seed 10739 reference { 10740 ...ContentfulSysId 10741 } 10742 abVariantsCollection(limit: 5) { 10743 items { 10744 ...ContentfulSysId 10745 replacement { 10746 ...ContentfulSysId 10747 ... on Page { 10748 # The standard page level block query has a set limit, which, at the time of writing this comment 10749 # is 25. However, this particular query, due to its nested nature, requires a lower limit, otherwise 10750 # it will break our query complexity cap. Therefore, we drastically lower the limit for this particular 10751 # query to be much smaller than the established "blockQueryLimit". 10752 # 10753 # Rather than hardcoding this limit, we use the existing blockQueryLimit constant, and scale it down 10754 # to 40% of its original value. This should ensure that this query stays sufficiently within the complexity 10755 # cap. 10756 blocksCollection(limit: ${Math.floor(Oi*(2/5))}) { 10757 items { 10758 ...ContentfulSysId 10759 ... on Block { 10760 ...BlockShallow 10761 } 10762 } 10763 } 10764 } 10765 ... on Block { 10766 ...ContentfulSysId 10767 contentsCollection(limit: 10) { 10768 items { 10769 ...ContentfulSysId 10770 } 10771 } 10772 } 10773 } 10774 trafficStartRange 10775 trafficEndRange 10776 analyticsId 10777 } 10778 } 10779 } 10780 } 10781 analyticsId 10782 } 10783 } 10784 analyticsId 10785 } 10786 } 10787 ${vg} 10788 ${G} 10789 ${Yt} 10790 ${o} 10791 `}function ni(e,t,o,n=10){return R` 10792 fragment ExperimentOn${e}Loading${t} on Entry { 10793 ... on ${e} { 10794 ...${t} 10795 } 10796 ... on Experiment { 10797 ...ContentfulSysId 10798 defaultReference { 10799 ...${t} 10800 } 10801 experimentArmsCollection(limit: ${n}) { 10802 items { 10803 ...ContentfulSysId 10804 reference { 10805 ...${t} 10806 } 10807 criteria { 10808 ...CriteriaAll 10809 } 10810 analyticsId 10811 } 10812 } 10813 analyticsId 10814 } 10815 } 10816 ${G} 10817 ${Yt} 10818 ${o} 10819 `}var Gi=T(P());var gl=T(P());var f9=e=>{let t=0,o=0;for(let n=0;n<e.length;n++)t=(t+e.charCodeAt(n))%1024,o=(o+n*e.charCodeAt(n))%1024;return t+o};var Fee="useAbExperiments";function kg(){let{getUserInfo:e,getCurrentUrl:t}=(0,gl.useContext)(Z),[o,n]=(0,gl.useState)(!1),{data:r}=cn({skip:!o,dataId:"userInfo",dataAsync:e,onError:l=>ke.logError({component:Fee,error:l})});return(0,gl.useCallback)(l=>(!o&&n(!0),Bee(l,{userInfo:r,getCurrentUrl:t})),[o,t,r])}var Bee=(e,t)=>
10819{let{userInfo:o,getCurrentUrl:n}=t;if(!o)return{isThinking:!0,decision:void 0};let r=o.experimentBucket.id+e.seed,l=f9(r)%1024/1024*100;if(!O.isDeploymentTypeProd){let d=new URL(n()).searchParams.get("experimentsUserBucket"),u=d?Number.parseInt(d):void 0;u!==void 0&&u>=0&&u<=100&&(l=u)}if(!e.variants)return{isThinking:!1,decision:e.default};for(let p of e.variants)if(!(ht(p.trafficStartRange)||ht(p.trafficEndRange))&&p.trafficStartRange<=l&&p.trafficEndRange>=l)return{isThinking:!1,decision:p};return{isThinking:!1,decision:e.default}};var fl=T(P());var Mg=class Mg{constructor(t){we(this,"ref");we(this,"deref",()=>this.ref);this.ref=t}get[Symbol.toStringTag](){return Mg.tag}};we(Mg,"tag","WeakRef");var av=Mg,$ee=50;function Lee(e,t){return e.length!==t.length?!1:e.every((o,n)=>{let r=t[n];return typeof r=="object"&&r!==null&&"deref"in r?o===r.deref():o===r})}function Hee(e){return typeof e=="object"&&e!==null?WeakRef?new WeakRef(e):new av(e):typeof e=="string"||typeof e=="number"||typeof e=="boolean"?e:String(e)}function b9({key:e,callback:t,dependencies:o,cache:n}){n.has(e)||n.set(e,[]);let r=n.get(e);r.some(s=>Lee(o,s))||(r.length>=$ee&&r.shift(),r.push(o.map(Hee)),t())}var rv=(0,fl.createContext)(new Map);function Tg(){let e=(0,fl.useContext)(rv);return(0,fl.useCallback)(o=>b9({...o,cache:e}),[e])}var bl=T(P());var Vee="useUserBusinessProfile";function S9(){let{cookieManager:e,getPersona:t,personasRef:o}=(0,bl.useContext)(Z),[n,r]=(0,bl.useState)(!1),{data:s}=cn({skip:!n,dataId:"persona",dataAsync:t,onError:p=>ke.logError({component:Vee,error:p})});return(0,bl.useCallback)(()=>{let p=o?.current;if(p?.biz!==void 0)return{isThinking:!1,decision:p.biz};let d=dr(e);return d?.biz!==void 0?{isThinking:!1,decision:d.biz}:(n||r(!0),Oee(s))},[e,n,s,o])}var Oee=e=>e?e?.matches?.length?{isThinking:!1,decision:[...e.matches]}:{isThinking:!1,decision:null}:{isThinking:!0,decision:void 0};var Ag=T(P());function h9(){let{cookieManager:e,personasRef:t}=(0,Ag.useContext)(Z);return(0,Ag.useCallback)(()=>{if(t?.current?.snap!==void 0)return t.current.snap??[];let n=dr(e);return n?.snap!==void 0?n.snap??[]:[]},[e,t])}var C9=e=>{let t=new URL(e),o={};for(let[n,r]of t.searchParams.entries()){let s=n.toLowerCase();s.startsWith("utm_")&&(o[s]=r)}return o};var Gee=!1;function ai(e,t,o,n){Gee&&(e??(e="synthetic"),n??(n="Allow"),console.debug(`Criteria not applicable for arm '${e}' because of check '${t}' in '${o}' has action '${n}'.`))}function pn(){let{cookieManager:e,currentLocale:t,userLocation:o,getCurrentUrl:n,personasRef:r,updatePersonas:s}=(0,Gi.useContext)(Z),l=(0,Gi.useContext)(Ze),{selectedMarketCode:p}=(0,Gi.useContext)(zt),d=Tg(),u=kg(),y=h9(),m=S9(),g=t??"Unknown",f=o.country??"Unknown",b=p??"Unknown",S=l.getLowEntropyHints().platform??"Unknown",C=l.getLowEntropyHints().isMobile?"Mobile":"Non-Mobile",I=C9(n()),k=(0,Gi.useCallback)(A=>x9(A,{language:g,country:f,market:b,platform:S,deviceType:C,utmParams:I}),[g,f,b,S,C,I]);return{decideExperiment:(0,Gi.useCallback)((A,w)=>Uee(A,{language:g,country:f,market:b,platform:S,deviceType:C,singleCallback:d,getCurrentUrl:n,decideAbExperiment:u,utmParams:I,getUserSnapProfile:y,getUserBusinessProfile:m,personasRef:r,updatePersonas:s,cookieManager:e},w),[g,f,b,S,C,d,u,n,I,y,m,r,s,e]),checkCriteria:k}}var Sl=(e,t,o)=>(o??(o="Allow"),!!(o==="Allow"&&e&&!e.includes(t)||o==="Deny"&&e?.includes(t))),zee=(e,t,o)=>Sl(e?.map(n=>n.toLowerCase()),t.toLowerCase(),o);function x9(e,t,o){if(!e)return!0;if(Sl(e.countries,t.country,e.countryAction))return ai(o,t.country,e.countries,e.countryAction),!1;if(Sl(e.markets,t.market,e.marketAction))return ai(o,t.market,e.markets,e.marketAction),!1;if(Sl(e.languages,t.language,e.languageAction))return ai(o,t.language,e.languages,e.languageAction),!1;if(Sl(e.platforms,t.platform,e.platformAction))return ai(o,t.platform,e.platforms,e.platformAction),!1;if(Sl(e.devices,t.deviceType,e.deviceAction))return ai(o,t.deviceType,e.devices,e.deviceAction),!1;if(e.utmParams)for(let[n,r]of Object.entries(e.utmParams)){if(r.length===0)continue;let s=t.utmParams[n.toLowerCase()]??"";
10819if(zee(r,s,e.utmParamsAction))return ai(o,s,r,e.utmParamsAction),!1}return!0}function Uee(e,t,o){if(e.__typename!=="Experiment")return o.logImpression&&Je({subscribedEventType:"experiment_impression",experimentId:void 0,variantId:void 0,context:{locale:t.language}}),{decision:e};let n=e,r="default",s=n.defaultReference,l={},p=t.singleCallback,d=!1;for(let u of n.experimentArmsCollection?.items??[]){if(!u.criteria)continue;let y=x9(u.criteria,t,u.analyticsId),m=u.criteria?.snapPersonas,g=u.criteria?.businessPersonas,f=u.criteria?.businessPersonasMatchAll,b=!!g?.length||f,S=!!m?.length;if(!y&&!b&&!S)continue;if(b){let I=t.getUserBusinessProfile();if(I.isThinking){d=!0;break}let k=I.decision,A={...dr(t.cookieManager)||t.personasRef?.current,biz:k};if(t.updatePersonas?.(A),Zm(t.cookieManager,A),!k||k.length===0)continue;let w=u.criteria?.businessPersonaAction??"Allow";if(f){if(w==="Deny")continue}else{let D=k.some(_=>g?.includes(_)),M=!1;if(w==="Allow"&&!D&&(M=!0),w==="Deny"&&D&&(M=!0),M){k.forEach(_=>{ai(u.analyticsId,_,g,w)});continue}}}if(S){let I=t.getUserSnapProfile(),k=u.criteria?.snapPersonaAction??"Allow",v=I.some(w=>m?.includes(w)),A=!1;if(k==="Allow"&&!v&&(A=!0),k==="Deny"&&v&&(A=!0),A){I.forEach(w=>{ai(u.analyticsId,w,m,k)});continue}}if(s=u.reference,r=u.analyticsId??r,(u.abExperimentsCollection?.items.length??0)>0&&u.abExperimentsCollection?.items.length){let I=u.abExperimentsCollection.items;for(let k of I){let v=k.reference?.sys.id,A=!1;if(!v)continue;let{isThinking:w,decision:D}=t.decideAbExperiment({seed:k.seed??k.sys.id,variants:k.abVariantsCollection?.items});D&&(D.replacement?.__typename==="Page"?s=D.replacement:D.replacement?l[v]={...D.replacement}:l[v]=void 0,p({key:"useExperimentVariantSwap",callback:()=>Hn({eventCategory:"Experiment",eventAction:"experimentExposure",eventLabel:`${r}:${k.analyticsId}:${D.analyticsId}`,context:{locale:t.language}}),dependencies:[r,k.analyticsId,D.analyticsId]}),A=!0),!w&&!A&&p({key:"useExperimentDefault",callback:()=>Hn({eventCategory:"Experiment",eventAction:"experimentExposure",eventLabel:`${r}:${k.analyticsId}:default`,context:{locale:t.language}}),dependencies:[r,k.analyticsId]})}}break}return d?{decision:s}:(p({key:"useExperiment",callback:()=>Hn({eventCategory:"Experiment",eventAction:"useExperiment",eventLabel:`${na(n.analyticsId??"")}:${na(r)}`,context:{locale:t.language}}),dependencies:[n.analyticsId,r]}),o.logImpression&&p({key:"experimentImpression",callback:()=>Je({subscribedEventType:"experiment_impression",experimentId:n.analyticsId??"Unknown",variantId:r,context:{locale:t.language}}),dependencies:[n.analyticsId,r]}),{decision:s,experimentId:n.analyticsId,variantId:r,replacements:l})}var v9=c` 10820 display: flex; 10821`,I9=c` 10822 display: flex; 10823 align-items: center; 10824`,k9=c` 10825 padding-block-end: ${a("--spacing-xs")}; 10826 10827 ${H} { 10828 padding-block-end: 0; 10829 } 10830`;var Wee=(e,t)=>{if(e.__typename==="FooterCookiesSettingsLink")return{id:e.sys.id,title:e.title??"",url:t};if(e.__typename!=="FooterLocaleDropdown"&&e.__typename==="FooterItem")return!e.url||!e.title?void 0:{analyticsLabel:e?.analytics?.label,id:e.sys.id,title:e.title,url:e.url}},iv=(e,t,o)=>{if(!o||!o.length)return[];let n=s=>s.reduce((l,p)=>{if(e(p)){let d=Wee(p,t);d&&l.push(d)}return l},[]);return(s=>s.reduce((l,p)=>{if(e(p)){if(!p.groupKey||!p.itemsCollection?.items)return l;l.push({items:n(p.itemsCollection.items),title:p.title??"",groupKey:p.groupKey})}return l},[]))(o)};var A9=({cookieSettingsUrl:e})=>{let{sitewideValues:t}=(0,zi.useContext)(Wa),o=vt().stinsonPhase,n=t?.customSitewideEntriesCollection?.items.find(s=>s?.__typename==="StinsonPhaseOneFooter")?.sys.id;if(!n)return null;let r={cookieSettingsUrl:e,footerId:n};return o==="phase2"?i(void 0,{...r}):i(void 0,{...r})};A9.displayName="StinsonFooter";var _9=({cookieSettingsUrl:e})=>{let{footerView:t,hasSideNav:o,hasCustomSideNav:n}=(0,zi.useContext)(sn),{getImageSources:r}=Ie(),s=(0,zi.useCallback)((M,_)=>{ge({eventCategory:"Footer",eventAction:"Click",eventLabel:`footer_group_toggle: ${M}`,context:{elementText:_,elementLocation:"Footer"}})}
10830,[]),l=Xr(O,"footer"),{formatMessage:p}=(0,zi.useContext)(We),d=p({id:"navigate-to-snap-com",defaultMessage:"Navigate to snap.com"}),u={...O.theme?.footerPropsOverride,...l},{sitewideValues:y}=(0,zi.useContext)(Wa),m=tt(y?.customFooter?.brandBackgroundColor),{checkCriteria:g}=pn(),f=t==="Simple Footer",b=t==="No Footer",S="Full Footer";if(b?S="No Footer":f&&(S="Simple Footer"),b)return null;if(O.site==="stinson")return i(A9,{cookieSettingsUrl:e});let C=M=>g(M.criteria),I=y?.customFooter,k=iv(C,e,I?.columnsCollection?.items),v=iv(C,e,I?.barCollection?.items),A=I?.socialCollection?.items?.length?i(L2,{title:I?.socialLabel??void 0,hasSideNav:o||n,children:I?.socialCollection?.items?.map((M,_)=>{let{image:F,height:$,sys:B,url:V,width:L}=M;return i(Us,{url:V,height:$,imgSrcs:r(F?.url),altText:F?.description,width:L,pictureClassName:v9,className:I9},`${B.id}-${_}`)})}):null,w=I?.logo,D;if(w){let M=r(w.media?.url,{image:{height:24}}),_=I?.url,F=i(Ke,{sourceType:w.media?.contentType,marginBottom:!1,imgSrcs:M,altText:w.media?.description});if(_){let $=I?.logoAriaLabel||d;D=i(fn,{href:_,className:k9,"aria-label":$,children:F})}else D=F}return i(VC,{customColumns:k,customFooterBar:v,cookieSettingsUrl:e,motifScheme:m,backgroundColor:I?.backgroundColor,logo:D,socialBar:A,footerType:S,hasSideNav:o||n,onGroupToggle:s,...u})};var D9=()=>{switch(O.site){case"avalon":return i(void 0,{});default:return null}};var Nn=T(P());var P9=e=>{let{checkCriteria:t}=pn(),o=Gt(),{displayMode:n="DesktopHeader"}=e,r=o.pathname.substring(1)||"home",s=e.displayModes?.includes(n),l=!e.hideCriteria||t(e.hideCriteria),p=e.hideForSlugs?.some(d=>r===d);return!s||!l||p?null:e.callToAction?i(ft,{...e.callToAction}):null};var Bc=R` 10831 fragment NavigationCta on NavigationCallToAction { 10832 ...ContentfulSysId 10833 callToAction { 10834 ...CallToActionAll 10835 } 10836 displayModes 10837 hideCriteria { 10838 ...CriteriaAll 10839 } 10840 hideForSlugs 10841 } 10842 ${Yt} 10843 ${G} 10844 ${mt} 10845`,dqe=R` 10846 query NavigationCtaQuery($preview: Boolean!, $locale: String!, $id: String!) { 10847 cavigationCta(preview: $preview, locale: $locale, id: $id) { 10848 ...NavigationCta 10849 } 10850 } 10851 ${Bc} 10852`;var lv=({displayRegion:e="Header",callsToAction:t})=>{let o=xt();if(!t)return null;let n="DesktopHeader";o&&e==="Header"&&(n="MobileHeader"),o&&e==="Screen"&&(n="MobileScreen");let r=t.map(s=>{switch(s.__typename){case"NavigationCallToAction":{let l=Ao(s),p=l.callToAction?.presentation;return!o||e==="Screen"?p&&(p.size=xr.Compact):p&&(p.buttonType=Vo.Flat),i(P9,{...l,displayMode:n},s.sys.id)}case"CallToAction":{let l=Ao(s),p=l.presentation;return!o||e==="Screen"?p&&(p.size=xr.Compact):p&&(p.buttonType=Vo.Flat),i(ft,{...l},s.sys.id)}default:throw new Error(`Unknown navigation CTA ${s.__typename}`)}});return i(ue,{children:r})};var pv=T(P());var N9=()=>{let{sitewideValues:e}=(0,pv.useContext)(Wa),{formatMessage:t}=(0,pv.useContext)(We),o=t({id:"navigate-to-home",defaultMessage:"Navigate to home page"}),n=e?.navigationBar,{getImageSources:r}=Ie();if(!n)return null;let{url:s,logoV2:l}=n,p=$e({mobile:r(l?.mobileMedia?.url),desktop:r(l?.media?.url)});return i(ue,{children:i(_i,{imgSrcs:p,url:s,logoType:"Ghost",ariaLabel:o})})};var cv=T(P());var E9=({setSearchOpen:e,autocompleteProps:t})=>{let{formatMessage:o}=(0,cv.useContext)(We),{pathname:n}=Gt(),{onRedirect:r}=(0,cv.useContext)(Z),s=ln(),l=p=>{r?.(`/search?q=${encodeURIComponent(p)}`)};return i(xu,{autocompleteResults:[],cancelMessage:o({id:"globalHeaderSearchCancel",defaultMessage:"Cancel"}),collapsible:!0,disabled:n==="/search",hideSuggestions:!0,loadingAutocompleteTerms:!1,onChange:ko,onCollapseChange:p=>e(p),onSeeResults:l,onSelect:ko,placeholder:o({id:"placeholderSearchPageInput",defaultMessage:"Search..."}),shortBar:n!=="/search",iconButtonSize:s==="specs"?"medium":"large",...t})};var R9=T(P());var F9=({items:e})=>{let t=(0,R9.useContext)(Se).elementLocation;if(!e||!e.length)return null;let o=n=>{let{contentfulDescriptionDataset:r}=Re({entryId:n,fieldIds:["contentfulDescription"]});return r};return i(ue,{children:e.map(n=>{let{sys:r,url:s,title:l,isSelected:p,analytics:d,column1Label:u,column1Items:y,column2Label:m,column2Items:g,column3Label:f,column3Items:b,featuredMenuItem:S}=n,C=r.id,I=(k,v)=>{ge({eventCategory:"NavigatorItem",eventAction:"Click",eventLabel:v??k,context:{targetUrl:k,elementText:l,elementLocation:t}}),no(k)&&ke.flush()};return i(Yp,{dataset:o(C),id:C,url:s??"",isSelected:p,title:l??"",analytics:d?.label?{label:d.label}:void 0,col1Label:u,col1Items:y,col2Label:m,col2Items:g,col3Label:f,col3Items:b,featuredItem:S,onClick:I},C)})})};var _g=T(P());
10852var dv=T(P());var B9=({sys:e,url:t,title:o,isSelected:n,analytics:r,column1Label:s,column1Items:l,column2Label:p,column2Items:d,column3Label:u,column3Items:y,featuredMenuItem:m})=>{let g=(0,dv.useContext)(Se).elementLocation,{getCurrentUrl:f}=(0,dv.useContext)(Z),{contentfulDescriptionDataset:b}=Re({entryId:e.id,fieldIds:["contentfulDescription"]});if(!o)return null;let S=(v,A)=>{ge({eventAction:"Click",eventCategory:"LocalNavItemMobile",eventLabel:A??null,context:{elementText:o,targetUrl:v,elementLocation:g}}),no(v)&&ke.flush()},C=new URL(t??"",f()),I=qo(C),k=!!(l?.length||d?.length||y?.length||m);return i(tr,{showExternalIcon:!I,href:t,title:o,onClick:()=>S(t??"",r?.label),isSelected:n,dataset:b,addTrackingParams:!I,onToggle:v=>{ge({eventAction:"Click",eventCategory:"LocalNavMobile",eventLabel:r?.label??null,context:{elementText:v,elementLocation:g}})},children:k&&i(Xp,{col1Label:s,col1Items:l,col2Label:p,col2Items:d,col3Label:u,col3Items:y,featuredItem:m,onClick:S})})};var $9=({items:e})=>{let{setGroupKey:t}=(0,_g.useContext)(et);return(0,_g.useEffect)(()=>{t?.(jb)},[t]),!e||!e.length?null:i(ue,{children:e.map((o,n)=>i(B9,{...o},`${o.sys.id}-${n}`))})};var L9=T(P());var wg=()=>{let e=(0,L9.useContext)(nn);if(e===void 0)throw new Error("ConsumerContext can only be used in combination with ConsumerProvider");return e};var H9=c` 10853 width: 500px; 10854 &&& { 10855 margin-left: auto; 10856 } 10857`,V9=c` 10858 width: 100%; 10859 &&& { 10860 margin-left: auto; 10861 } 10862`,O9=c` 10863 & > *:first-child { 10864 width: 100%; 10865 10866 ${N} { 10867 max-width: fit-content; 10868 } 10869 } 10870`,G9=c` 10871 display: inline-block; 10872 cursor: pointer; 10873 color: ${a("--fg-color")}; 10874 text-decoration: none; 10875`,z9=c` 10876 position: sticky; 10877 top: 0; 10878 left: 0; 10879 right: 0; 10880 z-index: ${Pe.NAVIGATOR}; 10881`,U9=c` 10882 margin: 0; 10883`;function W9(e,t,o,n){let r=[];for(let s of e??[]){let l=qee(s,t,o,n);l&&r.push(l)}return r}var qee=(e,t,o,n)=>{if(!(o?.(e.hideCriteria)??!0))return null;let s=(!!e.url&&t?.(e.url))??!1,l=(k,v)=>{if(!(o?.(v.hideCriteria)??!0))return k;let w=(!!v.url&&t?.(v.url))??!1;return s||(s=w),k.push({title:v.title??"",url:v.url??"",description:v.description,analytics:Q9(v),icon:q9(v),media:K9(v,n),dataset:Re({entryId:v.sys.id,fieldIds:["contentfulDescription"]}).contentfulDescriptionDataset}),k},{column1MenuItemsCollection:p,column2MenuItemsCollection:d,column3MenuItemsCollection:u,featuredHeaderMenuItem:y,...m}=e,g=p?.items.reduce(l,[]),f=d?.items.reduce(l,[]),b=u?.items.reduce(l,[]),S=Kee(e,n),C=o?.(e.featuredHeaderMenuItem?.hideCriteria)??!0;if(e.featuredHeaderMenuItem&&C){let k=(!!e.featuredHeaderMenuItem.url&&t?.(e.featuredHeaderMenuItem.url))??!1;s||(s=k)}return{...m,isSelected:s,column1Items:g,column2Items:f,column3Items:b,featuredMenuItem:S}},Q9=e=>{let t=e.analytics?.label;if(t)return{label:t}},q9=e=>{let t=e.icon?.icon;if(t)return{name:t}},K9=(e,t)=>{let o=e.icon?.media?.contentType==="image/svg+xml",n=e.icon?.media;if(!o||!n||!t)return;let r=$e({desktop:t(n.url)});return{altText:n.description,imgSrcs:r}},Kee=(e,t)=>{if(!e.featuredHeaderMenuItem)return;let{title:o,url:n,description:r,ctaLabel:s}=e.featuredHeaderMenuItem;return{title:o??"",url:n??"",description:r,ctaLabel:s,analytics:Q9(e.featuredHeaderMenuItem),icon:q9(e.featuredHeaderMenuItem),media:K9(e.featuredHeaderMenuItem,t),dataset:Re({entryId:e.featuredHeaderMenuItem.sys.id,fieldIds:["contentfulDescription"]}).contentfulDescriptionDataset}};var $c=T(P()),j9=T(Cr());var jee="mwp-header-portal",uv=(0,$c.memo)(e=>{let{headerPortalRef:t}=(0,$c.useContext)(Z);return i("aside",{className:e.className,"data-testid":jee,ref:t})});uv.displayName="HeaderPortal";var Yee=({children:e})=>{let{headerPortalRef:t}=(0,$c.useContext)(Z);return t?.current?(0,j9.createPortal)(e,t.current):null};Yee.displayName="IntoHeaderPortal";var lt="--total-header-height",hl=()=>Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue(lt),10);var X9=({config:e})=>{let[t,o]=(0,Nn.useState)(!1),n=Gt(),{checkCriteria:r}=pn(),{headerView:s,headerBackgroundColorOverride:l,setDefaultHeaderHeight:p}=(0,Nn.useContext)(sn),{sitewideValues:d}=(0,Nn.useContext)(Wa),{getImageSources:u}=Ie(),y=Xr(O,"header"),m=vt(),g=m.enableSiteSearch==="true",{isUrlCurrent:f}
10883=wg(),b=d?.navigationBar,S=tt(b?.brandBackgroundColor),C=b?.callsToActionCollection,I=W9(b?.headerMenuItemGroupsCollection?.items,f,r,u),k=(0,Nn.useRef)(null),v=s==="No Header";(0,Nn.useMemo)(()=>{typeof window>"u"&&p?.(v?0:64)},[v]),(0,Nn.useEffect)(()=>{if(v){document.documentElement.style.setProperty(lt,"0px");return}if(O.site==="stinson")return;let $=k.current;if(!$||typeof ResizeObserver>"u"){document.documentElement.style.setProperty(lt,`${64}px`);return}let B,V=new ResizeObserver(L=>{let{height:z}=L[0].contentRect;B!==z&&(B=z,document.documentElement.style.setProperty(lt,`${z}px`))});return V.observe($,{box:"border-box"}),()=>{V.disconnect()}},[v,s]);let A=(0,Nn.useContext)(Se).elementLocation,w=$=>{ge({eventCategory:"GlobalNavGroup",eventAction:"Click",eventLabel:$.navGroupKey,context:{elementLocation:A,elementText:$.title}})};if(v)return null;if(O.site==="stinson")return i(void 0,{});let D=b?.title??e.theme?.globalNavProps?.siteName??"",M=$=>{ge({eventCategory:"Header",eventAction:$?"Open":"Close",eventLabel:null,context:{elementLocation:A}})},_={...e.theme?.globalNavProps,motifScheme:S,backgroundColor:l??b?.backgroundColor??void 0,logo:i(N9,{}),pathname:n.pathname,siteName:D,onToggleExpanded:M,onGlobalNavGroupSummaryClick:w};if((s==="Minimized Header"||s==="Reduced Header"||s==="Full Header")&&(_.cta=x(ue,{children:[i(lv,{callsToAction:C?.items}),i(uv,{className:U9}),O.shopify&&i(Ix,{})]}),_.endChildrenDesktopClassName=h(e.theme?.globalNavProps?.endChildrenDesktopClassName,H9),_.endChildrenMobileClassName=h(e.theme?.globalNavProps?.endChildrenMobileClassName,V9)),s==="Reduced Header"||s==="Full Header"){let $=n?.pathname!=="/search"&&g,B=i(fn,{href:b?.url,className:G9,children:D});_.className=h(e.theme?.globalNavProps?.className,t?O9:void 0),_.search=$&&i(E9,{setSearchOpen:o},"search"),_.searchOpen=t,_.siteName=B}if(s==="Full Header"){let $=()=>i(F9,{items:I}),B=()=>i($9,{items:I}),V=C?.items.length;_.localNavDesktop=t?null:$({}),_.localNavMobile=B({}),_.localNavMobileFooter=V?i(lv,{callsToAction:C?.items,displayRegion:"Screen"}):null,_.navItemAlignment=m.globalNavItemsPosition}let F={..._,...y};return s==="Simple Header"||s==="Minimized Header"?i(mc,{...F,showGlobalLinks:!1,showNavScreen:!1}):i("div",{"data-testid":"mwp-header",ref:k,className:h(z9,e.headerProps?.className),children:i(mc,{...F})})};var t7=T(P());var J9=R` 10884 fragment MessageAll on Message { 10885 ...ContentfulSysId 10886 key 10887 value 10888 } 10889 ${G} 10890`,Z9=R` 10891 query IntlMessages($preview: Boolean!, $locale: String!) { 10892 messageCollection(preview: $preview, locale: $locale) { 10893 items { 10894 ...MessageAll 10895 } 10896 } 10897 } 10898 ${J9} 10899`,e7=R` 10900 query LocalIntlMessages($preview: Boolean!, $locale: String!) { 10901 messageCollection(preview: $preview, locale: $locale, limit: 100) { 10902 items { 10903 ...MessageAll 10904 } 10905 } 10906 } 10907 ${J9} 10908`;var o7=({children:e})=>{let t=Kr(),{globalApolloClient:o}=(0,t7.useContext)(Ge),{data:n}=ce(e7),{data:r}=Cn(Z9,{currentLocale:t.locale,isPreview:t.preview,isSSR:O.isSSR},{client:o}),s=r?Object.fromEntries(r.messageCollection.items.map(u=>[u.key,u.value])):null,l=n?Object.fromEntries(n.messageCollection.items.map(u=>[u.key,u.value])):null;if(!s||!l)return i(We.Provider,{value:{formatMessage:TM},children:e});let p={...l,...s},d=(u,y)=>{let m=p[u.id]??u.defaultMessage;if(!y)return m;for(let[g,f]of Object.entries(y))m=m.replace(`{${g}}`,f);return m};return i(We.Provider,{value:{formatMessage:d},children:e})};var a7=T(P());var n7=e=>{let t=e||ao,[o]=t.split("-");return o};var mv=()=>{let e=(0,a7.useContext)(Z);return i(kt,{children:i("html",{lang:n7(e?.currentLocale)})})};mv.displayName="LanguageDirective";var Cl=T(P());var l7=T(sQ());var Dg=class{constructor(){we(this,"startSpan",t=>({endSpan:ko}));we(this,"addEventListener",t=>ko)}};var r7=new Dg;function Bo(){return r7}function i7(e){r7=e}var s7=e=>{let{timeoutMs:t}=e,o=new AbortController,n=new Error(`Connection timed out after ${(t/1e3).toFixed(1)} seconds.`),r=setTimeout(()=>o.abort(n),t);return{signal:o.signal,clear:()=>clearTimeout(r)}};var Pg=new Set,Ng=new Set,En=(e,t)=>new Promise((o,n)=>{Pg.forEach(f=>f());let r=Bo().startSpan(`Fetch: ${e}`),s=String(e).includes("contentful")?OM:3e4,l=O.isClient||t?.signal?void 0:s7({timeoutMs:s}),p=!1,d=t?.signal??l?.signal,u=!1,y=()=>{u||(u=!0,Ng.forEach(f=>f()),r.endSpan(),l?.clear(),d?.removeEventListener("abort",m))};function m(){p||(n(d?.reason??new Error("Request aborted.")),p=!0,y())}d?.addEventListener("abort",m);let g={...t,signal:d};(0,l7.default)(e,g).then(f=>{o(f)}
10908).catch(f=>{p||(n(f),p=!0)}).finally(y)});var gv=(0,Cl.memo)(()=>{let[e,t]=(0,Cl.useState)(0);return(0,Cl.useEffect)(()=>{let o=()=>{setTimeout(()=>{t(r=>r+1)},0)},n=()=>{YM(()=>t(r=>Math.max(0,r-1)),{timeout:5e3})};return Pg.add(o),Ng.add(n),()=>{Pg.delete(o),Ng.delete(n)}},[]),e===0?null:i(kF,{className:"react-loading-bar"})});gv.displayName="LoadingBar";var Eg=T(P(),1),Jee=Object.defineProperty,Zee=(e,t)=>Jee(e,"name",{value:t,configurable:!0});function Ko(e,t){let o=(0,Eg.useRef)(null);(0,Eg.useEffect)(()=>{if(!ms(o.current,t))return o.current=t,e()},t)}Zee(Ko,"useImperativeEffect");var p7=()=>(Ko(()=>{ta("detect-ad-blocker","/openad.js",ko),setTimeout(()=>{let e=ht(window.snapMarketingWeb?.hasAdBlocker);Hn({eventAction:"Exists",eventCategory:"AdBlocker",eventLabel:`${e}`})},500)},[]),null);var d7=T(P());function fv(e){if(e)try{let t=new URL(e);return`${t.origin}${t.pathname}`}catch{return e}}var c7={"https://www.googletagmanager.com/gtm.js":new Set(["eval"]),[`https://${O.domainName}/mwp-chunks/`]:new Set(["eval","properties"]),Unknown:new Set(["eval","inline"])},u7=()=>((0,d7.useEffect)(()=>{let e=new Set,t=o=>{let{blockedURI:n,violatedDirective:r,sourceFile:s}=o,l=`${n}|${r}|${s}`;if(!e.has(l)){for(let p in c7)if(c7[p]?.has(n)&&s.startsWith(p)){e.add(l);return}Be({component:"Csp",error:"CspViolationError",message:`Blocked ${n}, ${s}, ${r}`,context:{blockedUri:fv(n),sourceFile:s,violatedDirective:fv(r)}}),e.add(l)}};return document.addEventListener("securitypolicyviolation",t),()=>{document.removeEventListener("securitypolicyviolation",t)}},[]),null);function ete(e,t){return nm(e,t,function(o,n){return yy(e,n)})}var y7=ete;var tte=wM(function(e,t){return e==null?{}:y7(e,t)}),ri=tte;function m7(){let e=performance.getEntriesByType("navigation"),[t]=e,o=["connectEnd","domComplete","domContentLoadedEventEnd","domInteractive","duration","loadEventEnd","responseEnd","transferSize"];for(let[n,r]of Object.entries(ri(t,o)))typeof r=="number"&&(n==="transferSize"?Ar({eventCategory:"NavigationTiming",eventLabel:`${t.type} ${window.location.pathname}`,eventVariable:n,eventValue:r}):qa({eventCategory:"NavigationTiming",eventLabel:`${t.type} ${window.location.pathname}`,eventVariable:n,eventValue:r}))}async function ote(){let e=await En("/api/profile");if(!e.ok)return;let t=await e.json();if(t?.profiles?.length)for(let o of t.profiles)Je({subscribedEventType:"internal",eventCategory:"PersonaMatch",eventAction:"Fetch",eventLabel:`${o.id}:${o.tp}`});t.internal&&Je({subscribedEventType:"internal",eventCategory:"InternalTrafficDetection",eventAction:"Fetch",eventLabel:t.internal?"true":"false"})}var g7=()=>(Ko(()=>{Je({subscribedEventType:"first_page_load"}),ote()},[]),Ko(()=>{if(document.readyState==="complete"){m7();return}let e=()=>{setTimeout(m7,0)};return window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}},[]),null);var xl=T(P());var bv=[25,50,75,90,100],f7=()=>{let{pathname:e}=Gt(),t=(0,xl.useRef)(0),[o,n]=(0,xl.useState)(0);return(0,xl.useEffect)(()=>{let r=$k({interval:500},()=>{let s=window.scrollY,l=document.documentElement.scrollHeight-window.innerHeight,p=s/l,d=Math.round(p*100);n(d)});return window.addEventListener("scroll",r,{passive:!0}),()=>{window.removeEventListener("scroll",r)}},[n]),Ko(()=>{t.current=0},[e]),Ko(()=>{if(!(o<=t.current)){for(let r=0;r<bv.length;r++){let s=bv[r],l=bv[r+1],p=!l;if(!(t.current>=s||o<s||!p&&o>=l)){Ar({eventCategory:"LogScrollDepth",eventLabel:`scroll breakpoint: ${s}%`,eventVariable:"scroll_percentage",eventValue:o});break}}t.current=o}},[o]),null};var h7=T(P());var Rg=yM;var b7=as(ns,{name:"Blue",fontFamily:["Ghost Sans"],"sdsm-default":{name:"Imported Deafult",legacyName:"Yellow","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${a("--action-text-hover-color")}`},sdsm:{"--border-radius-l":"12px","--border-radius-xl":"16px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--bg-color":a("--palette-blue-v100"),"--action-text-default-color":a("--neutral-v500"),"--action-text-hover-color":a("--neutral-v600")},"sdsm-button":{"--button-primary-fg-color":a("--palette-blue-v50"),"--button-secondary-bg-color":a("--palette-blue-v50"),"--button-secondary-hover-bg-color":a("--palette-blue-v50"),"--button-secondary-border-color":a("--palette-blue-v50"),"--button-secondary-hover-border-color":a("--palette-blue-v50"),"--button-flat-fg-color":`${a("--fg-color")}`,"--button-border-radius":`${a("--border-radius-s")}
10908`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-fg-color":a("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":a("--neutral-v700"),"--block-title-color":a("--neutral-v700"),"--block-subtitle-color":a("--neutral-v700")},"sdsm-tab":{},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}`,"--accordion-divider-border-color":`${a("--fg-color")}`,"--accordion-header-divider-border-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":a("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`,"--footer-divider-border-color":`${a("--fg-color")}`,"--footer-bar-bg-color":`${a("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":a("--neutral-v700"),"--summary-card-description-color":a("--neutral-v600"),"--summary-card-bg-color":a("--palette-blue-v50")},"sdsm-form":{"--form-input-bg-color":a("--palette-blue-v50"),"--form-input-border-radius":`${a("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":a("--neutral-v500"),"--footnote-bg-color":a("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":a("--palette-blue-v50")},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${a("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":a("--palette-blue-v100"),"--mosaic-title-color":a("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{},"sdsm-pagination":{},"sdsm-side-navigation":{},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":a("--neutral-v700"),"--icon-button-hover-bg-color":a("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-secondary":{name:"Imported secondary",legacyName:"Black","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${a("--action-text-hover-color")}`},sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--fg-color":a("--palette-blue-v50"),"--action-text-default-color":a("--neutral-v500"),"--action-text-hover-color":a("--neutral-v600"),"--action-text-active-color":a("--neutral-v700")},"sdsm-button":{"--button-primary-bg-color":a("--palette-blue-v100"),"--button-primary-hover-bg-color":a("--palette-blue-v100"),"--button-primary-border-color":a("--palette-blue-v100"),"--button-primary-hover-border-color":a("--palette-blue-v100"),"--button-secondary-bg-color":a("--palette-blue-v50"),"--button-secondary-hover-bg-color":a("--palette-blue-v50"),"--button-secondary-border-color":a("--palette-blue-v50"),"--button-secondary-hover-border-color":a("--palette-blue-v50"),"--button-flat-fg-color":a("--palette-blue-v50"),"--button-border-radius":`${a("--border-radius-s")}`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-fg-color":a("--neutral-v650"),"--global-header-fg-color":a("--neutral-v200")},"sdsm-block":{"--block-eyebrow-color":a("--palette-blue-v50"),"--block-title-color":a("--palette-blue-v50"),"--block-subtitle-color":a("--palette-blue-v50")},"sdsm-tab":{"--tabs-underline-color":a("--neutral-v600")},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}
10908`,"--accordion-divider-border-color":`${a("--fg-color")}`,"--accordion-header-divider-border-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":a("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`,"--footer-divider-border-color":`${a("--fg-color")}`,"--footer-bar-bg-color":`${a("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":a("--neutral-v700"),"--summary-card-description-color":a("--neutral-v600"),"--summary-card-bg-color":a("--palette-blue-v50")},"sdsm-form":{"--form-input-bg-color":a("--palette-blue-v50"),"--form-input-border-radius":`${a("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":a("--neutral-v500"),"--footnote-bg-color":a("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":a("--neutral-v600")},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${a("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":a("--palette-blue-v100"),"--mosaic-title-color":a("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{"--search-no-results-bg-color":a("--neutral-v150"),"--search-no-results-fg-color":a("--neutral-v650")},"sdsm-pagination":{"--pagination-item-color":a("--neutral-v400"),"--pagination-item-hover-color":a("--neutral-v300"),"--pagination-item-active-color":a("--palette-blue-v50"),"--pagination-indicator-hover-color":a("--neutral-v300")},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-hover-bg-color":a("--neutral-v200"),"--icon-button-disabled-bg-color":a("--neutral-v500"),"--icon-button-border-color":a("--neutral-v0"),"--icon-button-fg-color":a("--neutral-v700"),"--icon-button-disabled-fg-color":a("--neutral-v400")}},"sdsm-tertiary":{name:"Imported tertiary",legacyName:"White","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${a("--action-text-hover-color")}`},sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--bg-color":a("--palette-blue-v50"),"--action-text-default-color":a("--neutral-v500"),"--action-text-hover-color":a("--neutral-v600")},"sdsm-button":{"--button-primary-bg-color":a("--palette-blue-v100"),"--button-primary-hover-bg-color":a("--palette-blue-v100"),"--button-primary-border-color":a("--palette-blue-v100"),"--button-primary-hover-border-color":a("--palette-blue-v100"),"--button-secondary-fg-color":a("--palette-blue-v50"),"--button-border-radius":`${a("--border-radius-s")}`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":a("--palette-blue-v50"),"--global-header-nav-screen-fg-color":a("--neutral-v650"),"--global-header-nav-screen-global-links-bg-color":a("--palette-blue-v50"),"--global-header-fg-color":a("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":a("--neutral-v700"),"--block-title-color":a("--neutral-v700"),"--block-subtitle-color":a("--neutral-v700")},"sdsm-tab":{},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}`,"--accordion-divider-border-color":`${a("--fg-color")}`,"--accordion-header-divider-border-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":a("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":a("--neutral-v700"),"--summary-card-description-color":a("--neutral-v600"),"--summary-card-bg-color":a("--palette-blue-v50")},"sdsm-form":{"--form-input-bg-color":a("--palette-blue-v50"),"--form-input-border-radius":`${a("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":a("--neutral-v500"),"--footnote-bg
10908-color":a("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":a("--palette-blue-v50")},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${a("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":a("--palette-blue-v100"),"--mosaic-title-color":a("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{"--search-no-results-bg-color":a("--neutral-v150"),"--search-no-results-fg-color":a("--neutral-v650")},"sdsm-pagination":{},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":a("--neutral-v700"),"--icon-button-hover-bg-color":a("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-quaternary":{name:"Imported quaternary",legacyName:"Gray","sdsm-hyperlink":{"--hyperlink-desktop-font-text-decoration":"underline","--hyperlink-mobile-font-text-decoration":"underline","--hyperlink-mobile-font-weight":"Medium","--hyperlink-desktop-font-weight":"Medium","--hyperlink-color":`${a("--action-text-hover-color")}`},sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--box-shadow-l":"0px 16px 32px 0 #000 12%","--action-text-default-color":a("--neutral-v500"),"--action-text-hover-color":a("--neutral-v600")},"sdsm-button":{"--button-primary-bg-color":a("--palette-blue-v100"),"--button-primary-hover-bg-color":a("--palette-blue-v100"),"--button-primary-border-color":a("--palette-blue-v100"),"--button-primary-hover-border-color":a("--palette-blue-v100"),"--button-secondary-bg-color":a("--palette-blue-v50"),"--button-secondary-hover-bg-color":a("--palette-blue-v50"),"--button-secondary-border-color":a("--palette-blue-v50"),"--button-secondary-hover-border-color":a("--palette-blue-v50"),"--button-border-radius":`${a("--border-radius-s")}`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-m)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":a("--palette-blue-v50"),"--global-header-nav-screen-fg-color":a("--neutral-v650"),"--global-header-nav-screen-global-links-bg-color":a("--palette-blue-v50"),"--global-header-fg-color":a("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":a("--palette-blue-v200"),"--block-title-color":a("--palette-blue-v200"),"--block-subtitle-color":a("--neutral-v700")},"sdsm-tab":{},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}`,"--accordion-divider-border-color":`${a("--fg-color")}`,"--accordion-header-divider-border-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":a("--palette-blue-v50")},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`,"--footer-bar-bg-color":`${a("--bg-color")}`},"sdsm-summary-card":{"--summary-card-title-color":a("--neutral-v700"),"--summary-card-description-color":a("--neutral-v600"),"--summary-card-bg-color":a("--palette-blue-v50")},"sdsm-form":{"--form-input-bg-color":a("--palette-blue-v50"),"--form-input-border-radius":`${a("--border-radius-xl")}`,"--form-input-padding":"var(--spacing-m) var(--spacing-l)","--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":a("--neutral-v500"),"--footnote-bg-color":a("--palette-blue-v50")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":a("--palette-blue-v50")},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-content":{"--content-mobile-grid-gap":`${a("--spacing-l")}`},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":a("--palette-blue-v100"),"--mosaic-title-color":a("--palette-blue-v50")},"sdsm-media":{},"sdsm-search":{"--search-no-results-bg-color":a("--neutral-v150"),"--search-no-results-fg-color":a("--neutral-v650")},"sdsm-pagination":{},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":a("--neutral-v700"),"--icon-button-hover-bg-color":a("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}}});var S7=as(ns,{name:"Green",fontFamily:["Ghost Sans"],"sdsm-default":{name:"Imported Deafult",legacyName:"Yellow",sdsm:{"--border-radius-l":"12px","--border-radius-xl":"16px","--bg-color":"#02B790","--fg-color":"#042500"},"sdsm-button":{"--button-primary-bg-color":"#042500","--button-primary-hover-bg-color":"#042500","--button-primary-border-color":"#042500","--button-primary-hover-border-color":"#042500","--button-primary-fg-color":"#f0fff0","--button-secondary-bg-color":"#f0fff0","--button-secondary-hover-bg-color":"#f0fff0","--button-secondary-border-color":"#f0fff0","--button-secondary-hover-border-color":"#f0fff0","--button-secondary-fg-color":"#042500","--button-flat-fg-color":`${a("--fg-color")}`,"--button-border-radius":`${a("--border-radius-m")}
10908`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{},"sdsm-block":{"--block-eyebrow-color":"#042500","--block-title-color":"#042500","--block-subtitle-color":"#042500"},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`,"--footer-bar-bg-color":`${a("--bg-color")}`},"sdsm-form":{"--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":"#f0fff0","--dropdown-item-fg-color":a("--neutral-v500"),"--dropdown-item-fg-active-color":"#042500","--dropdown-item-bg-hover-color":"#c6dfc6"},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":a("--neutral-v600")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6"},"sdsm-pagination":{"--pagination-item-active-color":"#042500"},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":a("--neutral-v700"),"--icon-button-hover-bg-color":a("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-secondary":{name:"Imported secondary",legacyName:"Black",sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--bg-color":"#042500","--fg-color":"#f0fff0"},"sdsm-button":{"--button-primary-bg-color":"#02B790","--button-primary-hover-bg-color":"#02B790","--button-primary-border-color":"#02B790","--button-primary-hover-border-color":"#02B790","--button-primary-fg-color":"#042500","--button-secondary-bg-color":"#f0fff0","--button-secondary-hover-bg-color":"#f0fff0","--button-secondary-border-color":"#f0fff0","--button-secondary-hover-border-color":"#f0fff0","--button-secondary-fg-color":"#042500","--button-flat-fg-color":"#f0fff0","--button-border-radius":`${a("--border-radius-m")}`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-fg-color":a("--neutral-v200")},"sdsm-block":{"--block-eyebrow-color":"#f0fff0","--block-title-color":"#f0fff0","--block-subtitle-color":"#f0fff0"},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`,"--footer-bar-bg-color":`${a("--bg-color")}`,"--footer-divider-border-color":`${a("--fg-color")}`},"sdsm-form":{"--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":a("--neutral-v400"),"--footnote-bg-color":a("--neutral-v0")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":a("--neutral-v600"),"--dropdown-item-fg-color":a("--neutral-v300"),"--dropdown-item-fg-active-color":"#f0fff0"},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":a("--neutral-v250")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6","--search-no-results-fg-color":a("--neutral-v650")},"sdsm-pagination":{"--pagination-item-color":a("--neutral-v400"),"--pagination-item-hover-color":a("--neutral-v300"),"--pagination-item-active-color":"#f0fff0","--pagination-indicator-hover-color":a("--neutral-v300")},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-hover-bg-color":a("--neutral-v200"),"
10908--icon-button-disabled-bg-color":a("--neutral-v500"),"--icon-button-border-color":a("--neutral-v0"),"--icon-button-fg-color":a("--neutral-v700"),"--icon-button-disabled-fg-color":a("--neutral-v400")}},"sdsm-tertiary":{name:"Imported tertiary",legacyName:"White",sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--bg-color":"#f0fff0","--fg-color":"#042500"},"sdsm-button":{"--button-primary-bg-color":"#02B790","--button-primary-hover-bg-color":"#02B790","--button-primary-border-color":"#02B790","--button-primary-hover-border-color":"#02B790","--button-primary-fg-color":"#042500","--button-secondary-bg-color":"#042500","--button-secondary-hover-bg-color":"#042500","--button-secondary-border-color":"#042500","--button-secondary-hover-border-color":"#042500","--button-secondary-fg-color":"#f0fff0","--button-flat-fg-color":"#042500","--button-border-radius":`${a("--border-radius-m")}`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":"#f0fff0","--global-header-nav-screen-global-links-bg-color":"#f0fff0","--global-header-fg-color":a("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":"#042500","--block-title-color":"#042500","--block-subtitle-color":"#042500"},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`,"--footer-bar-bg-color":"#c6dfc6"},"sdsm-form":{"--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":a("--neutral-v400"),"--footnote-bg-color":a("--neutral-v0")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":"#f0fff0","--dropdown-item-fg-color":a("--neutral-v500"),"--dropdown-item-fg-active-color":"#042500","--dropdown-item-bg-hover-color":"#c6dfc6"},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":a("--neutral-v600")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6","--search-no-results-fg-color":a("--neutral-v650")},"sdsm-pagination":{"--pagination-item-active-color":"#042500"},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":a("--neutral-v700"),"--icon-button-hover-bg-color":a("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}},"sdsm-quaternary":{name:"Imported quaternary",legacyName:"Gray",sdsm:{"--box-shadow-s":"0px 4px 8px 0 rgba(0, 0, 0, 0.12)","--box-shadow-m":"0px 8px 16px 0 rgba(0, 0, 0, 0.12)","--border-radius-xs":"1px","--border-radius-s":"4px","--border-radius-m":"8px","--border-radius-l":"12px","--border-radius-xl":"16px","--spacing-xxxs":"2px","--spacing-xxs":"4px","--spacing-xs":"8px","--spacing-s":"12px","--spacing-m":"16px","--spacing-l":"24px","--spacing-xl":"32px","--spacing-xxl":"40px","--spacing-xxxxl":"64px","--bg-color":"#c6dfc6","--fg-color":"#042500"},"sdsm-button":{"--button-primary-bg-color":"#02B790","--button-primary-hover-bg-color":"#02B790","--button-primary-border-color":"#02B790","--button-primary-hover-border-color":"#02B790","--button-primary-fg-color":"#042500","--button-secondary-bg-color":"#f0fff0","--button-secondary-hover-bg-color":"#f0fff0","--button-secondary-border-color":"#f0fff0","--button-secondary-hover-border-color":"#f0fff0","--button-secondary-fg-color":"#042500","--button-flat-fg-color":"#042500","--button-border-radius":`${a("--border-radius-m")}
10908`,"--button-hover-shadow":`${a("--box-shadow-l")}`,"--button-regular-padding":"var(--spacing-s) var(--spacing-xl)","--button-compact-padding":"var(--spacing-xs) var(--spacing-m)"},"sdsm-header":{"--global-header-nav-screen-bg-color":"#f0fff0","--global-header-nav-screen-global-links-bg-color":"#f0fff0","--global-header-fg-color":a("--neutral-v650")},"sdsm-block":{"--block-eyebrow-color":"#042500","--block-title-color":"#042500","--block-subtitle-color":"#042500"},"sdsm-break":{},"sdsm-accordion":{"--accordion-header-color":`${a("--fg-color")}`},"sdsm-quote":{"--quote-bg-color":"#f0fff0","--quote-fg-color":"#042500"},"sdsm-footer":{"--footer-bg-color":`${a("--bg-color")}`,"--footer-bar-bg-color":`${a("--bg-color")}`},"sdsm-form":{"--form-grid-gap":`${a("--spacing-m")}`},"sdsm-footnote":{"--footnote-fg-color":a("--neutral-v400"),"--footnote-bg-color":a("--neutral-v0")},"sdsm-dropdown-menu":{"--dropdown-menu-bg-color":"#f0fff0","--dropdown-item-fg-color":a("--neutral-v500"),"--dropdown-item-fg-active-color":"#042500","--dropdown-item-bg-hover-color":"#c6dfc6"},"sdsm-banner":{"--banner-bg-color":`${a("--bg-color")}`,"--banner-fg-color":`${a("--fg-color")}`},"sdsm-hyperlink":{"--hyperlink-color":a("--neutral-v600")},"sdsm-mosaic":{"--mosaic-border-radius":"24px","--mosaic-grid-gap":"32px","--mosaic-highlight-color":"#02B790","--mosaic-title-color":"#f0fff0"},"sdsm-search":{"--search-no-results-bg-color":"#c6dfc6","--search-no-results-fg-color":a("--neutral-v650")},"sdsm-pagination":{"--pagination-item-active-color":"#042500"},"sdsm-spinner":{"--spinner-fg-color":`${a("--button-primary-fg-color")}`},"sdsm-modal":{"--modal-bg-color":"rgba(0,0,0,0.7)"},"sdsm-icon-button":{"--icon-button-bg-color":a("--neutral-v700"),"--icon-button-hover-bg-color":a("--neutral-v600"),"--icon-button-disabled-bg-color":"rgba(0,0,0,0)"}}});var ate=Jo(async()=>import("./chunks/LazyCustomMotifHandler-WOKC3PUH.mjs").then(e=>({default:e.LazyCustomMotifHandler}))),v7=({children:e,motif:t,...o})=>{let{getCurrentUrl:n}=(0,h7.useContext)(Z),r=vt(),s=t,p=new URL(n()).searchParams.get("alternateMotif");if(r.useGhostMotif==="true"&&O.site==="for-business"&&(s=void 0),!O.isDeploymentTypeProd){if(p==="true"||p==="green")s=S7;else if(p==="blue")s=b7;else if(p==="snap"&&O.site==="sandbox")s=Rg;else if(p==="specs"&&O.site==="sandbox")s=void 0;else if(p==="figma-upload")return i(Ro,{fallbackElement:i("p",{children:"...Loading"}),children:i(ate,{motif:t,...o,children:e})})}return i(oM,{motif:s,...o,children:e})};var I7=T(P());var k7=()=>{let e=(0,I7.useContext)(Ze),t="width=device-width, initial-scale=1";return e.getLowEntropyHints().platform==="iOS"&&(t+=", viewport-fit=cover"),i(kt,{children:i("meta",{name:"viewport",content:t})})};var Ui=T(P());var M7=({sessionValue:e,children:t})=>{let[o,n]=(0,Ui.useState)(e.footerView??"Full Footer"),[r,s]=(0,Ui.useState)(e.headerView??"Full Header"),[l,p]=(0,Ui.useState)(e.headerBackgroundColorOverride),[d,u]=(0,Ui.useState)(!1),[y,m]=(0,Ui.useState)(!1),[g,f]=(0,Ui.useState)(!1),b={footerView:o,headerView:r,headerBackgroundColorOverride:l,hasSideNav:d,hasSubNav:y,hasCustomSideNav:g,setFooterView:S=>{n(S),e.setFooterView?.(S)},setHeaderView:S=>{s(S),e.setHeaderView?.(S)},setDefaultHeaderHeight:S=>{e.setDefaultHeaderHeight?.(S)},setHeaderBackgroundColorOverride:S=>{p(S),e.setHeaderBackgroundColorOverride?.(S)},setHasSideNav:S=>u(S),setHasSubNav:S=>m(S),setHasCustomSideNav:S=>f(S)};return i(sn.Provider,{value:b,children:t})};var _7=T(P());var Sv=R` 10909 fragment FooterItemAll on FooterItem { 10910 ...ContentfulSysId 10911 title 10912 url 10913 analytics { 10914 ...ContentfulSysId 10915 label 10916 } 10917 criteria { 10918 ...CriteriaAll 10919 } 10920 } 10921 ${G} 10922 ${Yt} 10923`,hv=R` 10924 fragment FooterLocaleDropdownAll on FooterLocaleDropdown { 10925 ...ContentfulSysId 10926 title 10927 criteria { 10928 ...CriteriaAll 10929 } 10930 } 10931 ${G} 10932 ${Yt} 10933`,Cv=R` 10934 fragment FooterCookiesSettingsLinkAll on FooterCookiesSettingsLink { 10935 ...ContentfulSysId 10936 title 10937 criteria { 10938 ...CriteriaAll 10939 } 10940 } 10941 ${G} 10942 ${Yt} 10943`,xv=R` 10944 fragment FooterGroupAll on FooterGroup { 10945 ...ContentfulSysId 10946 __typename 10947 title 10948 groupKey 10949 itemsCollection(limit: 10) { 10950 items { 10951 __typename 10952 ... on FooterItem { 10953 ...FooterItemAll 10954 } 10955 10956 ... on FooterLocaleDropdown { 10957 ...FooterLocaleDropdownAll 10958 } 10959 10960 ... on FooterCookiesSettingsLink { 10961 ...FooterCookiesSettingsLinkAll 10962 } 10963 } 10964 } 10965 analytics { 10966 ...ContentfulSysId 10967 label 10968 } 10969 criteria { 10970 ...CriteriaAll 10971 } 10972 } 10973 ${G} 10974 ${Sv} 10975 ${hv} 10976 ${Cv} 10977 ${Yt} 10978`,Fg=R` 10979 fragment CustomFooterAll on CustomFooter { 10980 ...ContentfulSysId 10981 columnsCollection(limit: 10) { 10982 items { 10983 ... on FooterGroup { 10984 ...FooterGroupAll 10985 } 10986 } 10987 } 10988 barCollection(limit: 10) { 10989 items { 10990 ... on FooterGroup { 10991 ...FooterGroupAll 10992 } 10993 } 10994 }
10995 brandBackgroundColor 10996 backgroundColor 10997 logo { 10998 ...ImageAll 10999 } 11000 logoAriaLabel 11001 url 11002 socialLabel 11003 socialCollection(limit: 10) { 11004 items { 11005 ... on ImageButton { 11006 ...ImageButtonAll 11007 } 11008 } 11009 } 11010 } 11011 ${G} 11012 ${ev} 11013 ${Le.all} 11014 ${xv} 11015`,WYe=R` 11016 query FooterQuery($preview: Boolean!, $locale: String!) { 11017 customFooterCollection(preview: $preview, locale: $locale, limit: 1) { 11018 items { 11019 ...CustomFooterAll 11020 } 11021 } 11022 } 11023 11024 ${Fg} 11025`;var vv=R` 11026 fragment HeaderMenuItemGroupFieldsOnly on HeaderMenuItemGroup { 11027 ...ContentfulSysId 11028 title 11029 url 11030 column1Label 11031 column1MenuItemsCollection { 11032 items { 11033 ...HeaderMenuItemFieldsOnly 11034 } 11035 } 11036 column2Label 11037 column2MenuItemsCollection { 11038 items { 11039 ...HeaderMenuItemFieldsOnly 11040 } 11041 } 11042 column3Label 11043 column3MenuItemsCollection { 11044 items { 11045 ...HeaderMenuItemFieldsOnly 11046 } 11047 } 11048 featuredHeaderMenuItem { 11049 ...FeaturedHeaderMenuItemFieldsOnly 11050 } 11051 } 11052 ${G} 11053`,Iv=R` 11054 fragment HeaderMenuItemFieldsOnly on HeaderMenuItem { 11055 ...ContentfulSysId 11056 title 11057 url 11058 description 11059 icon { 11060 ...ContentfulSysId 11061 icon 11062 media { 11063 ...AssetAll 11064 } 11065 } 11066 analytics { 11067 ...AnalyticsAll 11068 } 11069 hideCriteria { 11070 ...CriteriaAll 11071 } 11072 } 11073 ${G} 11074 ${fo.all} 11075 ${Yt} 11076 ${Pn} 11077`,kv=R` 11078 fragment FeaturedHeaderMenuItemFieldsOnly on FeaturedHeaderMenuItem { 11079 ...ContentfulSysId 11080 title 11081 url 11082 description 11083 icon { 11084 ...ContentfulSysId 11085 icon 11086 media { 11087 ...AssetAll 11088 } 11089 } 11090 ctaLabel 11091 analytics { 11092 ...AnalyticsAll 11093 } 11094 hideCriteria { 11095 ...CriteriaAll 11096 } 11097 } 11098 ${G} 11099 ${fo.all} 11100 ${Yt} 11101 ${Pn} 11102`,T7=R` 11103 fragment NavigatorLocal on Navigator { 11104 ...ContentfulSysId 11105 title 11106 logoV2 { 11107 ... on Image { 11108 ...ImageAll 11109 } 11110 } 11111 theme 11112 brandBackgroundColor 11113 backgroundColor 11114 headerMenuItemGroupsCollection(limit: 7) { 11115 items { 11116 ...HeaderMenuItemGroupFieldsOnly 11117 } 11118 total 11119 } 11120 callsToActionCollection(limit: 10) { 11121 items { 11122 ... on CallToAction { 11123 ...CallToActionAll 11124 } 11125 ... on NavigationCallToAction { 11126 ...NavigationCta 11127 } 11128 } 11129 } 11130 url 11131 analytics { 11132 ...AnalyticsAll 11133 } 11134 } 11135 ${G} 11136 ${fo.all} 11137 ${vv} 11138 ${Iv} 11139 ${kv} 11140 ${mt} 11141 ${Bc} 11142 ${$t.all} 11143`;var rte=R` 11144 fragment SitewideValuesAll on SitewideValues { 11145 ...ContentfulSysId 11146 navigationBar { 11147 ...NavigatorLocal 11148 } 11149 customFooter { 11150 ...CustomFooterAll 11151 } 11152 customSitewideEntriesCollection(limit: 5) { 11153 items { 11154 ...ContentfulSysId 11155 } 11156 } 11157 featureFlags { 11158 ...ContentfulSysId 11159 featureFlags 11160 } 11161 } 11162 ${G} 11163`,ite=R` 11164 fragment SitewideConfiguration on SitewideConfiguration { 11165 ...ContentfulSysId 11166 reference { 11167 ... on SitewideValues { 11168 ...SitewideValuesAll 11169 } 11170 ... on SitewideExperiment { 11171 ...ContentfulSysId 11172 default { 11173 ...SitewideValuesAll 11174 } 11175 seed 11176 variantsCollection(limit: 5) { 11177 items { 11178 ...ContentfulSysId 11179 trafficStartRange 11180 trafficEndRange 11181 analyticsId 11182 replacementsCollection(limit: 10) { 11183 items { 11184 ...ContentfulSysId 11185 replacementTarget { 11186 ...ContentfulSysId 11187 } 11188 replacement { 11189 ...ContentfulSysId 11190 ... on Navigator { 11191 ...NavigatorLocal 11192 } 11193 ... on HeaderMenuItemGroup { 11194 ...HeaderMenuItemGroupFieldsOnly 11195 } 11196 ... on HeaderMenuItem { 11197 ...HeaderMenuItemFieldsOnly 11198 } 11199 ... on FeaturedHeaderMenuItem { 11200 ...FeaturedHeaderMenuItemFieldsOnly 11201 } 11202 ... on NavigationCallToAction { 11203 ...NavigationCta 11204 } 11205 ... on CallToAction { 11206 ...CallToActionAll 11207 } 11208 ... on FeatureFlags { 11209 ...ContentfulSysId 11210 featureFlags 11211 } 11212 ... on CustomFooter { 11213 ...CustomFooterAll 11214 } 11215 ... on FooterCookiesSettingsLink { 11216 ...FooterCookiesSettingsLinkAll 11217 } 11218 ... on FooterGroup { 11219 ...FooterGroupAll 11220 } 11221 ... on FooterItem { 11222 ...FooterItemAll 11223 } 11224 ... on FooterLocaleDropdown { 11225 ...FooterLocaleDropdownAll 11226 } 11227 } 11228 } 11229 } 11230 } 11231 } 11232 analyticsId 11233 } 11234 } 11235 } 11236 ${G} 11237 ${T7} 11238 ${Fg} 11239 ${rte} 11240 ${Bc} 11241 ${vv} 11242 ${Iv} 11243 ${kv} 11244 ${mt} 11245 ${xv} 11246 ${Cv} 11247 ${hv} 11248 ${Sv} 11249 ${Fg} 11250`,A7=R` 11251 query SitewideConfigurationQuery($preview: Boolean!, $locale: String!) { 11252 sitewideConfigurationCollection(preview: $preview, locale: $locale, limit: 1) { 11253 items { 11254 ...SitewideConfiguration 11255 } 11256 } 11257 } 11258 ${ite} 11259`;var ste=e=>typeof e=="object"&&e.sys?.id!==void 0,lte=e=>typeof e=="object"&&Array.isArray(e.items),pte=50;function Bg(e,t,o=0){let n=Ho(e);if(o>pte)return console.error("Max depth reached in replaceEntries"),n;
11259if(e.sys.id in t)return t[e.sys.id]===void 0?void 0:(n=t[e.sys.id],Bg(n,t,o+1));for(let r in n){let s=n[r];if(r.endsWith("Collection")&<e(s)){let l=s.items.map(p=>Bg(p,t,o+1)).filter(p=>!!p);n[r]={...s,items:l}}else ste(s)&&(n[r]=Bg(s,t,o+1))}return n}var w7=({children:e})=>{let t=kg(),{currentLocale:o}=(0,_7.useContext)(Z),{data:n}=ce(A7),r=Tg(),l=(p=>{if(!p||!p?.sitewideConfigurationCollection?.items)return;let d=ts(p.sitewideConfigurationCollection.items)?.reference;if(d){if(d.__typename==="SitewideValues")return{sitewideValues:d};if(d.__typename==="SitewideExperiment"){if(!d.default)return;let u=d.default,y={};if(!d.variantsCollection?.items)return{sitewideValues:u};let{isThinking:m,decision:g}=t({seed:d.seed??d.sys.id,variants:d.variantsCollection.items});if(g?.replacementsCollection?.items){for(let f of g.replacementsCollection.items)if(f?.replacementTarget?.sys.id){if(!f.replacementTarget.__typename)continue;if(f?.replacement===void 0){y[f.replacementTarget.sys.id]=void 0;continue}y[f.replacementTarget.sys.id]={...f.replacement}}r({key:"sitewideExperimentExposure",callback:()=>Hn({eventCategory:"Experiment",eventAction:"sitewideExperimentExposure",eventLabel:`${d.analyticsId??"Unknown"}:${g.analyticsId??"Unknown"}`,context:{locale:o}}
11259),dependencies:[d.analyticsId,g.analyticsId]})}if(!m&&!g&&r({key:"sitewideExperimentExposure",callback:()=>Hn({eventCategory:"Experiment",eventAction:"sitewideExperimentExposure",eventLabel:`${d.analyticsId??"Unknown"}:default`,context:{locale:o}}),dependencies:[d.analyticsId]}),Object.entries(y).length>0){u=Ao(d.default);let f=Bg(u,y);f&&(u=f)}return{sitewideValues:u}}}})(n)||{};return i(Wa.Provider,{value:l,children:e})};var P7=T(P());var cte=c` 11260 display: flex; 11261 align-items: center; 11262 flex-direction: column; 11263 justify-content: center; 11264 overflow-x: hidden; 11265 position: relative; 11266 width: 100%; 11267 height: 100vh; 11268 text-align: center; 11269 background-color: #fffc00; 11270 11271 h1 { 11272 font-size: 7em; 11273 font-weight: 600; 11274 margin-bottom: 40px; 11275 } 11276 11277 p { 11278 margin-top: 0.5em; 11279 } 11280 11281 a { 11282 text-decoration: none; 11283 } 11284`,D7=()=>x("div",{className:cte,children:[i("h1",{children:"500"}),i("h2",{children:"Oops! Something went wrong"}),i("p",{children:i("a",{href:"/",children:"Go to home"})})]});var $g=class extends P7.Component{constructor(t){super(t),this.state={hasError:!1}}componentDidCatch(t,o){this.setState({hasError:!0});let n=this.props.tracer?.startSpan("fetchError");En("/error").then(r=>n?.endSpan()),Be({component:"UncaughtError",error:t??void 0,context:{componentStack:o?.componentStack}})}render(){let{children:t}=this.props,{hasError:o}=this.state;return o?i(D7,{}):t}};var N7="https://web-platform.snap.com/fonts/font.graphik.css",dte="https://snap-design-system.storage.googleapis.com/fonts/font.graphik.css",ute=()=>fetch(N7).then(()=>!0).catch(e=>(Ft(e).message==="Failed to fetch"?console.warn(`Your browser is blocking "${new URL(N7).hostname}" which hosts our fonts. Allow this domain through your content blocker to see this website the way it was meant to be seen.`):console.error("Failed to fetch fonts",e),!1)),E7=()=>(Ko(()=>{ute().then(e=>{if(e)return;let t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=dte,document.head.appendChild(t)})},[]),null);var yte=Object.defineProperty,Xt=(e,t)=>yte(e,"name",{value:t,configurable:!0}),vl,Mv=(vl=class extends Hd{constructor(t){super({...t,requiredPermissions:["logging","performance"]}),this.flushInternal=Xt(()=>Promise.resolve(),"flushInternal"),this.props=t,this.init=this.init.bind(this),this.logEventInternal=this.logEventInternal.bind(this)}
11284async init(){let{initBlizzard:t,logEvent:o,CollectionMode:n}=await import("./chunks/dist-YAWQFW56.mjs");await t({...this.props,appEnvironment:{appType:"WEB_DESKTOP",appBuild:"PROD"},cookiesArgs:{customDomain:this.props.isProd?this.props.cookieDomain:void 0},debugLoggingEnabled:!1,mode:this.props.isProd?n.PROD:n.STAGE}),this.logBlizzardEvent=o}logEventInternal(t,o){let n=this.props.eventFormatter(t,o);if(!n)return;let r=Array.isArray(n)?n:[n];for(let s of r)this.logBlizzardEvent(s)}},Xt(vl,"BlizzardClientEventListener"),vl),mte=Xt((e,t)=>{let o=new URL(window.location.href),n={event_name:"WEB_PLATFORM_EVENT",host:o.host,path:o.pathname,query:JSON.stringify(Object.fromEntries(o.searchParams.entries()))};switch(e.type){case Ae.DEBUG:return{...n,type:Ae.DEBUG,component:e.component,message:e.message};case Ae.ERROR:{let r=Ft(e.error);return{...n,type:Ae.ERROR,component:e.component,message:r.message,action:e.action}}case Ae.INFO:return{...n,type:Ae.INFO,component:e.component,action:e.action,label:e.label};case Ae.TIMING:return{...n,type:Ae.TIMING,component:e.component,variable:e.variable,value:e.valueMs.toString(),label:e.label};case Ae.VALUE:return{...n,type:Ae.VALUE,component:e.component,variable:e.variable,value:e.value.toString(),label:e.label};case Ae.WARNING:return{...n,type:Ae.WARNING,component:e.component,message:e.message,action:e.action}}},"formatWebPlatformEvent");function gte(e){return new Mv({isProd:e.isProd,cookieDomain:e.cookieDomain,eventFormatter:mte})}Xt(gte,"getCommonBlizzardClientEventListener");var ii,R7=(ii=class extends ZM{constructor(t={}){super({...t,messageTransform:ii.messageTransform}),this.clientProps=t}},Xt(ii,"ConsoleClientEventListener"),ii.messageTransform=Xt((t,o)=>{if(o.length<1)return o;let n=o.shift(),r=`%c${n}`;switch(t){case Ae.ERROR:return[r,"color: bloodOrange;",...o];case Ae.WARNING:return[r,"color: yellow;",...o];case Ae.TIMING:return[r,"color: dodgerblue;",...o];case Ae.VALUE:return[r,"color: dodgerblue;",...o];case Ae.DEBUG:return[r,"color: gray;",...o];case Ae.CUSTOM:return[r,"font-weight: bold;",...o];default:return[n,...o]}},"messageTransform"),ii);function F7(e,t){switch(e[0]){case"get":case"set":return!1}return e[2]||(e[2]={}),e[2].event_callback=t,e[2].event_timeout=2e3,!0}Xt(F7,"addGa4EventCallback");function B7(...e){window.dataLayer.push(arguments)}Xt(B7,"gtag");var Il,$Xe=(Il=class extends Vd{constructor(t){super(t),this.addEventCallback=F7,this.gaProps=t}addEventToDataLayer(t){if(!Array.isArray(t))throw new Error("Unexpected event for GA4. GA4 events are arrays.");B7(...t)}init(){window.dataLayer=window.dataLayer||[];let t=document.createElement("script");return t.async=!0,t.src=`https://www.googletagmanager.com/gtag/js?id=${this.gaProps.gaId}`,this.gaProps.nonce&&(t.nonce=this.gaProps.nonce),document.head.appendChild(t),this.gaProps.privacyConfig&&this.applyPrivacyConfig(this.gaProps.privacyConfig),this.addEventToDataLayer(["js",this.gaProps.clock?new Date(this.gaProps.clock()):new Date]),this.addEventToDataLayer(["config",this.gaProps.gaId,{debug_mode:this.gaProps.debugMode??!1,send_page_view:this.gaProps.sendPageView??!0,user_id:this.gaProps.userId}]),Promise.resolve()}applyPrivacyConfig(t){this.addEventToDataLayer(["consent","default",{ad_storage:"granted",analytics_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",wait_for_update:500}]),t.restrictDataProcessing&&this.addEventToDataLayer(["set","restricted_data_processing",!0]),t.configureConsent&&this.addEventToDataLayer(["consent","update",{ad_storage:"denied",analytics_storage:"granted",ad_user_data:"denied",ad_personalization:"denied",wait_for_update:500}]),t.redactAdsData&&this.addEventToDataLayer(["set","ads_data_redaction",!0])}},Xt(Il,"GoogleAnalytics4ClientEventListener"),Il),fte="gtm-script";function $7(e,t){if(typeof e!="object")throw new Error("Unexpected event for GTM. GTM events are objects.");return e.eventCallback=t,e.eventTimeout=2e3,!0}Xt($7,"addGtmEventCallback");function L7(...e){window.dataLayer.push(arguments)}Xt(L7,"gtag");var kl,H7=(kl=class extends Vd{constructor(t){super(t),this.addEventCallback=$7,this.gtmProps=t}addEventToDataLayer(t){typeof t=="object"&&t!==null&&!Array.isArray(t)?
11284window.dataLayer.push(t):L7(...t)}init(){window.dataLayer=window.dataLayer||[];let t=document.createElement("script");return t.async=!0,t.src=`https://www.googletagmanager.com/gtm.js?id=${this.gtmProps.gtmId}`,t.id=fte,this.gtmProps.nonce&&(t.nonce=this.gtmProps.nonce),document.head.appendChild(t),this.gtmProps.privacyConfig&&this.applyPrivacyConfig(this.gtmProps.privacyConfig),this.addEventToDataLayer({"gtm.start":Date.now(),event:"gtm.js"}),Promise.resolve()}applyPrivacyConfig(t){this.addEventToDataLayer(["consent","default",{ad_storage:"granted",analytics_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",wait_for_update:500}]),t.restrictDataProcessing&&this.addEventToDataLayer(["set","restricted_data_processing",!0]),t.configureConsent&&this.addEventToDataLayer(["consent","update",{ad_storage:"denied",analytics_storage:"granted",ad_user_data:"denied",ad_personalization:"denied",wait_for_update:500}]),t.redactAdsData&&this.addEventToDataLayer(["set","ads_data_redaction",!0])}},Xt(kl,"GoogleTagManagerClientEventListener"),kl),Ml,V7=(Ml=class extends XM{constructor(){super(...arguments),this.getNetworkHandler=Xt(t=>new Fd(t),"getNetworkHandler"),this.getClient=Xt(()=>new Bd,"getClient")}},Xt(Ml,"GrapheneClientEventListener"),Ml),bte=/.*/,Tl,O7=(Tl=class extends JM{constructor(t){super(t),this.isInitCalled=!1,this.loadSentryAndInit=Xt(async()=>{if(this.isInitCalled)return;this.isInitCalled=!0;let{init:o,captureException:n,captureEvent:r}=await import("./chunks/dist-U22H6VYY.mjs");this.clientCaptureException=n,this.clientCaptureEvent=r,o({allowUrls:[bte],...this.browserProps})},"loadSentryAndInit"),this.getExceptionCapturer=Xt(async()=>(await this.loadSentryAndInit(),this.clientCaptureException),"getExceptionCapturer"),this.getEventCapturer=Xt(async()=>(await this.loadSentryAndInit(),this.clientCaptureEvent),"getEventCapturer"),this.browserProps=t}},Xt(Tl,"SentryClientEventListener"),Tl);var Lc="analyticsEvent",Ste="analyticsValueEvent",hte="analyticsTimingEvent",Cte=(e,t)=>e!=="US"||t!=="ca"&&t!=="na",Wi=class Wi extends H7{constructor(o){let{initialContext:n,...r}=o;super({...r,eventFormatter:Wi.eventFormat});we(this,"isOutsideCalifornia",!1);we(this,"userLocation","Unknown");we(this,"globalPrivacyControl",!1);we(this,"isGtmDebug",!1);we(this,"initialContext");we(this,"hasAllPermissions",()=>{let o=new URL(window.location.href).searchParams.has("gtm_debug");if(o)return this.isGtmDebug=o,!0;if(this.isGtmDebug)return!0;let n=!0;for(let r of this.baseProps.requiredPermissions)if(!this.permissions.has(r)){n=!1;break}return!!n});we(this,"checkRegion",async()=>{if(!this.isOutsideCalifornia)try{let n=await(await fetch("https://web-platform.snap.com/cookies/user_location")).json();this.userLocation=`${n.country}-${n.region}`,this.isOutsideCalifornia=Cte(n.country,n.region)}catch(o){console.warn("Unable to determine user location:",Ft(o).message),this.isOutsideCalifornia=!0}});we(this,"flushInternal",()=>Promise.resolve());this.initialContext=n}
11284async init(){window.dataLayer=window.dataLayer||[],await this.checkRegion(),window.dataLayer.push({userLocation:this.userLocation});let o=!this.isOutsideCalifornia,n=o&&this.initialContext.globalPrivacyControl;return this.applyPrivacyConfig({restrictDataProcessing:o,configureConsent:n,redactAdsData:n}),this.permissions.has("logging")&&this.allow("logging"),this.addEventToDataLayer({pageLocale:this.initialContext.locale}),await super.init()}static eventFormat(o,n){switch(o.type){case Ae.USER_ACTION:return{event:Lc,eventAction:o.action,eventLabel:o.label||null,eventCategory:o.component,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!1};case Ae.INFO:return{event:Lc,eventAction:o.action,eventLabel:o.label??null,eventCategory:o.component,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!0};case Ae.VALUE:return{event:Ste,eventCategory:o.component,eventVariable:o.variable,eventLabel:o.label??null,eventValue:o.value,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!0};case Ae.TIMING:return{event:hte,eventCategory:o.component,eventVariable:o.variable,eventLabel:o.label??null,eventValue:o.valueMs,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null,eventNonInt:!0};case Ae.CUSTOM:{switch(o.subscribedEventType){case"page_load":{let r=Wi.getFieldsFromContext(n);return{type:"multiple",events:[{...r,event:"virtualPageview",eventNonInt:!0,eventAction:"View",eventCategory:"Page",virtualPageviewPath:window.location.pathname},{...r,event:Lc,eventNonInt:!0,eventAction:"Load",eventCategory:"Page",eventLabel:window.location.pathname}]}}case"ecommerce":{let r=Wi.getFieldsFromContext(n),{type:s,subscribedEventType:l,...p}=o;return{type:"multiple",events:[{ecommerce:null},{...r,...p,event:"ecommerce"}]}}case"experiment_impression":return!o.experimentId&&!o.variantId?null:{...Wi.getFieldsFromContext(n),event:"experiment_impression",experiment_id:o.experimentId,variant_id:`${o.experimentId}.${o.variantId}`,elementLocation:n.elementLocation??null,elementText:n.elementText??null,targetUrl:n.targetUrl??null}}return null}}return null}};we(Wi,"getFieldsFromContext",o=>({pagePath:o?.path,pageLocation:o?.url?.toString(),pageLocale:o?.locale}));var Lg=Wi;var zI=T(P());var zz=T(P());var td=T(P());var G7=T(P());var xte={all:R` 11285 fragment AccordionAll on Accordion { 11286 ...ContentfulSysId 11287 title 11288 multipleOpen 11289 itemsCollection(limit: 30) { 11290 items { 11291 ...ContentfulSysId 11292 ... on AccordionItem { 11293 title 11294 body { 11295 json 11296 } 11297 callsToActionCollection(limit: 2) { 11298 items { 11299 ... on CallToAction { 11300 ...CallToActionAll 11301 } 11302 } 11303 } 11304 } 11305 } 11306 } 11307 } 11308 ${G} 11309 ${mt} 11310 `},Hg={all:R` 11311 query accordionQuery($preview: Boolean!, $locale: String!, $id: String!) { 11312 accordion(preview: $preview, locale: $locale, id: $id) { 11313 ...AccordionAll 11314 } 11315 } 11316 ${xte.all} 11317 `};var z7=({sys:e,itemsCollection:t,multipleOpen:o,title:n})=>{let r=(0,G7.useContext)(Se).elementLocation,{titleDataset:s}=Re({entryId:e.id,fieldIds:["title"]});return i(cT,{"data-testid":"accordion",multipleOpen:o,title:n,titleDataset:s,children:t.items.map(l=>{let{titleDataset:p}=Re({entryId:l.sys.id,fieldIds:["title"]}),d=l.title?l.title:l.sys.id;return i(Eb,{id:l.sys.id,title:Fo(l.title),titleDataset:p,onToggle:u=>{ge({eventCategory:"Accordion",eventAction:u?"Open":"Close",eventLabel:null,context:{elementText:d,elementLocation:r}})},children:i(Ec,{body:l.body,callsToActionCollection:l.callsToActionCollection??{items:[]},hasLinks:!1,sys:l.sys})},l.sys.id)})})};z7.displayName="AccordionContent";var U7=e=>{let t=ro(e)?e.sys.id:void 0,{data:o}=ce(Hg.all,{skip:!t,variables:{id:t}});return o?.accordion?i(z7,{...o.accordion,sys:o.accordion.sys??e.sys}):null};var vte={all:R` 11318 fragment AnimatedAccordionAll on AnimatedAccordion { 11319 ...ContentfulSysId 11320 accordionContentsCollection { 11321 items { 11322 ...ContentfulSysId 11323 media { 11324 __typename 11325 ... on Video { 11326 ...VideoAll 11327 } 11328 ... on Image { 11329 ...ImageAll 11330 } 11331 } 11332 image { 11333 ...ImageAll 11334 } 11335 title 11336 body { 11337 json 11338 } 11339 } 11340 } 11341 mediaDirection 11342 autoPlaySpeed 11343 textAlignmentMobile 11344 useFullWidthLayout 11345 mediaAspectRatio 11346 } 11347 ${Le.all} 11348 ${nt.all} 11349 ${G} 11350 `},Vg=R` 11351 query AnimatedAccordionQuery($preview: Boolean!, $locale: String!, $id: String!) { 11352 animatedAccordion(preview: $preview, locale: $locale, id: $id) { 11353 ...AnimatedAccordionAll 11354 } 11355 } 11356 ${vte.all} 11357`;var Al=T(P());var K7=T(P());var W7=e=>{let{getImageSources:t}=Ie(),{title:o,image:n}=e,{desktopSettings:r,mobileSettings:s}=ot({desktopHeight:n?.media?.height??0,mobileHeight:n?.mobileMedia?.height,desktopDefaultHeight:120,mobileDefaultHeight:120,enableHighDpi:n?.enableHighDpi,quality:n?.quality}),l=$e({desktop:t(n?.media?.url,r),mobile:t(n?.mobileMedia?.url,s)});return i(N3,{title:o,imgSrcs:l})};var Q7=({stat:e="",subtitle:t})=>
11357i(R3,{stat:e,subtitle:so(t)});var q7=e=>{let{getImageSources:t}=Ie(),{title:o="",icon:n,body:r}=e,s;return n?.media&&(s=$e({desktop:t(n?.media?.url)})),i(F3,{title:o,body:so(r),imgSrcs:s,icon:n?.icon})};var Ite={"3:2":315,"9:16":656,"1:1":472,"16:9":265},kte={"3:2":180,"9:16":400,"1:1":271,"16:9":152},Og=e=>{let{getImageSources:t}=Ie(),{isRTL:o}=(0,K7.useContext)(Z),{anchor:n,brandBackgroundColor:r,backgroundColor:s,title:l,multiValuePropBlockSubtitle:p,body:d,subtopicsCollection:u,callsToActionCollection:y,mediaCollection:m,desktopMediaAspectRatio:g,mobileMediaAspectRatio:f,mediaDirection:b,autoplayCarousel:S,fullHeight:C,style:I}=e,k=tt(r),v=y?.items?.map(_=>i(ft,{..._},_.sys.id)),A=mg(m?.items),w=m?.items?.map((_,F)=>{if(_.__typename==="Image"){let{desktopSettings:$,mobileSettings:B}=ot({desktopHeight:_.media?.height??0,mobileHeight:_.mobileMedia?.height,desktopDefaultHeight:Ite[g],mobileDefaultHeight:kte[f],enableHighDpi:_.enableHighDpi,quality:_.quality});return{type:_.__typename,altText:_.media.description,sources:$e({de
11357sktop:t(_.media.url,$),mobile:t(_.mobileMedia?.url,B)})}}if(_.__typename==="Video"){let{media:$,mobileMedia:B}=A[F]??{};return{type:_.__typename,autoPlay:!!_.autoPlay,videoSource:$?.videoSource??_.media.url,mobileVideoSource:B?.videoSource??_?.mobileMedia?.url,sourceType:$?.contentType??_.media.contentType}}}),D=u.items,M;return m?.items?.length===1&&(M=m.items[0]?.stickersCollection?.items?.map(F=>({imgSrcs:t(F?.asset?.url),position:F?.position,rotation:F?.rotation}))),i(E3,{anchor:n,motifScheme:k,backgroundColor:s,title:so(l),subtitle:p,body:Na(d),autoplayCarousel:S,callsToAction:v?.length?v:void 0,mediaSources:w,desktopMediaAspectRatio:g,mobileMediaAspectRatio:f,mediaDirection:b,fullHeight:C,style:I,stickers:M,isRtl:o,children:D.map(_=>_.__typename==="ImageSubtopic"?i(W7,{..._},_.sys.id):_.__typename==="StatSubtopic"?i(Q7,{..._},_.sys.id):_.__typename==="TextSubtopic"?i(q7,{..._},_.sys.id):null)})};var j7=e=>{let{title:t,subtitle:o,titleAlignment:n,titleAlignmentMobile:r,brandBackgroundColor:s,backgroundColor:l=Zt.White,fullHeight:p=!1,tabsCollection:d,anchorId:u}=e,y=tt(s),m=(0,Al.useContext)(Se).elementLocation,[g,f]=(0,Al.useState)(0),b=(0,Al.useCallback)(C=>{let I=d?.items?.[C]?.tabText;f(C),ge({eventAction:"Click",eventCategory:"Block Tab",eventLabel:`tab:${C}`,context:{elementLocation:m,elementText:I}})},[d,m]),S=d?.items?d.items.filter(C=>C.block.__typename==="MultiValuePropBlock").map((C,I)=>({text:C.tabText,content:[i(Og,{...C.block,fullHeight:p,autoplayCarousel:g===I?C.block.autoplayCarousel:!1,brandBackgroundColor:s,backgroundColor:l,style:{display:g!==I?"none":"flex"}},C.sys.id)],maxColumns:1})):[];return x(ue,{children:[i(oo,{motifScheme:y,backgroundColor:l,title:so(t),subtitle:so(o),titleAlignment:n,titleAlignmentMobile:r,anchorId:u,children:S.length>=2&&i(Ky,{items:S,selectTab:b,selectedTab:g})}),S.map(C=>C.content)]})};var Mte=Va` 11358 fragment TextSubtopicAll on TextSubtopic { 11359 ...ContentfulSysId 11360 icon { 11361 ...ContentfulSysId 11362 icon 11363 media { 11364 ...AssetAll 11365 } 11366 } 11367 title 11368 body { 11369 json 11370 } 11371 } 11372`,Tte=Va` 11373 fragment ImageSubtopicAll on ImageSubtopic { 11374 ...ContentfulSysId 11375 image { 11376 ... on Image { 11377 ...ImageAll 11378 } 11379 } 11380 title 11381 } 11382`,Ate=Va` 11383 fragment StatSubtopicAll on StatSubtopic { 11384 ...ContentfulSysId 11385 stat 11386 subtitle { 11387 json 11388 } 11389 } 11390`,Hc=Va` 11391 fragment MultiValuePropBlockAll on MultiValuePropBlock { 11392 ...ContentfulSysId 11393 mediaCollection { 11394 items { 11395 ... on Video { 11396 ...VideoAll 11397 } 11398 ... on Image { 11399 ...ImageAll 11400 } 11401 } 11402 } 11403 anchor 11404 desktopMediaAspectRatio 11405 mobileMediaAspectRatio 11406 mediaDirection 11407 autoplayCarousel 11408 title { 11409 json 11410 } 11411 multiValuePropBlockSubtitle: subtitle 11412 body { 11413 json 11414 } 11415 subtopicsCollection { 11416 items { 11417 __typename 11418 ... on ImageSubtopic { 11419 ...ImageSubtopicAll 11420 } 11421 ... on StatSubtopic { 11422 ...StatSubtopicAll 11423 } 11424 ... on TextSubtopic { 11425 ...TextSubtopicAll 11426 } 11427 } 11428 } 11429 callsToActionCollection(limit: 2) { 11430 items { 11431 ... on CallToAction { 11432 ...CallToActionAll 11433 } 11434 } 11435 } 11436 brandBackgroundColor 11437 backgroundColor 11438 fullHeight 11439 } 11440 ${G} 11441 ${mt} 11442 ${Le.all} 11443 ${nt.all} 11444 ${Tte} 11445 ${Ate} 11446 ${Mte} 11447`,Y7=Va` 11448 query MultiValuePropBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 11449 multiValuePropBlock(preview: $preview, locale: $locale, id: $id) { 11450 ...MultiValuePropBlockAll 11451 } 11452 } 11453 ${Hc} 11454`;var Tv=Va` 11455 fragment BlockTabsAll on BlockTabs { 11456 ...ContentfulSysId 11457 tabsCollection { 11458 items { 11459 ...ContentfulSysId 11460 tabText 11461 block { 11462 ... on MultiValuePropBlock { 11463 ...MultiValuePropBlockAll 11464 } 11465 } 11466 } 11467 } 11468 title { 11469 json 11470 links { 11471 entries { 11472 inline { 11473 ...ContentfulSysId 11474 ... on EmphasizedText { 11475 ...EmphasizedTextAll 11476 } 11477 } 11478 } 11479 } 11480 } 11481 subtitle { 11482 json 11483 } 11484 titleAlignment 11485 titleAlignmentMobile
11486 brandBackgroundColor 11487 backgroundColor 11488 fullHeight 11489 anchorId 11490 } 11491 ${G} 11492 ${ti} 11493 ${Hc} 11494`,X7=Va` 11495 query BlockTabs($preview: Boolean!, $locale: String!, $id: String!) { 11496 blockTabs(preview: $preview, locale: $locale, id: $id) { 11497 ...BlockTabsAll 11498 } 11499 } 11500 ${Tv} 11501`;var Av=R` 11502 fragment BreakAll on Break { 11503 ...ContentfulSysId 11504 brandType 11505 type 11506 media { 11507 ...ImageAll 11508 } 11509 brandTopColor 11510 topColor 11511 brandBottomColor 11512 bottomColor 11513 isOverlaid 11514 } 11515 ${Le.all} 11516 ${G} 11517`,J7=R` 11518 query BreakQuery($preview: Boolean!, $locale: String!, $id: String!) { 11519 break(preview: $preview, locale: $locale, id: $id) { 11520 ...BreakAll 11521 } 11522 } 11523 ${Av} 11524`;var Wg=T(P());var oH=T(P());var tH={desktop:512,mobile:553},_te={"16:9":{desktop:223,mobile:175},"3:2":{desktop:264,mobile:207},"1:1":{desktop:396,mobile:311}},wte={"9:16":288,"16:9":396,"3:2":396,"1:1":396},Z7=.8,eH=24,_v=e=>e==="9:16"?tH:_te[e],Gg=(e,t={})=>{let{height:o,width:n}=t,s=_v(e).desktop*Z7;if(!o||!n)return{desktop:Math.ceil(s),mobile:eH};let p=wte[e]*Z7*(o/n);return{desktop:Math.ceil(Math.min(s,p)),mobile:eH}},Dte=(e,t)=>{let o=[e.mobile,e.desktop],n=o.map(r=>`${r}px`).join(", ");return{sizeToUrl:o.map(r=>({size:`${r}w`,settings:{height:r,quality:t}})),sizes:`(max-width: ${Mo}px) ${n}`}},wv=e=>Dte(tH,e);var Vc=({cardItem:e,mediaAspectRatio:t,isVisible:o,shouldLoad:n,isResponsiveWidth:r,hideLinkArrow:s,isInsideHero:l,...p})=>{let d=e.media,{imageSource:u,imageAltText:y}=Qe(d.media),{imageSource:m}=Qe(d.mobileMedia),{getImageSources:g}=Ie(),f=(0,oH.useContext)(Se).elementLocation,{desktop:b,mobile:S}=_v(t),{desktopSettings:C,mobileSettings:I}=ot({desktopHeight:d.media?.height??0,mobileHeight:d.mobileMedia?.height,desktopDefaultHeight:b,mobileDefaultHeight:S,enableHighDpi:d.enableHighDpi,quality:d.quality}),k=$e({desktop:g(u,C),mobile:g(m??u,I)}),v=e.logo,A,w;if(v){let{imageSource:F,imageAltText:$}=Qe(v.media),{imageSource:B}=Qe(v.mobileMedia),{desktop:V,mobile:L}=Gg(t,{height:v.media?.height,width:v.media?.width}),{desktopSettings:z,mobileSettings:K}=ot({desktopHeight:v.media?.height??0,mobileHeight:v.mobileMedia?.height,desktopDefaultHeight:V,mobileDefaultHeight:L,enableHighDpi:v.enableHighDpi,quality:v.quality});A=$e({desktop:g(F,z),mobile:g(B??F,K)}),w=$}let D=e.slugReference?.slug,M=D?`/${D}`:e.url,_=()=>{M&&(ge({eventAction:"Click",eventCategory:"CarouselV3",eventLabel:`CarouselV3.ImageItem - ${M}`,context:{targetUrl:M,elementLocation:f}}),no(M)&&ke.flush())};return i(Un,{aspectRatio:t,body:e.body,subtitle:e.subtitle,title:e.title,url:M,imgSrcs:k,imgAltText:y,isVisible:o,shouldLoad:n,onClick:_,isResponsiveWidth:r,hideLinkArrow:s,isInsideHero:l,logoSrcs:A,logoAltText:w,...p},e.sys.id)};Vc.displayName="CarouselV3ImageItem";var nH=T(Ua());var aH=T(P());var Dv=({textItem:e})=>{let t=Vi(e?.description),o=Vi(e?.subtext),n=e.slugReference?.slug,r=n?`/${n}`:e.url,s=(0,aH.useContext)(Se).elementLocation,l=e.description?.json?(0,nH.documentToPlainTextString)(e.description.json):void 0;return i(ES,{description:t,subText:o,url:r,onClick:()=>{r&&ge({eventAction:"Click",eventCategory:"CarouselV3",eventLabel:`CarouselV3.TextItem - ${r}`,context:{targetUrl:r,elementLocation:s,elementText:l}})}},e.sys.id)};Dv.displayName="CarouselV3TextItem";var zg=T(P());var Oc=({cardItem:e,mediaAspectRatio:t,enableVideoControls:o,isVisible:n,shouldLoad:r,isResponsiveWidth:s,hideLinkArrow:l,isInsideHero:p,...d})=>{let[u,y]=(0,zg.useState)(!1),m=-1,g=(0,zg.useContext)(Se).elementLocation,f=e.media,{getBestBgImgSrc:b,getImageSources:S}=Ie(),C=b(f.thumbnailMedia?.url,{width:728}),{media:{videoSource:I},mobileMedia:{videoSource:k}}=jt(e.media),v=e.logo,A,w;if(v){let{imageSource:V,imageAltText:L}=Qe(v.media),{imageSource:z}=Qe(v.mobileMedia),{desktop:K,mobile:ye}=Gg(t,{height:v.media?.height,width:v.media?.width}),{desktopSettings:se,mobileSettings:ne}=ot({desktopHeight:v.media?.height??0,mobileHeight:v.mobileMedia?.height,desktopDefaultHeight:K,mobileDefaultHeight:ye,enableHighDpi:v.enableHighDpi,quality:v.quality});A=$e({desktop:S(V,se),mobile:S(z??V,ne)}),w=L}let D=V=>{if(I&&!u){if(f.autoPlay)return;let{fileName:L}=Dn(I);ge({eventAction:"Play",eventCategory:"Video",eventLabel:L,context:{elementLocation:g}}),y(!0)}},M=V=>{if(I&&!f.autoPlay){let{fileName:L}=Dn(I);ge({eventAction:"Pause",eventCategory:"Video",eventLabel:L,context:{elementLocation:g}})}},_=Yr({autoPlay:f.autoPlay,eventLabel:f.externalId??e.sys.id,getPreviousWatchTime:()=>m,setPreviousWatchTime:V=>{m=V},elementLocation:g}),F=e.slugReference?.slug,$=F?`/${F}`:e.url,B=()=>{$&&(ge({eventAction:"Click",eventCategory:"CarouselV3",eventLabel:`CarouselV3.VideoItem - ${$}`,context:{targetUrl:$,elementLocation:g}}),no($)&&ke.flush())};return i(Un,{aspectRatio:t,body:e.body,showVideoControls:o,subtitle:e.subtitle,title:e.title,url:$,videoSource:I,mobileVideoSource:k,onPlay:D,onPause:M,onTimeUpdate:_,isVisible:n,shouldLoad:r,onClick:B,posterSource:C,isResponsiveWidth:s,hideLinkArrow:l,isInsideHero:p,logoSrcs:A,logoAltText:w,...d},e.sys.id)};
11524Oc.displayName="CarouselV3VideoItem";var rH={text:R` 11525 fragment CarouselTextAll on CarouselText { 11526 ...ContentfulSysId 11527 description { 11528 json 11529 } 11530 subtext { 11531 json 11532 } 11533 slugReference { 11534 ...ContentfulSysId 11535 slug 11536 } 11537 url 11538 } 11539 ${G} 11540 `,card:R` 11541 fragment CarouselCardAll on CarouselCard { 11542 ...ContentfulSysId 11543 title 11544 subtitle 11545 body 11546 media { 11547 __typename 11548 ... on Video { 11549 ...VideoAll 11550 } 11551 ... on Image { 11552 ...ImageAll 11553 } 11554 } 11555 slugReference { 11556 ...ContentfulSysId 11557 slug 11558 } 11559 url 11560 } 11561 ${Le.all} 11562 ${nt.all} 11563 ${G} 11564 `},Pte={all:R` 11565 fragment CarouselV3All on CarouselV3 { 11566 ...ContentfulSysId 11567 layout 11568 enableOverflowDecoration 11569 mediaAspectRatio 11570 contentsCollection { 11571 items { 11572 ... on CarouselText { 11573 ...CarouselTextAll 11574 } 11575 ... on CarouselCard { 11576 ...CarouselCardAll 11577 } 11578 } 11579 } 11580 } 11581 ${rH.text} 11582 ${rH.card} 11583 `},Ug=R` 11584 query CarouselV3Query($preview: Boolean!, $locale: String!, $id: String!) { 11585 carouselV3(preview: $preview, locale: $locale, id: $id) { 11586 ...CarouselV3All 11587 } 11588 } 11589 ${Pte.all} 11590`;var Gc=e=>{let{isRTL:t}=(0,Wg.useContext)(Z),{getCurrentUrl:o}=(0,Wg.useContext)(Z),n=(0,Wg.useContext)(Se).elementLocation,r=new URL(o()),s=O.deploymentType!=="production"&&r.searchParams.get("pauseAnimations")==="true",l=Xr(O,"carousel"),{data:p}=ce(Ug,{variables:{id:e.sys.id}}),d=p?.carouselV3?.contentsCollection?.items?.[0]?.__typename;if(!p?.carouselV3)return null;let{contentsCollection:u,mediaAspectRatio:y}=p.carouselV3,m=u.items,g=d==="CarouselText"||p?.carouselV3?.layout==="Single slide view",f=p?.carouselV3.enableOverflowDecoration??l?.defaultCarouselOverflowDecoration??O.theme?.defaultCarouselOverflowDecoration;return i(fa,{isSingleView:g,autoPlay:!s,isRtl:t,enableOverflowDecoration:f,onSlideChange:(b,S)=>{ge({eventCategory:"Carousel",eventAction:S==="drag"?"Scroll":"Click",eventLabel:`slide_change: ${b}`,context:{elementLocation:n}})},children:m.map(b=>{if(b.__typename==="CarouselCard"){let S=b,C=S.media.__typename==="Video",I=S.media.autoPlay??!0;return C?i(Oc,{cardItem:S,mediaAspectRatio:y,enableVideoControls:C&&!I,isInsideHero:e.isInsideHero},S.sys.id):i(Vc,{cardItem:S,mediaAspectRatio:y,isInsideHero:e.isInsideHero},S.sys.id)}if(b.__typename==="CarouselText"){let S=b;return i(Dv,{textItem:S},S.sys.id)}return null})})};Gc.displayName="CarouselV3";var bt=T(P());var Nv="form_submit",Ev=O.isDeploymentTypeProd?"6LcIxP8sAAAAAEwO5rCTbP8YilRqP3ChpLPtPQhq":"6LdRmf4sAAAAAHl3BsZ9q3v48AdrHK2afAxVQ-I8",Get=O.isDeploymentTypeProd?"marketing-web-platform":"entapps-web-dev",iH=`https://www.google.com/recaptcha/enterprise.js?render=${Ev}`;function Nte(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Ete(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}var sH=(function(){function e(o){this.isSpeedy=o.speedy===void 0?!0:o.speedy,this.tags=[],this.ctr=0,this.nonce=o.nonce,this.key=o.key,this.container=o.container,this.before=null}var t=e.prototype;return t.insert=function(n){if(this.ctr%(this.isSpeedy?65e3:1)===0){var r=Ete(this),s;this.tags.length===0?s=this.before:s=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,s),this.tags.push(r)}var l=this.tags[this.tags.length-1];if(this.isSpeedy){var p=Nte(l);try{var d=n.charCodeAt(1)===105&&n.charCodeAt(0)===64;p.insertRule(n,d?0:p.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(n));this.ctr++}
vendor: 8,783 bytes, line 11590
11590,t.flush=function(){this.tags.forEach(function(n){return n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e})();function Rte(e){function t(j,Y,J,U,E){for(var X=0,W=0,ie=0,ee=0,be,Q,le=0,De=0,me,ve=me=be=0,Ce=0,_e=0,Pt=0,pt=0,lo=J.length,ho=lo-1,at,Me="",Fe="",jo="",po="",de;Ce<lo;){if(Q=J.charCodeAt(Ce),Ce===ho&&W+ee+ie+X!==0&&(W!==0&&(Q=W===47?10:47),ee=ie=X=0,lo++,ho++),W+ee+ie+X===0){if(Ce===ho&&(0<_e&&(Me=Me.replace(g,"")),0<Me.trim().length)){switch(Q){case 32:case 9:case 59:case 13:case 10:break;default:Me+=J.charAt(Ce)}Q=59}switch(Q){case 123:for(Me=Me.trim(),be=Me.charCodeAt(0),me=1,pt=++Ce;Ce<lo;){switch(Q=J.charCodeAt(Ce)){case 123:me++;break;case 125:me--;break;case 47:switch(Q=J.charCodeAt(Ce+1)){case 42:case 47:e:{for(ve=Ce+1;ve<ho;++ve)switch(J.charCodeAt(ve)){case 47:if(Q===42&&J.charCodeAt(ve-1)===42&&Ce+2!==ve){Ce=ve+1;break e}break;case 10:if(Q===47){Ce=ve+1;break e}}Ce=ve}}break;case 91:Q++;case 40:Q++;case 34:case 39:for(;Ce++<ho&&J.charCodeAt(Ce)!==Q;);}if(me===0)break;Ce++}switch(me=J.substring(pt,Ce),be===0&&(be=(Me=Me.replace(m,"").trim()).charCodeAt(0)),be){case 64:switch(0<_e&&(Me=Me.replace(g,"")),Q=Me.charCodeAt(1),Q){case 100:case 109:case 115:case 45:_e=Y;break;default:_e=ye}if(me=t(Y,_e,me,Q,E+1),pt=me.length,0<ne&&(_e=o(ye,Me,Pt),de=p(3,me,_e,Y,L,V,pt,Q,E,U),Me=_e.join(""),de!==void 0&&(pt=(me=de.trim()).length)===0&&(Q=0,me="")),0<pt)switch(Q){case 115:Me=Me.replace(D,l);case 100:case 109:case 45:me=Me+"{"+me+"}";break;case 107:Me=Me.replace(k,"$1 $2"),me=Me+"{"+me+"}",me=K===1||K===2&&s("@"+me,3)?"@-webkit-"+me+"@"+me:"@"+me;break;default:me=Me+me,U===112&&(me=(Fe+=me,""))}else me="";break;default:me=t(Y,o(Y,Me,Pt),me,U,E+1)}jo+=me,me=Pt=_e=ve=be=0,Me="",Q=J.charCodeAt(++Ce);break;case 125:case 59:if(Me=(0<_e?Me.replace(g,""):Me).trim(),1<(pt=Me.length))switch(ve===0&&(be=Me.charCodeAt(0),be===45||96<be&&123>be)&&(pt=(Me=Me.replace(" ",":")).length),0<ne&&(de=p(1,Me,Y,j,L,V,Fe.length,U,E,U))!==void 0&&(pt=(Me=de.trim()).length)===0&&(Me="\0\0"),be=Me.charCodeAt(0),Q=Me.charCodeAt(1),be){case 0:break;case 64:if(Q===105||Q===99){po+=Me+J.charAt(Ce);break}default:Me.charCodeAt(pt-1)!==58&&(Fe+=r(Me,be,Q,Me.charCodeAt(2)))}Pt=_e=ve=be=0,Me="",Q=J.charCodeAt(++Ce)}}switch(Q){case 13:case 10:W===47?W=0:1+be===0&&U!==107&&0<Me.length&&(_e=1,Me+="\0"),0<ne*pe&&p(0,Me,Y,j,L,V,Fe.length,U,E,U),V=1,L++;break;case 59:case 125:if(W+ee+ie+X===0){V++;break}default:switch(V++,at=J.charAt(Ce),Q){case 9:case 32:if(ee+X+W===0)switch(le){case 44:case 58:case 9:case 32:at="";break;default:Q!==32&&(at=" ")}break;case 0:at="\\0";break;case 12:at="\\f";break;case 11:at="\\v";break;case 38:ee+W+X===0&&(_e=Pt=1,at="\f"+at);break;case 108:if(ee+W+X+z===0&&0<ve)switch(Ce-ve){case 2:le===112&&J.charCodeAt(Ce-3)===58&&(z=le);case 8:De===111&&(z=De)}break;case 58:ee+W+X===0&&(ve=Ce);break;case 44:W+ie+ee+X===0&&(_e=1,at+="\r");break;case 34:case 39:W===0&&(ee=ee===Q?0:ee===0?Q:ee);break;case 91:ee+W+ie===0&&X++;break;case 93:ee+W+ie===0&&X--;break;case 41:ee+W+X===0&&ie--;break;case 40:if(ee+W+X===0){if(be===0)switch(2*le+3*De){case 533:break;default:be=1}ie++}break;case 64:W+ie+ee+X+ve+me===0&&(me=1);break;case 42:case 47:if(!(0<ee+X+ie))switch(W){case 0:switch(2*Q+3*J.charCodeAt(Ce+1)){case 235:W=47;break;case 220:pt=Ce,W=42}break;case 42:Q===47&&le===42&&pt+2!==Ce&&(J.charCodeAt(pt+2)===33&&(Fe+=J.substring(pt,Ce+1)),at="",W=0)}}W===0&&(Me+=at)}De=le,le=Q,Ce++}if(pt=Fe.length,0<pt){if(_e=Y,0<ne&&(de=p(2,Fe,_e,j,L,V,pt,U,E,U),de!==void 0&&(Fe=de).length===0))return po+Fe+jo;if(Fe=_e.join(",")+"{"+Fe+"}",K*z!==0){switch(K!==2||s(Fe,2)||(z=0),z){case 111:Fe=Fe.replace(A,":-moz-$1")+Fe;break;case 112:Fe=Fe.replace(v,"::-webkit-input-$1")+Fe.replace(v,"::-moz-$1")+Fe.replace(v,":-ms-input-$1")+Fe}z=0}}return po+Fe+jo}function o(j,Y,J){var U=Y.trim().split(C);Y=U;var E=U.length,X=j.length;switch(X){case 0:case 1:var W=0;for(j=X===0?"":j[0]+" ";W<E;++W)Y[W]=n(j,Y[W],J).trim();break;default:var ie=W=0;for(Y=[];W<E;++W)for(var ee=0;ee<X;++ee)Y[ie++]=n(j[ee]+" ",U[W],J).trim()}return Y}function n(j,Y,J){var U=Y.charCodeAt(0);switch(33>U&&(U=(Y=Y.trim()).charCodeAt(0)),U){case 38:return Y.replace(I,"$1"+j.trim());case 58:return j.trim()+Y.replace(I,"$1"+j.trim());default:if(0<1*J&&0<Y.indexOf("\f"))return Y.replace(I,(j.charCodeAt(0)===58?"":"$1")+j.trim())}return j+Y}function r(j,Y,J,U){var E=j+";",X=2*Y+3*J+4*U;if(X===944){j=E.indexOf(":",9)+1;var W=E.substring(j,E.length-1).trim();return W=E.substring(0,j).trim()+W+";",K===1||K===2&&s(W,1)?"-webkit-"+W+W:W}if(K===0||K===2&&!s(E,1))return E;switch(X){case 1015:return E.charCodeAt(10)===97?"-webkit-"+E+E:E;case 951:return E.charCodeAt(3)===116?"-webkit-"+E+E:E;case 963:return E.charCodeAt(5)===110?"-webkit-"+E+E:E;case 1009:if(E.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+E+E;case 978:return"-webkit-"+E+"-moz-"+E+E;case 1019:case 983:return"-webkit-"+E+"-moz-"+E+"-ms-"+E+E;case 883:if(E.charCodeAt(8)===45)return"-webkit-"+E+E;if(0<E.indexOf("image-set(",11))return E.replace(B,"$1-webkit-$2")+E;break;case 932:if(E.charCodeAt(4)===45)switch(E.charCodeAt(5)){case 103:return"-webkit-box-"+E.replace("-grow","")+"-webkit-"+E+"-ms-"+E.replace("grow","positive")+E;case 115:return"-webkit-"+E+"-ms-"+E.replace("shrink","negative")+E;case 98:return"-webkit-"+E+"-ms-"+E.replace("basis","preferred-size")+E}return"-webkit-"+E+"-ms-"+E+E;case 964:return"-webkit-"+E+"-ms-flex-"+E+E;case 1023:if(E.charCodeAt(8)!==99)break;return W=E.substring(E.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+W+"-webkit-"+E+"-ms-flex-pack"+W+E;case 1005:return b.test(E)?E.replace(f,":-webkit-")+E.replace(f,":-moz-")+E:E;case 1e3:switch(W=E.substring(13).trim(),Y=W.indexOf("-")+1,W.charCodeAt(0)+W.charCodeAt(Y)){case 226:W=E.replace(w,"tb");break;case 232:W=E.replace(w,"tb-rl");break;case 220:W=E.replace(w,"lr");break;default:return E}return"-webkit-"+E+"-ms-"+W+E;case 1017:if(E.indexOf("sticky",9)===-1)break;case 975:switch(Y=(E=j).length-10,W=(E.charCodeAt(Y)===33?E.substring(0,Y):E).substring(j.indexOf(":",7)+1).trim(),X=W.charCodeAt(0)+(W.charCodeAt(7)|0)){case 203:if(111>W.charCodeAt(8))break;case 115:E=E.replace(W,"-webkit-"+W)+";"+E;break;case 207:case 102:E=E.replace(W,"-webkit-"+(102<X?"inline-":"")+"box")+";"+E.replace(W,"-webkit-"+W)+";"+E.replace(W,"-ms-"+W+"box")+";"+E}return E+";";case 938:if(E.charCodeAt(5)===45)switch(E.charCodeAt(6)){case 105:return W=E.replace("-items",""),"-webkit-"+E+"-webkit-box-"+W+"-ms-flex-"+W+E;case 115:return"-webkit-"+E+"-ms-flex-item-"+E.replace(_,"")+E;default:return"-webkit-"+E+"-ms-flex-line-pack"+E.replace("align-content","").replace(_,"")+E}break;case 973:case 989:if(E.charCodeAt(3)!==45||E.charCodeAt(4)===122)break;case 931:case 953:if($.test(j)===!0)return(W=j.substring(j.indexOf(":")+1)).charCodeAt(0)===115?r(j.replace("stretch","fill-available"),Y,J,U).replace(":fill-available",":stretch"):E.replace(W,"-webkit-"+W)+E.replace(W,"-moz-"+W.replace("fill-",""))+E;break;case 962:if(E="-webkit-"+E+(E.charCodeAt(5)===102?"-ms-"+E:"")+E,J+U===211&&E.charCodeAt(13)===105&&0<E.indexOf("transform",10))return E.substring(0,E.indexOf(";",27)+1).replace(S,"$1-webkit-$2")+E}return E}function s(j,Y){var J=j.indexOf(Y===1?":":"{"),U=j.substring(0,Y!==3?J:10);return J=j.substring(J+1,j.length-1),oe(Y!==2?U:U.replace(F,"$1"),J,Y)}function l(j,Y){var J=r(Y,Y.charCodeAt(0),Y.charCodeAt(1),Y.charCodeAt(2));return J!==Y+";"?J.replace(M," or ($1)").substring(4):"("+Y+")"}function p(j,Y,J,U,E,X,W,ie,ee,be){for(var Q=0,le=Y,De;Q<ne;++Q)switch(De=se[Q].call(y,j,le,J,U,E,X,W,ie,ee,be)){case void 0:case!1:case!0:case null:break;default:le=De}if(le!==Y)return le}function d(j){switch(j){case void 0:case null:ne=se.length=0;break;default:if(typeof j=="function")se[ne++]=j;else if(typeof j=="object")for(var Y=0,J=j.length;Y<J;++Y)d(j[Y]);else pe=!!j|0}return d}function u(j){return j=j.prefix,j!==void 0&&(oe=null,j?typeof j!="function"?K=1:(K=2,oe=j):K=0),u}function y(j,Y){var J=j;if(33>J.charCodeAt(0)&&(J=J.trim()),ae=J,J=[ae],0<ne){var U=p(-1,Y,J,J,L,V,0,0,0,0);U!==void 0&&typeof U=="string"&&(Y=U)}var E=t(ye,J,Y,0,0);return 0<ne&&(U=p(-2,E,J,J,L,V,E.length,0,0,0),U!==void 0&&(E=U)),ae="",z=0,V=L=1,E}var m=/^\0+/g,g=/[\0\r\f]/g,f=/: */g,b=/zoo|gra/,S=/([,: ])(transform)/g,C=/,\r+?/g,I=/([\t\r\n ])*\f?&/g,k=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,A=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,D=/\(\s*(.*)\s*\)/g,M=/([\s\S]*?);/g,_=/-self|flex-/g,F=/[^]*?(:[rp][el]a[\w-]+)[^]*/,$=/stretch|:\s*\w+\-(?:conte|avail)/,B=/([^-])(image-set\()/,V=1,L=1,z=0,K=1,ye=[],se=[],ne=0,oe=null,pe=0,ae="";return y.use=d,y.set=u,e!==void 0&&u(e),y}var lH=Rte;var Rv="/*|*/",Fte=Rv+"}";function Bte(e){e&&Qg.current.insert(e+"}")}var Qg={current:null}
11590,$te=function(t,o,n,r,s,l,p,d,u,y){switch(t){case 1:{switch(o.charCodeAt(0)){case 64:return Qg.current.insert(o+";"),"";case 108:if(o.charCodeAt(2)===98)return""}break}case 2:{if(d===0)return o+Rv;break}case 3:switch(d){case 102:case 112:return Qg.current.insert(n[0]+o),"";default:return o+(y===0?Rv:"")}case-2:o.split(Fte).forEach(Bte)}},Lte=function(t){t===void 0&&(t={});var o=t.key||"css",n;t.prefix!==void 0&&(n={prefix:t.prefix});var r=new lH(n),s={},l;{l=t.container||document.head;var p=document.querySelectorAll("style[data-emotion-"+o+"]");Array.prototype.forEach.call(p,function(g){var f=g.getAttribute("data-emotion-"+o);f.split(" ").forEach(function(b){s[b]=!0}),g.parentNode!==l&&l.appendChild(g)})}var d;if(r.use(t.stylisPlugins)($te),d=function(f,b,S,C){var I=b.name;if(Qg.current=S,0)var k;r(f,b.styles),C&&(m.inserted[I]=!0)},0)var u,y;var m={key:o,sheet:new sH({key:o,container:l,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:s,registered:{},insert:d};return m},pH=Lte;function Hte(e){var t={};return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var cH=Hte;var Vte=/[A-Z]|^ms/g,Ote=/_EMO_([^_]+?)_([^]*?)_EMO_/g,mH=function(t){return t.charCodeAt(1)===45},dH=function(t){return t!=null&&typeof t!="boolean"},Fv=cH(function(e){return mH(e)?e:e.replace(Vte,"-$&").toLowerCase()}),uH=function(t,o){switch(t){case"animation":case"animationName":if(typeof o=="string")return o.replace(Ote,function(n,r,s){return Ea={name:r,styles:s,next:Ea},r})}return lk[t]!==1&&!mH(t)&&typeof o=="number"&&o!==0?o+"px":o};function zc(e,t,o,n){if(o==null)return"";if(o.__emotion_styles!==void 0)return o;switch(typeof o){case"boolean":return"";case"object":{if(o.anim===1)return Ea={name:o.name,styles:o.styles,next:Ea},o.name;if(o.styles!==void 0){var r=o.next;if(r!==void 0)for(;r!==void 0;)Ea={name:r.name,styles:r.styles,next:Ea},r=r.next;var s=o.styles+";";return s}return Gte(e,t,o)}case"function":{if(e!==void 0){var l=Ea,p=o(e);return Ea=l,zc(e,t,p,n)}break}case"string":if(0)var d,u;break}if(t==null)return o;var y=t[o];return y!==void 0&&!n?y:o}function Gte(e,t,o){var n="";if(Array.isArray(o))for(var r=0;r<o.length;r++)n+=zc(e,t,o[r],!1);else for(var s in o){var l=o[s];if(typeof l!="object")t!=null&&t[l]!==void 0?n+=s+"{"+t[l]+"}":dH(l)&&(n+=Fv(s)+":"+uH(s,l)+";");else if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var p=0;p<l.length;p++)dH(l[p])&&(n+=Fv(s)+":"+uH(s,l[p])+";");else{var d=zc(e,t,l,!1);switch(s){case"animation":case"animationName":{n+=Fv(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var yH=/label:\s*([^\s;\n{]+)\s*;/g;var Ea,qg=function(t,o,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var r=!0,s="";Ea=void 0;var l=t[0];l==null||l.raw===void 0?(r=!1,s+=zc(n,o,l,!1)):s+=l[0];for(var p=1;p<t.length;p++)s+=zc(n,o,t[p],s.charCodeAt(s.length-1)===46),r&&(s+=l[p]);var d;yH.lastIndex=0;for(var u="",y;(y=yH.exec(s))!==null;)u+="-"+y[1];var m=sk(s)+u;return{name:m,styles:s,next:Ea}};var zte=!0;function Bv(e,t,o){var n="";return o.split(" ").forEach(function(r){e[r]!==void 0?t.push(e[r]):n+=r+" "}),n}var gH=function(t,o,n){var r=t.key+"-"+o.name;if((n===!1||zte===!1&&t.compat!==void 0)&&t.registered[r]===void 0&&(t.registered[r]=o.styles),t.inserted[o.name]===void 0){var s=o;do{var l=t.insert("."+r,s,t.sheet,!0);s=s.next}while(s!==void 0)}};function fH(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function bH(e,t,o){var n=[],r=Bv(e,n,o);return n.length<2?o:r+t(n)}var Ute=function(t){var o=pH(t);o.sheet.speedy=function(p){this.isSpeedy=p},o.compat=!0;var n=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];var m=qg(u,o.registered,void 0);return gH(o,m,!1),o.key+"-"+m.name},r=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];var m=qg(u,o.registered),g="animation-"+m.name;return fH(o,{name:m.name,styles:"@keyframes "+g+"{"+m.styles+"}"}),g},s=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];var m=qg(u,o.registered);fH(o,m)},l=function(){for(var d=arguments.length,u=new Array(d),y=0;y<d;y++)u[y]=arguments[y];return bH(o.registered,n,Wte(u))};return{css:n,cx:l,injectGlobal:s,keyframes:r,hydrate:function(d){d.forEach(function(u){o.inserted[u]=!0})},flush:function(){o.registered={},o.inserted={},o.sheet.flush()},sheet:o.sheet,cache:o,getRegisteredStyles:Bv.bind(null,o.registered),merge:bH.bind(null,o.registered,n)}},Wte=function e(t){for(var o="",n=0;n<t.length;n++){var r=t[n];if(r!=null){var s=void 0;switch(typeof r){case"boolean":break;case"object":{if(Array.isArray(r))s=e(r);else{s="";for(var l in r)r[l]&&l&&(s&&(s+=" "),s+=l)}break}default:s=r}s&&(o&&(o+=" "),o+=s)}}return o},SH=Ute;var Ra=SH(),stt=Ra.flush,ltt=Ra.hydrate,ptt=Ra.cx,ctt=Ra.merge,dtt=Ra.getRegisteredStyles,hH=Ra.injectGlobal,utt=Ra.keyframes,ytt=Ra.css,mtt=Ra.sheet,gtt=Ra.cache;var CH=T(P());var Qte=Jk` 11591 .grecaptcha-badge { 11592 visibility: hidden; 11593 }
11594`,xH=({nonce:e,enableRecaptcha:t,recaptchaClientRef:o,onError:n})=>{(0,CH.useEffect)(()=>{if(!t)return;hH(Qte);let r={type:"text/javascript",async:"true",defer:"true"};e&&(r.nonce=e);let s=()=>{o.current||(o.current={run:async l=>{try{return await window.grecaptcha.enterprise.execute(Ev,{action:l})}catch(p){let d=Ft(p);throw n?.(d.message),d}}})};ta("google-recaptcha",iH,()=>{window.grecaptcha?.enterprise.ready(()=>{s()})},r)},[])};var _l=T(rg());var qte=128,Kte=/^[A-Za-z0-9+/=]+$/,vH=e=>{let t=e?.trim()??"";if(t.length===0)return;let[o=""]=t.split(":");return PM(o)?o:void 0},IH=e=>{let t=e?.trim()??"";if(t.length!==0)return t.length<=qte&&Kte.test(t)?t:void 0};var MH={US:"United States",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Aland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barth\xE9lemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, the Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Cura\xE7ao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"Korea, Democratic People's Republic of",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PS:"Palestine",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten (Dutch part)",SY:"Syrian Arab Republic",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},jte=Object.entries(MH).sort((e,t)=>
11594e[0]==="US"?-1:t[0]==="US"?1:e[1].localeCompare(t[1])),kH=Object.fromEntries(jte),TH={Countries:{defaultPlaceholder:"Country",data:Object.values(kH).map(e=>({key:e,value:e}))},"Countries (submit country code)":{defaultPlaceholder:"Country/Region",data:Object.keys(kH).map(e=>({key:MH[e],value:e}))}};function AH(e,t){for(let o of e.rowsCollection.items)for(let n of o.fieldsCollection.items)if(n.name===t)return n}var Yte=new Map(Object.entries({utmSourceFieldName:"utm_source",utmMediumFieldName:"utm_medium",utmCampaignFieldName:"utm_campaign",utmContentFieldName:"utm_content",utmTermFieldName:"utm_term",gclidFieldName:"gclid"})),Xte=new Map(Object.entries({blizzardClientIdFieldName:{cookie:hb.CLIENT_ID,parse:vH},blizzardWebSessionIdFieldName:{cookie:hb.WEB_SESSION_ID,parse:IH}})),_H=(e,t,o)=>{let n=e?.items.find(p=>p.__typename==="ExtraParametersFormFeature");if(!n)return;let{searchParams:r,pathname:s}=new URL(t),l={};for(let[p,d]of Object.entries(n)){if(!d)continue;if(p==="urlPathFieldName"){l[d]=s;continue}let u=Xte.get(p);if(u){let m=u.parse(o?.(u.cookie));m!==void 0&&(l[d]=m);continue}let y=Yte.get(p);y&&(l[d]=r.get(y)??"")}return l},wH=(e,t)=>{let o=new Map,n=new URL(e),r=new URLSearchParams(n.search);r.forEach((l,p)=>{if(p.startsWith("form_")){let d=p.replace("form_",""),u=r.getAll(p);o.set(d,u.length>1?u:u[0])}});let s=new Map;for(let[l,p]of o){let d=t(l);if(!(!d||!d.name))switch(d.__typename){case"DropdownField":s.set(d.name,p);break;case"MultiselectDropdownField":{let y=(Array.isArray(p)?p:[p]).map(m=>{let g=d.optionsCollection?.items.find(f=>f.key===m)?.value;if(g)return{id:m,name:g}}).filter(Boolean);s.set(d.name,y);break}case"InputField":{let u=Array.isArray(p)?p[0]:p;switch(d.type){case"Checkbox":{s.set(d.name,u==="true");break}case"Number":{s.set(d.name,u);break}default:{s.set(d.name,u);break}}break}case"PresetDropdownField":{s.set(d.name,p);break}default:{console.warn(`Unsupported field type: ${d.__typename} for url form parsing.`);break}}}return s};var Jte=c` 11595 width: 100%; 11596 display: inline-flex; 11597 justify-content: center; 11598 11599 ${Da.over768_desktop_small} { 11600 width: auto; 11601 } 11602`,$v=({contentfulInputField:e,submitText:t,submitSuccessText:o,submitTextDataset:n,submitProps:r,initialValue:s})=>{let l=e.__typename,p=ln();if(l==="InputField"){let u=Re({entryId:e.sys.id,fieldIds:["richLabel","label","error","helpText","contentfulDescription"]}),y=e.error?(0,_l.documentToReactComponents)(e.error.json):null,m=e.richLabel?e9(e.richLabel):null,g=(e.type!=="Hidden"?s:void 0)??e.initialValue,f={id:e.name,name:e.name,type:e.type,validation:e.validation,label:e.label,required:e.required,placeholder:e.placeholder,readOnly:e.readOnly,maxLength:e.maxLength,shouldResetToInitial:e.shouldResetToInitial,helpText:e.helpText,minValue:e.minValue,maxValue:e.maxValue,dataset:u.contentfulDescriptionDataset,...u,error:y,richLabel:m,initialValue:g};if(p==="specs"){if(e.type==="Text"||e.type==="Number"||e.type==="Date")return i(void 0,{...f,type:e.type},e.sys.id);if(e.type==="Checkbox")return i(void 0,{...f},e.sys.id)}return i(iy,{...f},e.sys.id)}let d=Re({entryId:e.sys.id,fieldIds:["label","error","helpText","contentfulDescription"]});if(l==="DropdownField"){let u=e.optionsCollection?.items??[],y=e.initialOption?.value,m=s??y,g=u.map(({value:S})=>S??""),f=typeof m=="string"&&g.includes(m)?m:y,b=e.error?(0,_l.documentToReactComponents)(e.error.json):null;return i(Ep,{id:e.name,name:e.name,label:e.label,initialValue:f,allValues:g,error:b,shouldResetToInitial:e.shouldResetToInitial,helpText:e.helpText,required:e.required,placeholder:e.placeholder,...Ht(d,"contentfulDescriptionDataset"),fieldDataset:d.contentfulDescriptionDataset,children:u.map(({key:S,value:C})=>i("option",{value:C||S,children:S},S))},e.sys.id)}if(l==="MultiselectDropdownField"){let u=e.optionsCollection?.items??[],y=e.error?(0,_l.documentToReactComponents)(e.error.json):null,m=Array.isArray(s)&&s.every(f=>typeof f=="object")?s:void 0,g=u.map(({key:f,value:b})=>!b||!f?null:{name:b,id:f}).filter(Boolean);return i(py,{name:e.name,label:e.label,showCheckbox:!0,options:g,required:e.required,placeholder:e.placeholder,error:y,...Ht(d,"contentfulDescriptionDataset"),dataset:
11602d.contentfulDescriptionDataset,initialValues:m})}if(l==="PresetDropdownField"){let u=e.preset?TH[e.preset]:void 0;if(!u)return null;let y=u.data.map(({value:g})=>g),m=e.error?(0,_l.documentToReactComponents)(e.error.json):null;return i(Ep,{id:e.name,error:m,placeholder:e.placeholder??u.defaultPlaceholder,...Ht(d,"contentfulDescriptionDataset"),name:e.name,label:e.label,fieldDataset:d.contentfulDescriptionDataset,allValues:y,initialValue:s??e.initialValue,required:e.required,children:u.data.map(({key:g,value:f})=>i("option",{value:f,children:g},g))},e.sys.id)}if(l==="RadioSelectField"){let u=e.optionsCollection?.items?.map(({key:b,value:S})=>({key:b,value:S}))??[],y=e.initialOption?.value,m=u.map(({value:b})=>b??""),g=typeof y=="string"&&m.includes(y)?y:void 0,f=e.error?(0,_l.documentToReactComponents)(e.error.json):null;return i(jB,{error:f,helpText:e.helpText,initialValue:g,label:e.label,name:e.name,options:u,required:e.required,shouldResetToInitial:e.shouldResetToInitial},e.sys.id)}if(l==="SubmitButton"&&r){let{handleSubmit:u,disabled:y,loading:m,submitSuccess:g}=r;return i("div",{className:Jte,children:i(eo,{type:"Primary",size:"Large",onClick:u,disabled:y,loading:m,buttonTextDataset:n,children:g?o??t:t})})}return null};var Zte=c` 11603 opacity: 0; 11604 visibility: hidden; 11605`,eoe=4e3,Lv="mwp-form-data",DH=({rowAsText:e,sys:t,fieldsCollection:o,fieldRender:n})=>{let{rowAsTextDataset:r}=Re({entryId:t.id,fieldIds:["rowAsText"]});return e?i(ry,{dataset:r,children:Na(e)},t.id):i(ry,{children:o.items.map(n)},t.id)},toe=(e,t,o,n,r)=>l=>i(ue,{children:e.items.map(p=>Xl(DH,{...p,key:p.sys.id,fieldRender:d=>i($v,{contentfulInputField:d,submitProps:l,submitText:t,submitSuccessText:o,submitTextDataset:n,initialValue:r?.[d.name]},d.sys.id)}))}),PH=({rowsCollection:e,additionalFeaturesCollection:t,analytics:o,redirectUrl:n,submitText:r,submitSuccessText:s,endpoint:l,responseType:p,redirectTimeout:d=eoe,extraParams:u,callback:y,enableRecaptcha:m=O.enableRecaptchaOnForms,sys:g,persistFieldEdits:f,prepopulatePerQueryParams:b,onFormInit:S,onValueChange:C,renderErrorMessage:I,...k})=>{let[v,A]=(0,bt.useState)({}),w=(0,bt.useRef)({}),{userLocation:D,currentLocale:M,getCurrentUrl:_,cookieManager:F}=(0,bt.useContext)(Z),$=D.country;(0,bt.useEffect)(()=>{let me={};if(f){let ve=JSON.parse(us(Lv)??"{}");ve[g.id]&&aa(me,ve[g.id]),w.current[g.id]=me}if(b){let ve=_(),Ce=wH(ve,_e=>AH({rowsCollection:e},_e));for(let[_e,Pt]of Ce)me[_e]=Pt}A(me),S?.(me)},[f,g.id,_,e,b,S]);let B=(0,bt.useContext)(Se).elementLocation,V=(0,bt.useRef)(!1),L=(0,bt.useRef)();xH({recaptchaClientRef:L,enableRecaptcha:m,onError:me=>{Be({component:"Form",error:me,message:"reCaptcha error",action:"Validate",context:{elementLocation:B}})}});let{formatMessage:z}=(0,bt.useContext)(We),K=z({id:"formApiResponse400ErrorMessage",defaultMessage:"400 Bad Request"}),ye=z({id:"formApiResponse500ErrorMessage",defaultMessage:"500 Internal Server"}),se=z({id:"formInvalidErrorMessage",defaultMessage:"Please updates required fields"}),ne=z({id:"formRequiredFieldsMessage",defaultMessage:"Fields marked with * are required."});I=I??(me=>me===400?K:ye);let[oe,pe]=(0,bt.useState)(void 0),ae=(0,bt.useRef)(null),{submitTextDataset:j}=Re({entryId:g.id,fieldIds:["submitText"]});(0,bt.useEffect)(()=>{oe&&ae.current&&ae.current.click()},[oe]);let Y=(0,bt.useCallback)(async(me,ve)=>{try{o&&ge({eventCategory:"Form",eventAction:"FormSubmit",eventLabel:o.label,context:{elementLocation:B}}),y&&y(ve,me);let Ce=n;try{if(p==="Downloadable Resource URL"){let _e=await me.json();pe(_e.url)}else p==="Redirect URL"&&!n&&(Ce=(await me.json()).url??"")}catch{pe(void 0)}Ce&&setTimeout(()=>{window.location.assign(Ce)},d),f&&(delete w.current[g.id],yi(Lv,JSON.stringify(w.current)))}catch(Ce){Be({component:"Form",error:Ce,context:{elementLocation:B}})}},[o,B,y,n,f,p,d,g.id]),J=(0,bt.useCallback)((me,ve,Ce)=>{y&&y(ve,Ce),Be({component:"Form",error:me,message:"Form submit failed",action:"Submit",context:{elementLocation:B,elementText:r,targetUrl:l}})},[y,B,l,r]),U=(0,bt.useMemo)(()=>e.items.flatMap(me=>me.fieldsCollection.items).some(({__typename:me})=>me==="SubmitButton"),[e]),E=v,X=JSON.stringify(e),W=JSON.stringify(j),ie=JSON.stringify(E),ee=(0,bt.useMemo)(()=>
11605{if(U)return toe(e,r,s,j,E)},[U,X,r,s,W,ie]),be=(0,bt.useMemo)(()=>e.items.map(me=>Xl(DH,{...me,key:me.sys.id,fieldRender:ve=>i($v,{contentfulInputField:ve,submitText:r,submitSuccessText:s,initialValue:E?.[ve.name]},ve.sys.id)})),[E,e.items,s,r]),Q=(0,bt.useCallback)(async()=>{if(!L.current){let ve=new Error("reCaptcha client does not exist");return Be({component:"Form",message:ve.message,action:"Submit",error:ve,context:{elementLocation:B}}),{}}return{recaptchaToken:await L.current.run(Nv),recaptchaAction:Nv}},[B]),le=(0,bt.useCallback)(Bk({delay:1e3},(me,ve,Ce,_e)=>{_e||(ve&&(!V.current&&o&&(ge({eventCategory:"Form",eventAction:"FormInitialInteraction",eventLabel:o.label,context:{elementLocation:B}}),V.current=!0),ge({eventCategory:"FormField",eventAction:"Change",eventLabel:ve,context:{elementLocation:B}})),C?.(me,ve,Ce),!(!f||Ce)&&(w.current[g.id]=me,yi(Lv,JSON.stringify({...w.current}))))}),[g.id]),De=(0,bt.useCallback)(async()=>{let me=_(),ve=_H(t,me,_e=>F.getCookie(_e)),Ce={};if(m)try{Ce=await Q()}catch{Ce={}}return{...ve,...u,locale:M,country:$,...Ce}},[t,u,_,F,M,$,m,Q]);return x(ue,{children:[i(sh,{onSubmitSuccess:Y,onSubmitFailure:J,submitText:r,submitSuccessText:s,submitTextDataset:j,endpoint:l,formChildrenRenderer:ee,extraParamsAsync:De,onFormBodyChange:le,renderErrorMessage:I,onInvalidClientSideSubmissionMessage:se,renderErrorDetails:O.isLocal,formRequiredFieldsMessage:ne,...k,children:be}),p==="Downloadable Resource URL"&&i("a",{"data-testid":"test-anchor-download",ref:ae,href:oe,download:!0,className:Zte,children:"Hidden trigger anchor"})]})};var ooe=R` 11606 fragment FormRowAll on FormRow { 11607 ...ContentfulSysId 11608 rowAsText { 11609 json 11610 } 11611 fieldsCollection(limit: 3) { 11612 items { 11613 __typename 11614 ... on InputField { 11615 ...ContentfulSysId 11616 name 11617 type 11618 label 11619 richLabel { 11620 json 11621 } 11622 initialValue 11623 shouldResetToInitial 11624 placeholder 11625 required 11626 validation 11627 helpText 11628 error { 11629 json 11630 } 11631 maxLength 11632 minValue 11633 maxValue 11634 } 11635 ... on SubmitButton { 11636 ...ContentfulSysId 11637 name 11638 } 11639 ... on PresetDropdownField { 11640 ...ContentfulSysId 11641 name 11642 label 11643 preset 11644 placeholder 11645 required 11646 helpText 11647 error { 11648 json 11649 } 11650 } 11651 ... on DropdownField { 11652 ...ContentfulSysId 11653 name 11654 label 11655 placeholder 11656 required 11657 helpText 11658 optionsCollection { 11659 items { 11660 ... on DropdownFieldOption { 11661 ...ContentfulSysId 11662 key 11663 value 11664 } 11665 } 11666 } 11667 initialOption { 11668 ... on DropdownFieldOption { 11669 ...ContentfulSysId 11670 key 11671 value 11672 } 11673 } 11674 shouldResetToInitial 11675 error { 11676 json 11677 } 11678 } 11679 ... on MultiselectDropdownField { 11680 ...ContentfulSysId 11681 name 11682 label 11683 placeholder 11684 required 11685 helpText 11686 optionsCollection { 11687 items { 11688 ... on DropdownFieldOption { 11689 ...ContentfulSysId 11690 key 11691 value 11692 } 11693 } 11694 } 11695 error { 11696 json 11697 } 11698 } 11699 ... on RadioSelectField { 11700 ...ContentfulSysId 11701 name 11702 helpText 11703 label 11704 required 11705 error { 11706 json 11707 } 11708 optionsCollection { 11709 items { 11710 ... on DropdownFieldOption { 11711 ...ContentfulSysId 11712 key 11713 value 11714 } 11715 } 11716 } 11717 initialOption { 11718 ... on DropdownFieldOption { 11719 ...ContentfulSysId 11720 key 11721 value 11722 } 11723 } 11724 shouldResetToInitial 11725 } 11726 } 11727 } 11728 } 11729 ${G} 11730`,noe=R` 11731 fragment ExtraParametersFormFeatureAll on ExtraParametersFormFeature { 11732 ...ContentfulSysId 11733 utmCampaignFieldName 11734 utmContentFieldName 11735 utmMediumFieldName 11736 utmSourceFieldName 11737 utmTermFieldName 11738 urlPathFieldName 11739 gclidFieldName 11740 blizzardClientIdFieldName 11741 blizzardWebSessionIdFieldName 11742 } 11743 ${G} 11744`,aoe={all:R` 11745 fragment FormAll on Form { 11746 ...ContentfulSysId 11747 endpoint 11748 redirectUrl 11749 responseType 11750 redirectTimeout 11751 submitText 11752 submitSuccessText 11753 analytics { 11754 ...AnalyticsAll 11755 } 11756 persistFieldEdits 11757 prepopulatePerQueryParams 11758 # limit raised to 20 for avalon form use case 11759 rowsCollection(limit: 20) { 11760 items { 11761 ...FormRowAll 11762 } 11763 } 11764 # current expected case is a 0-1 features, but this way we can accommodate future cases w/ minimal effort 11765 additionalFeaturesCollection(limit: 5) { 11766 items { 11767 ... on ExtraParametersFormFeature { 11768 ...ExtraParametersFormFeatureAll 11769 } 11770 } 11771 } 11772 } 11773 ${ooe} 11774 ${noe} 11775 ${G} 11776 ${fo.all} 11777 `},jg={shallow:R` 11778 query FormQuery($preview: Boolean!, $locale: String!, $id: String!) { 11779 form(preview: $preview, locale: $locale, id: $id) { 11780 ...ContentfulSysId 11781 } 11782 } 11783 ${G} 11784 `,all:R` 11785 query FormQuery($preview: Boolean!, $locale: String!, $id: String!) { 11786 form(preview: $preview, locale: $locale, id: $id) { 11787 ...FormAll 11788 } 11789 } 11790 ${aoe.all} 11791 `};var Uc=e=>{let{data:t}=ce(jg.all,{variables:{id:e.sys.id}});return t?.form?i(PH,{...t.form}):null};Uc.displayName="Form";var wl="select_";var roe={ByDate:"By Date",Unsorted:"Unsorted"},Yg=roe.ByDate;var BH=T(Ua());var $H=T(P());var Xg="https://images.ctfassets.net/kp51zybwznx4/120IJvdruE5HeC9XBYjFiU/879b8f63bde0d27c0750ade94c4b1a39/Default_Gallery_Image.png",Jg="Snap Inc.",NH={day:"2-digit",month:"short",year:"numeric",timeZone:"UTC"},EH={day:"2-digit",month:"2-digit",year:"2-digit",timeZone:"UTC"},RH=[360,450],ioe=RH.map(e=>`${e}px`).join(", "),Zg=e=>({sizeToUrl:RH.map(t=>({size:`${t}w`,settings:{height:t,quality:e}})),sizes:`(max-width: ${Mo}px) ${ioe}`});var ef=T(P());var soe="ar-EG-u-nu-latn";function Zn(){let{currentLocale:e}=(0,ef.useContext)(Z);return{formatDate:(0,ef.useCallback)((o,n)=>{if(!o)return"";let r=e.startsWith("ar")?soe:e;return new Intl.DateTimeFormat(r,n).format(new Date(o))},[e])}}var loe=180,poe=280,FH=c` 11792 height: ${loe}px; 11793 11794 ${H} { 11795 height: ${poe}px; 11796 } 11797`;var Wc=({analytics:e,date:t,label:o,media:n,showDates:r,showDescriptions:s,showMedia:l=!0,slugReference:p,sys:d,title:u,url:y,isHeroTile:m=!1,eyebrowText:g})=>{let{formatDate:f}=Zn(),b=(0,$H.useContext)(Se).elementLocation,{getImageSources:S}=Ie(),C=y??(p?.slug?`/${p.slug}`:void 0),I=()=>{C&&ge({eventAction:"Click",eventCategory:"Summary Card",eventLabel:e?.label?`${e.label} - ${C}`:C,context:{elementText:u?.json?(0,BH.documentToPlainTextString)(u.json):void 0,targetUrl:C,elementLocation:b}}
11797)},{imageSource:k,imageAltText:v}=Qe(n?.media),{imageSource:A}=Qe(n?.mobileMedia);k||(k=Xg,v=Jg);let w=oi[n?.quality??"Standard"],D={size:Zg(w)},M=$e({desktop:S(k,D),mobile:S(A,D)}),{contentfulDescriptionDataset:_,titleDataset:F,labelDataset:$,mediaDataset:B,dateDataset:V}=Re({entryId:d.id,fieldIds:["title","label","date","media","contentfulDescription"]}),L=n?.stickersCollection?.items?.map(z=>({imgSrcs:S(z?.asset?.url),position:z?.position,rotation:z?.rotation}));return i(Vp,{onClick:I,title:Fo(u),description:Vi(o),imgSrcs:M,imgAltText:v,link:C,showDate:r,showDescription:s,showMedia:l,date:f(t,NH),dateTime:t?new Date(t):void 0,dataset:_,titleDataset:F,descriptionDataset:$,mediaDataset:B,dateDataset:V,className:h({[FH]:m}),eyebrowText:g,stickers:L},d.id)};Wc.displayName="SummaryCard";var si={immersiveScrollBlockTile:R` 11798 fragment ImmersiveScrollBlockTile on Tile { 11799 ...ContentfulSysId 11800 title { 11801 json 11802 } 11803 label { 11804 json 11805 } 11806 media { 11807 __typename 11808 ... on Video { 11809 ...VideoAll 11810 } 11811 ... on Image { 11812 ...ImageAll 11813 } 11814 } 11815 slugReference { 11816 ...ContentfulSysId 11817 slug 11818 unlistedCriteria { 11819 ...CriteriaAll 11820 } 11821 } 11822 } 11823 ${Le.all} 11824 ${nt.all} 11825 ${Yt} 11826 ${G} 11827 `,all:R` 11828 fragment TileAll on Tile { 11829 ...ContentfulSysId 11830 title { 11831 json 11832 } 11833 label { 11834 json 11835 } 11836 media { 11837 __typename 11838 ... on Video { 11839 ...VideoAll 11840 } 11841 ... on Image { 11842 ...ImageAll 11843 } 11844 } 11845 date 11846 secondaryMedia { 11847 ...ImageAll 11848 } 11849 imageSize 11850 imageFit 11851 url 11852 contentfulMetadata { 11853 tags { 11854 id 11855 } 11856 } 11857 analytics { 11858 ...AnalyticsAll 11859 } 11860 slugReference { 11861 ...ContentfulSysId 11862 slug 11863 unlistedCriteria { 11864 ...CriteriaAll 11865 } 11866 } 11867 brand 11868 } 11869 ${fo.all} 11870 ${Le.all} 11871 ${nt.all} 11872 ${Yt} 11873 ${G} 11874 `},LH={shallow:R` 11875 query TileQuery($preview: Boolean!, $locale: String!, $id: String!) { 11876 tile(preview: $preview, locale: $locale, id: $id) { 11877 ...ContentfulSysId 11878 } 11879 } 11880 ${G} 11881 `,all:R` 11882 query TileQuery($preview: Boolean!, $locale: String!, $id: String!) { 11883 tile(preview: $preview, locale: $locale, id: $id) { 11884 ...TileAll 11885 } 11886 } 11887 ${si.all} 11888 `};var tf=R` 11889 fragment TopicAll on Topic { 11890 ...ContentfulSysId 11891 topicId 11892 displayText 11893 linksTo 11894 } 11895 ${G} 11896`;var coe=R` 11897 fragment GalleryDropdownAll on GalleryDropdown { 11898 ...ContentfulSysId 11899 title 11900 matchAllOptionsTitle 11901 dropdownItemsCollection { 11902 items { 11903 ... on Topic { 11904 ...TopicAll 11905 } 11906 } 11907 } 11908 queryParamKey 11909 } 11910 ${G} 11911 ${tf} 11912`,doe=R` 11913 fragment BrandImageAll on BrandImage { 11914 ...ContentfulSysId 11915 brand 11916 image { 11917 ...ImageAll 11918 } 11919 } 11920 ${G} 11921 ${Le.all} 11922`,uoe=R` 11923 fragment GalleryFragment on Gallery { 11924 ...ContentfulSysId 11925 dropdownsCollection(limit: 5) { 11926 total 11927 items { 11928 ... on GalleryDropdown { 11929 ...GalleryDropdownAll 11930 } 11931 } 11932 } 11933 sortBy 11934 showDates 11935 showMedia 11936 showDescriptions 11937 defaultImage { 11938 ...ImageAll 11939 } 11940 brandDefaultImagesCollection(limit: 4) { 11941 items { 11942 ... on BrandImage { 11943 ...BrandImageAll 11944 } 11945 } 11946 } 11947 emptyPlaceholder
11948 loadMoreCtaCopy 11949 mobileFiltersWrapperText 11950 clearFiltersCtaCopy 11951 itemsPerPage 11952 hidePagination 11953 hideFilters 11954 galleryType 11955 } 11956 ${G} 11957 ${coe} 11958 ${doe} 11959 ${Le.all} 11960`,of=R` 11961 query GalleryQuery($preview: Boolean!, $locale: String!, $id: String!) { 11962 gallery(preview: $preview, locale: $locale, id: $id) { 11963 ...GalleryFragment 11964 } 11965 } 11966 ${uoe} 11967`,Dl=R` 11968 query TileQuery($preview: Boolean!, $locale: String!, $ids: [String]!) { 11969 tileCollection(preview: $preview, locale: $locale, where: { sys: { id_in: $ids } }) { 11970 total 11971 items { 11972 ...TileAll 11973 } 11974 } 11975 } 11976 ${si.all} 11977`;var HH=c` 11978 margin-left: auto; 11979 margin-right: auto; 11980 margin-top: ${a("--spacing-m")}; 11981 margin-bottom: ${a("--spacing-m")}; 11982 scroll-margin-top: var(${lt}); 11983 width: 100%; 11984`,nf=c` 11985 text-align: center; 11986 margin-top: ${a("--spacing-xl")}; 11987 margin-bottom: ${a("--spacing-xl")}; 11988 11989 ${rs} 11990`,ynt=c` 11991 padding-top: ${a("--spacing-xl")}; 11992 display: flex; 11993 justify-content: center; 11994`,VH=c` 11995 display: flex; 11996 flex-direction: column; 11997`,OH=c` 11998 padding-block-end: ${a("--spacing-xl")}; 11999 padding-block-start: ${a("--spacing-m")}; 12000 padding-inline: ${a("--spacing-xl")}; 12001 12002 ${H} { 12003 align-self: flex-end; 12004 padding-block: unset; 12005 padding-inline: ${a("--spacing-xxxl")}; 12006 } 12007`;var Hv=({emptyPlaceholder:e,tiles:t,emptyPlaceholderDataset:o,showDates:n,showDescriptions:r,showMedia:s,isGalleryLoading:l,defaultTileImage:p,brandDefaultTileImages:d,numberOfTiles:u})=>{let y=t?.map(b=>b.tileSysId)??[],{data:m,loading:g}=ce(Dl,{variables:{ids:y}}),f=m?.tileCollection?.items.slice().sort((b,S)=>y.indexOf(b.sys.id)-y.indexOf(S.sys.id));return l||g?i(Gr,{children:Array.from({length:u??12}).map((b,S)=>i(Ti,{},`skeleton-summary-card-${S}`))}):i(ue,{children:f?.length?i(Gr,{children:f.map(b=>{let S=b.brand?d?.find(C=>C?.brand===b.brand)?.image:void 0;return i(Wc,{showDates:n,showDescriptions:r,showMedia:s,...b,media:b.media??S??p},b.sys.id)})}):i("div",{"data-testid":"mwp-gallery-placeholder",className:nf,children:i("p",{...te(o),children:e})})})};Hv.displayName="LazyTiles";var af=(e,t=!1)=>{if(e)return e.map(({matchAllOptionsTitle:o,dropdownItemsCollection:n,queryParamKey:r,title:s,sys:l})=>{let{contentfulDescriptionDataset:p}=Re({entryId:l.id,fieldIds:["contentfulDescription"]});return{title:s,id:t?`${wl}${na(r)}`:`${na(r)}`,allItemTitle:o,items:n.items.map(({displayText:d,topicId:u})=>({title:d,id:u})).sort((d,u)=>d.title.localeCompare(u.title)),dataset:p}})};var Pl={all:R` 12008 fragment BlockHeroAll on BlockHero { 12009 ...ContentfulSysId 12010 header { 12011 json 12012 } 12013 eyebrow 12014 title { 12015 json 12016 links { 12017 entries { 12018 inline { 12019 ...ContentfulSysId 12020 ... on EmphasizedText { 12021 ...EmphasizedTextAll 12022 } 12023 } 12024 } 12025 } 12026 } 12027 subTitle { 12028 json 12029 } 12030 body { 12031 json 12032 } 12033 callsToActionCollection(limit: 3) { 12034 items { 12035 ... on CallToAction { 12036 ...CallToActionAll 12037 } 12038 } 12039 } 12040 foreground { 12041 __typename 12042 ... on Image { 12043 ...ImageAll 12044 } 12045 ... on Video { 12046 ...VideoAll 12047 } 12048 ... on CarouselV3 { 12049 ...ContentfulSysId 12050 } 12051 ... on SnapchatEmbed { 12052 ...SnapchatEmbedAll 12053 } 12054 } 12055 backgroundMediaLayout 12056 backgroundMediaV2 { 12057 __typename 12058 ... on Video { 12059 ...VideoAll 12060 } 12061 ... on Image { 12062 ...ImageAll 12063 } 12064 } 12065 headerMediaV2 { 12066 __typename 12067 ... on Image { 12068 ...ImageAll 12069 } 12070 } 12071 mediaWrap 12072 isHeaderDate 12073 theme 12074 brandBackgroundColor 12075 backgroundColor 12076 textAlign 12077 textAlignMobile 12078 verticalTextAlign 12079 fitWindow 12080 curtainOpacityPercentage 12081 useLatestPost 12082 showMediaMobile 12083 anchorId 12084 size 12085 showScrollButton 12086 displayTopics 12087 increaseTitleFontSize 12088 } 12089 ${mt} 12090 ${nt.all} 12091 ${Le.all} 12092 ${$t.all} 12093 ${Dc} 12094 ${ti} 12095 `},GH=R` 12096 query BlockHeroQuery($preview: Boolean!, $locale: String!, $id: String!) { 12097 blockHero(preview: $preview, locale: $locale, id: $id) { 12098 ...BlockHeroAll 12099 } 12100 } 12101 ${Pl.all} 12102`;var Nl=R` 12103 fragment PageAssetAll on PageAsset { 12104 ...ContentfulSysId 12105 media { 12106 ...AssetAll 12107 } 12108 } 12109 ${Pn} 12110 ${G} 12111`;var yoe=R` 12112 fragment PageCategoryTitle on Page { 12113 ...ContentfulSysId 12114 title 12115 category { 12116 ...ContentfulSysId 12117 title 12118 } 12119 } 12120 ${G} 12121`,rf=R` 12122 query LatestPostBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12123 latestPosts(preview: $preview, locale: $locale, id: $id) { 12124 ...ContentfulSysId 12125 title 12126 maxPosts
12127 brandBackgroundColor 12128 backgroundColor 12129 cta { 12130 ...ContentfulSysId 12131 } 12132 anchorId 12133 } 12134 slugCollection( 12135 preview: $preview 12136 locale: $locale 12137 limit: 4 12138 order: postedDate_DESC 12139 where: { AND: [{ slugType_contains: "Blog" }, { slug_not: "home" }] } 12140 ) { 12141 items { 12142 sys { 12143 id 12144 firstPublishedAt 12145 } 12146 __typename 12147 slug 12148 postedDate 12149 author { 12150 ...ContentfulSysId 12151 name 12152 position 12153 slug 12154 } 12155 page { 12156 ...PageAssetAll 12157 ...ExperimentOnPageLoadingPageCategoryTitle 12158 } 12159 } 12160 } 12161 } 12162 ${G} 12163 ${ni("Page","PageCategoryTitle",yoe)} 12164 ${Nl} 12165`;var Vv=e=>{let{formatDate:t}=Zn(),{decideExperiment:o}=pn(),{data:n}=ce(rf,{variables:{id:e.sys.id}}),r=tt(n?.latestPosts?.brandBackgroundColor);if(!n)return null;let{latestPosts:{title:s,maxPosts:l,backgroundColor:p,cta:d,anchorId:u},slugCollection:y}=n,m=Math.min(l,y.items.length),g=Array(m).fill(0).map((b,S)=>{let C=y.items[S],I=t(C.postedDate?C.postedDate:C.sys.firstPublishedAt,{month:"long",day:"2-digit",year:"numeric",weekday:"long"}),k=C.author&&i(Ln,{id:"authorByline",values:{author:C.author.name},defaultMessage:"By <b>{author}</b>"}),v=I&&i(Ln,{id:"postedOn",values:{date:I},defaultMessage:"on {date}"});if(C.page.__typename==="PageAsset")return{title:i(fn,{href:C.slug,children:C.page?.media?.title},C.slug),author:k,date:v};if(C.page.__typename==="Page"||C.page.__typename==="Experiment"){let{decision:A}=o(C.page,{logImpression:!1});return{title:i(Sc,{to:C.slug,children:A.title},C.slug),author:k,date:v,category:A.category?.title}}throw new Error("Unknown page type.")}),f=d&&i(ft,{...d},d.sys.id);return i(IF,{anchorId:u,title:s,items:g,cta:f,motifScheme:r,backgroundColor:p,preChildren:e.preChildren,postChildren:e.postChildren})};Vv.displayName="LatestPostBlock";var zH=T(P());var Ov=e=>{let t=(0,zH.useContext)(Se).elementLocation,{getBestBgImgSrc:o,getImageSources:n}=Ie(),{tilesCollection:r,columns:s,mobileColumns:l,filtersCollection:p}=e,d=r.items.map(({video:y,preview:m,thumbnail:g,filtersCollection:f,analytics:b,...S})=>{let C=n(g.url,{image:{width:768}}),I=b?.label??S.sys.id,k="MosaicTile";return{...S,onClose:()=>ge({eventAction:"Close",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),onOpen:()=>ge({eventAction:"Open",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),onEnter:()=>ge({eventAction:"Enter",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),onLeave:()=>ge({eventAction:"Leave",eventCategory:k,eventLabel:I,context:{elementText:I,elementLocation:t}}),filters:f?.items?.map(v=>v.sys.id),poster:{src:C?.default,srcSet:C?.defaultSrcSet},video:y?fg(y,o):void 0,preview:m?fg(m,o):void 0}}),u=p.items?.map(({sys:y,isAll:m,...g})=>({id:m?"":y.id,...g}));return i(zh,{tiles:d,columns:s,mobileColumns:l,filters:u})};Ov.displayName="Mosaic";var moe={all:R` 12166 fragment MosaicAll on Mosaic { 12167 ...ContentfulSysId 12168 columns 12169 mobileColumns 12170 filtersCollection(limit: 20) { 12171 items { 12172 ...ContentfulSysId 12173 ... on MosaicFilters { 12174 ...ContentfulSysId 12175 text 12176 icon 12177 isAll 12178 } 12179 } 12180 } 12181 tilesCollection(limit: 100) { 12182 items { 12183 ...ContentfulSysId 12184 ... on MosaicTile { 12185 ...ContentfulSysId 12186 analytics { 12187 ...AnalyticsAll 12188 } 12189 title 12190 highlight 12191 showOverlay 12192 duration 12193 columns 12194 mobileColumns 12195 rows 12196 mobileRows 12197 preview { 12198 ...VideoAll 12199 } 12200 video { 12201 ...VideoAll 12202 } 12203 thumbnail { 12204 url 12205 contentType 12206 } 12207 filtersCollection(limit: 50) { 12208 items { 12209 ...ContentfulSysId 12210 } 12211 } 12212 } 12213 } 12214 } 12215 } 12216 ${fo.all} 12217 ${nt.all} 12218 ${G} 12219 `},sf={shallow:R` 12220 query MosaicQuery($preview: Boolean!, $locale: String!, $id: String!) { 12221 mosaic(preview: $preview, locale: $locale, id: $id) { 12222 ...ContentfulSysId 12223 } 12224 } 12225 ${G} 12226 `,all:R` 12227 query MosaicQuery($preview: Boolean!, $locale: String!, $id: String!) { 12228 mosaic(preview: $preview, locale: $locale, id: $id) { 12229 ...MosaicAll 12230 } 12231 } 12232 ${moe.all} 12233 `};var goe={all:R` 12234 fragment MultiVideoBlockAll on MultiVideoBlock { 12235 ...ContentfulSysId 12236 anchorId 12237 panelPosition 12238 primaryVideosCollection(limit: 10) { 12239 items { 12240 ... on Video { 12241 ...VideoAll 12242 } 12243 } 12244 } 12245 secondaryVideosCollection(limit: 10) { 12246 items { 12247 ... on Video { 12248 ...VideoAll 12249 } 12250 } 12251 } 12252 mobilePrimaryVideosCollection(limit: 10) { 12253 items { 12254 ... on Video { 12255 ...VideoAll 12256 } 12257 } 12258 } 12259 mobileSecondaryVideosCollection(limit: 10) { 12260 items { 12261 ... on Video { 12262 ...VideoAll 12263 } 12264 } 12265 } 12266 } 12267 ${nt.all} 12268 ${G} 12269 `},lf=R` 12270 query MultiVideoBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12271 multiVideoBlock(preview: $preview, locale: $locale, id: $id) { 12272 ...MultiVideoBlockAll 12273 } 12274 } 12275 ${goe.all} 12276`;var Gv=R` 12277 fragment SplitBlockAll on SplitBlock { 12278 ...ContentfulSysId 12279 callsToActionCollection(limit: 2) { 12280 items { 12281 ... on CallToAction { 12282 ...CallToActionAll 12283 } 12284 } 12285 } 12286 splitBlockTitle: title 12287 splitBlockSubtitle: subtitle 12288 splitBlockBody: body { 12289 json 12290 } 12291 textAlignment 12292 textAlignmentMobile 12293 verticalTextAlignment 12294 media { 12295 __typename 12296 ... on Video { 12297 ...VideoAll 12298 } 12299 ... on Image { 12300 ...ImageAll 12301 } 12302 } 12303 mediaCaption 12304 mediaDirection
12305 brandBackgroundColor 12306 backgroundColor 12307 fitWindow 12308 anchorId 12309 } 12310 ${G} 12311 ${mt} 12312 ${Le.all} 12313 ${nt.all} 12314`,UH=R` 12315 query SplitBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12316 splitBlock(preview: $preview, locale: $locale, id: $id) { 12317 ...SplitBlockAll 12318 } 12319 } 12320 ${Gv} 12321`;var zv=R` 12322 fragment SubNavigationAll on SubNavigation { 12323 ...ContentfulSysId 12324 brandBackgroundColor 12325 backgroundColor 12326 subNavigationItemsCollection { 12327 items { 12328 ...ContentfulSysId 12329 text 12330 anchorId 12331 } 12332 } 12333 } 12334 ${G} 12335`,WH=R` 12336 query SubNavigationQuery($preview: Boolean!, $locale: String!, $id: String!) { 12337 subNavigation(preview: $preview, locale: $locale, id: $id) { 12338 ...SubNavigationAll 12339 } 12340 } 12341 ${zv} 12342`;var foe={all:R` 12343 fragment TabsAll on Tabs { 12344 ...ContentfulSysId 12345 itemsCollection(limit: 10) { 12346 items { 12347 ...ContentfulSysId 12348 title 12349 contentsCollection(limit: 10) { 12350 items { 12351 ...ContentfulSysId 12352 } 12353 } 12354 maxColumns 12355 } 12356 } 12357 } 12358 ${G} 12359 `},pf={shallow:R` 12360 query TabsShallowQuery($preview: Boolean!, $locale: String!, $id: String!) { 12361 tabs(preview: $preview, locale: $locale, id: $id) { 12362 ...ContentfulSysId 12363 } 12364 } 12365 ${G} 12366 `,all:R` 12367 query TabsQuery($preview: Boolean!, $locale: String!, $id: String!) { 12368 tabs(preview: $preview, locale: $locale, id: $id) { 12369 ...TabsAll 12370 } 12371 } 12372 ${foe.all} 12373 `};var QH=T(P());var Qc=e=>{let{data:t}=ce(xg.all,{variables:{id:e.sys.id}});return t?.content?i(Ec,{...t.content}):null};Qc.displayName="ContentShallow";var Uv=e=>{let{data:t}=ce(pf.all,{variables:{id:e.sys.id}}),o=(0,QH.useContext)(Se).elementLocation;if(!t||!t.tabs)return null;let{itemsCollection:n}=t.tabs,r=l=>{ge({eventAction:"Click",eventCategory:"Tab",eventLabel:`tab:${l}`,context:{elementLocation:o,elementText:n?.items[l]?.title}})},s=n.items.map(l=>{let p=l.contentsCollection?l.contentsCollection.items.map(u=>{let y=u.sys.id;return u.__typename==="Form"?i(Uc,{...u},y):i(Qc,{...u},y)}):[];return{text:l.title,content:p,maxColumns:l.maxColumns}});return i(c$,{items:s,onSelectTab:r})};Uv.displayName="Tabs";var qH=T(P());var boe=Jo(()=>import("./chunks/LazyBarChart-PTP6SEJM.mjs").then(e=>({default:e.BarChart}))),KH=e=>{let{chartData:t,yAxis:o,xAxes:n,stackKey:r,filters:s,width:l,height:p,hideXAxisLabels:d,hideYAxisLabels:u,hideXPercentLabels:y,hideLegend:m,chartTitle:g,dataColors:f,showAsPercent:b,numberOfDecimalPlaces:S}=e,{isRTL:C}=(0,qH.useContext)(Z);if(!t)return null;let I=Tr(t);return i(Ro,{fallbackElement:i(No,{}),children:i(boe,{chartTitle:g,width:l,height:p??0,yAxis:o,xAxes:n,stackKey:r,filters:s,hideXAxisLabels:d,hideYAxisLabels:u,hideXPercentLabels:y,showAsPercent:b??!0,numberOfDecimalPlaces:S??1,hideLegend:m??!0,data:I,dataColors:f||["#A05CCC","#FEFC01","#3EDB9A","#3BB2F7"],isRTL:C})})};var Wv=R` 12374 fragment SeriesAll on Series { 12375 ...ContentfulSysId 12376 schema 12377 headerNames 12378 localizableProperties 12379 } 12380`,Fa=R` 12381 fragment ChartDataAll on ChartData { 12382 ...ContentfulSysId 12383 seriesName { 12384 ...SeriesAll 12385 } 12386 label 12387 data 12388 localizedData 12389 } 12390 ${G} 12391 ${Wv} 12392`;var Qv={all:R` 12393 fragment BarChartAll on BarChart { 12394 ...ContentfulSysId 12395 chartTitle 12396 chartData { 12397 ...ChartDataAll 12398 } 12399 yAxis 12400 xAxes 12401 stackKey 12402 filters 12403 width 12404 height 12405 hideXAxisLabels 12406 hideYAxisLabels 12407 hideXPercentLabels 12408 showAsPercent 12409 numberOfDecimalPlaces 12410 hideLegend 12411 dataColors 12412 } 12413 ${G} 12414 ${Fa} 12415 `,withTitle:R` 12416 fragment BarChartWithTitle on BarChart { 12417 ...ContentfulSysId 12418 chartTitle 12419 } 12420 ${G} 12421 `},cf={shallow:R` 12422 query barChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12423 barChart(preview: $preview, locale: $locale, id: $id) { 12424 ...ContentfulSysId 12425 } 12426 } 12427 ${G} 12428 `,all:R` 12429 query barChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12430 barChart(preview: $preview, locale: $locale, id: $id) { 12431 ...BarChartAll 12432 } 12433 } 12434 ${Qv.all} 12435 `};var El=e=>{let t=ro(e)?e.sys.id:void 0,{data:o,loading:n}=ce(cf.all,{skip:!t,variables:{id:t}});if(n)return i(No,{});if(!o)return null;let r=e.chartDataOverride??o.barChart.chartData,s=e.xAxesOverride??o.barChart.xAxes;return i(KH,{...o.barChart,chartData:r,xAxes:s})};var JH=T(P());
12435var Rl=T(P());var Soe=Jo(async()=>import("./chunks/LazyGeoMap-4CBHNPYP.mjs").then(e=>({default:e.GeoMap}))),hoe="https://storage.googleapis.com/snap-design-system-marketing/world-topo.json",jH=e=>{let{chartTitle:t,chartData:o,width:n,countryCodeKey:r,valueKey:s,dataScalingMethod:l}=e,[p,d]=(0,Rl.useState)(),{currentLocale:u}=(0,Rl.useContext)(Z);if((0,Rl.useEffect)(()=>{async function m(){let f=await(await En(hoe)).json();d(f)}m().catch(g=>Be({component:"GeoVisualization",error:g}))},[]),!p||!o||!s)return null;let y=Tr(o);return i(Ro,{fallbackElement:i(No,{}),children:i(Soe,{width:n,data:y,fieldMetadata:{key:s,title:o.seriesName.headerNames?.[s]??s},countryFieldKey:r,chartTitle:t,topoData:p,locale:u,scaleMode:l})})};var df={all:R` 12436 fragment GeoMapAll on GeoVisualization { 12437 ...ContentfulSysId 12438 chartTitle 12439 chartData { 12440 ...ChartDataAll 12441 } 12442 dataScalingMethod 12443 countryCodeKey 12444 valueKey 12445 } 12446 ${G} 12447 ${Fa} 12448 `,subset:R` 12449 fragment GeoMapSubset on GeoVisualization { 12450 ...ContentfulSysId 12451 countrySelectorFields 12452 } 12453 ${G} 12454 `,withTitle:R` 12455 fragment GeoMapWithTitle on GeoVisualization { 12456 ...ContentfulSysId 12457 chartTitle 12458 } 12459 ${G} 12460 `},uf={shallow:R` 12461 query geoMapEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12462 geoVisualization(preview: $preview, locale: $locale, id: $id) { 12463 ...ContentfulSysId 12464 } 12465 } 12466 ${G} 12467 `,all:R` 12468 query geoMapEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12469 geoVisualization(preview: $preview, locale: $locale, id: $id) { 12470 ...GeoMapAll 12471 } 12472 } 12473 ${df.all} 12474 `,subset:R` 12475 query geoMapEntryQuery($preview: Boolean!, $id: String!) { 12476 geoVisualization(preview: $preview, id: $id) { 12477 ...GeoMapSubset 12478 } 12479 } 12480 ${df.subset} 12481 `};var Fl=e=>{let t=ro(e)?e.sys.id:void 0,{data:o,loading:n}=ce(uf.all,{skip:!t,variables:{id:t}});if(n)return i(No,{});if(!o)return null;let r=e.chartDataOverride??o.geoVisualization.chartData,s=e.valueKeyOverride??o.geoVisualization.valueKey;return i(jH,{...o.geoVisualization,width:e.width,chartTitle:e.chartTitle,chartData:r,valueKey:s})};var Coe=Jo(()=>import("./chunks/LazyLineChart-3JN7S2KA.mjs").then(e=>({default:e.LineChart}))),xoe=(e,t)=>{let o={x:{},y:{}};for(let n of e)o.x[n]=r=>r[t],o.y[n]=r=>r[n];return o},YH=e=>{let{chartData:t,curve:o,xKey:n,yKeys:r,chartTitle:s}=e;if(!t)return null;let l=Tr(t);return i(Ro,{fallbackElement:i(No,{}),children:i(Coe,{data:l,accessors:xoe(r,n),chartTitle:s,curve:o,yKeys:r})})};var qv={all:R` 12482 fragment LineChartAll on LineChart { 12483 ...ContentfulSysId 12484 chartTitle 12485 chartData { 12486 ...ChartDataAll 12487 } 12488 xKey 12489 yKeys 12490 curve 12491 } 12492 ${G} 12493 ${Fa} 12494 `,withTitle:R` 12495 fragment LineChartWithTitle on LineChart { 12496 ...ContentfulSysId 12497 chartTitle 12498 } 12499 ${G} 12500 `},yf={shallow:R` 12501 query lineChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12502 lineChart(preview: $preview, locale: $locale, id: $id) { 12503 ...ContentfulSysId 12504 } 12505 } 12506 ${G} 12507 `,all:R` 12508 query lineChartEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12509 lineChart(preview: $preview, locale: $locale, id: $id) { 12510 ...LineChartAll 12511 } 12512 } 12513 ${qv.all} 12514 `};var Bl=e=>{let t=ro(e)?e.sys.id:void 0,{data:o,loading:n}=ce(yf.all,{skip:!t,variables:{id:t}});if(n)return i(No,{});if(!o)return null;let r=e.chartDataOverride??o.lineChart.chartData,s=e.yKeysOverride??o.lineChart.yKeys;return i(YH,{...o.lineChart,chartData:r,yKeys:s})};var Kv={all:R` 12515 fragment TableVisualizationAll on TableVisualization { 12516 ...ContentfulSysId 12517 chartTitle 12518 chartData { 12519 ...ChartDataAll 12520 } 12521 tableColumns 12522 enableSearch 12523 initialRowCount 12524 } 12525 ${G} 12526 ${Fa} 12527 `,withTitle:R` 12528 fragment TableVisualizationWithTitle on TableVisualization { 12529 ...ContentfulSysId 12530 chartTitle 12531 } 12532 ${G} 12533 `},mf={shallow:R` 12534 query tableVisualizationEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12535 tableVisualization(preview: $preview, locale: $locale, id: $id) { 12536 ...ContentfulSysId 12537 } 12538 } 12539 ${G} 12540 `,all:R` 12541 query tableVisualizationEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12542 tableVisualization(preview: $preview, locale: $locale, id: $id) { 12543 ...TableVisualizationAll 12544 } 12545 } 12546 ${Kv.all} 12547 `};
12547var gf=T(P());var voe="date",Ioe=Jo(()=>import("./chunks/LazyTable-PHI2UAGG.mjs").then(e=>({default:e.Table}))),koe=(e,t,o,n)=>{let r=e.schema.items.properties;if(!r)throw new Error("Series schema is malformed!");let s=t[o],l=r[o].type,p=r[o].format;return l==="integer"||l==="number"?s.toLocaleString(n):p===voe?s.toLocaleDateString(n):s},Moe=(e,t,o)=>{let n=t.schema.items.properties,r=Object.keys(n);if(r.length!==e?.length)throw new Error("The number of table columns must equal the number of properties on the schema!");if(!r.every(l=>e.includes(l)))throw new Error("Table columns and schema properties do not match!");return e.map(l=>{let p=l;return t.headerNames?.[l]&&(p=t.headerNames[l]),{Header:p,accessor:d=>koe(t,d,l,o)}})},XH=e=>{let{chartData:t,tableColumns:o,enableSearch:n,initialRowCount:r}=e,{currentLocale:s}=(0,gf.useContext)(Z),[l,p]=(0,gf.useState)();if(!t)return null;let d,u;try{d=Tr(t),u=Moe(o,t.seriesName,s)}catch(y){l||(p(y),ke.logError({component:"Table",error:y}))}return l&&O.deploymentType!=="production"?x("section",{children:[i("h5",{children:"Table Visualization Error"}),i("p",{children:`Error: ${l.message}`}),i("p",{children:`Entry id: ${e.id}`})]}):i(Ro,{fallbackElement:i(No,{}),children:i(Ioe,{data:d,columns:u,searchable:n,initialRowCount:r})})};var $l=e=>{let t=ro(e)?e.sys.id:void 0,{data:o,loading:n}=ce(mf.all,{skip:!t,variables:{id:t}});if(n)return i(No,{});if(!o)return null;let r=e.chartDataOverride??o.tableVisualization.chartData;return i(XH,{...o.tableVisualization,chartData:r,id:t})};var ff=R` 12548 query ChartToggleQuery($preview: Boolean!, $locale: String!, $id: String!) { 12549 chartToggle(preview: $preview, locale: $locale, id: $id) { 12550 ...ContentfulSysId 12551 label 12552 itemsCollection(limit: 10) { 12553 items { 12554 ...ContentfulSysId 12555 analytics { 12556 ...AnalyticsAll 12557 } 12558 title 12559 contentsCollection(limit: 10) { 12560 items { 12561 ... on Entry { 12562 ...ContentfulSysId 12563 } 12564 } 12565 total 12566 } 12567 } 12568 } 12569 } 12570 } 12571 ${G} 12572 ${fo.all} 12573`;var ZH=e=>{switch(e.__typename){case"ChartToggle":return i(qc,{...e});case"BarChart":return i(El,{...e});case"LineChart":return i(Bl,{...e});case"GeoVisualization":return i(Fl,{...e});case"TableVisualization":return i($l,{...e});default:return console.error(`\u{1F4D9} Unknown chart type: ${e.__typename} with id: ${e.sys.id}`),i(ue,{children:"\u{1F4D9}"})}};ZH.displayName="Chart";var qc=e=>{let o=vt().useChartDropdownToggle==="true",{data:n,loading:r}=ce(ff,{variables:{id:e.sys.id}}),s=(0,JH.useContext)(Se).elementLocation;if(!n&&!o)return null;let l=n?.chartToggle.itemsCollection.items.map(({analytics:p,title:d,contentsCollection:u,sys:{id:y}})=>{let m=p?.label??y;return{onToggle:()=>ge({eventAction:"Open",eventCategory:"ChartToggle",eventLabel:m,context:{elementLocation:s}}),title:d,content:u.items.map(f=>i(ZH,{...f},f.sys.id))}});return o?i(G$,{items:l??[],label:n?.chartToggle.label??"",isLoading:r}):i(H$,{items:l??[]})};qc.displayName="ChartToggle";var jv=e=>vt().useChartDropdownToggle==="true"?i(z$,{children:i(qc,{...e})}):i(qc,{...e});jv.displayName="ChartToggleWrapper";var Ll=T(P());var Toe={all:R` 12574 fragment VisualizationSelectorAll on VisualizationSelector { 12575 ...ContentfulSysId 12576 chartTitle 12577 visualizationsCollection { 12578 items { 12579 ... on BarChart { 12580 ...BarChartWithTitle 12581 } 12582 ... on LineChart { 12583 ...LineChartWithTitle 12584 } 12585 ... on GeoVisualization { 12586 ...GeoMapWithTitle 12587 } 12588 ... on TableVisualization { 12589 ...TableVisualizationWithTitle 12590 } 12591 } 12592 } 12593 seriesName { 12594 ...SeriesAll 12595 } 12596 chartDataCollection { 12597 items { 12598 ...ChartDataAll 12599 } 12600 } 12601 selectableFields 12602 } 12603 ${Qv.withTitle} 12604 ${qv.withTitle} 12605 ${df.withTitle} 12606 ${Kv.withTitle} 12607 ${Wv} 12608 ${Fa} 12609 ${G} 12610 `},bf={shallow:R` 12611 query visualizationSelectorEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12612 visualizationSelector(preview: $preview, locale: $locale, id: $id) { 12613 ...ContentfulSysId 12614 } 12615 } 12616 ${G} 12617 `,all:R` 12618 query visualizationSelectorEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 12619 visualizationSelector(preview: $preview, locale: $locale, id: $id) { 12620 ...VisualizationSelectorAll 12621 } 12622 } 12623 ${Toe.all} 12624 `};var Aoe=Jo(()=>import("./chunks/LazyMultiviz-V3MT2FUD.mjs").then(e=>({default:e.MultiVisualization}))),eV=e=>({id:e.sys.id,label:e.label??""}),tV=e=>({id:e.sys.id,title:e.chartTitle,key:e.__typename}),_oe=(e,t)=>{let o=e.filter(r=>r.seriesName.sys.id===t.sys.id),n=0;return o.map(r=>r.label?{...r,label:r.label}:(n++,{...r,label:`Unnamed Data ${n}`}))},woe=({chartTitle:e,seriesName:t,chartDataCollection:o,visualizationsCollection:n,selectableFields:r})=>{let{locale:s}=(0,Ll.useContext)(Bi),l=_oe(o.items,t),p=n.items.map(tV),d=l.map(eV),u=r?.map(v=>({key:v,title:t?.headerNames?.[v]??v})),[y,m]=(0,Ll.useState)(l[0]),[g,f]=(0,Ll.useState)(n.items[0]),[b,S]=(0,Ll.useState)(r?.[0]??void 0),C=v=>m(l.find(A=>A.sys.id===v.id)),I=v=>f(n.items.find(A=>A.sys.id===v.id)),k=v=>{if(!g||!y)return null;switch(v.key){case"TableVisualization":return i($l,{...g,chartDataOverride:y});case"BarChart":return i(El,{...g,chartDataOverride:y,xAxesOverride:b?[b]:void 0});case"LineChart":return i(Bl,{...g,chartDataOverride:y,yKeysOverride:b?[b]:void 0});case"GeoVisualization":return i(Fl,{...g,chartDataOverride:y,valueKeyOverride:b});default:return null}};
12624return!y||!g?null:i(Ro,{children:i(Aoe,{chartMetadataItems:d,selectedChartMetadata:eV(y),visualizationMetadataItems:p,selectedVisualizationMetadata:tV(g),visualizationTitle:e,fieldMetadataItems:u,locale:s,onDataSelected:C,onVisualizationSelected:I,onFieldSelected:v=>S(v.key),renderVisualization:k})})},oV=e=>{let t=ro(e)?e.sys.id:void 0,{data:o}=ce(bf.all,{skip:!t,variables:{id:t}});return o?i(woe,{...o.visualizationSelector}):null};var Doe={all:R` 12625 fragment NewsBlockAll on NewsBlock { 12626 ...ContentfulSysId 12627 eyebrow 12628 textAlignment 12629 textAlignmentMobile 12630 numberOfNewsItems 12631 defaultImage { 12632 ...ImageAll 12633 } 12634 callsToActionCollection(limit: 2) { 12635 items { 12636 ... on CallToAction { 12637 ...CallToActionAll 12638 } 12639 } 12640 } 12641 newsReference { 12642 sys { 12643 urn 12644 } 12645 } 12646 } 12647 ${G} 12648 ${mt} 12649 ${Le.all} 12650 `},Sf=R` 12651 query NewsBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12652 newsBlock(preview: $preview, locale: $locale, id: $id) { 12653 ...NewsBlockAll 12654 } 12655 } 12656 ${Doe.all} 12657`;var hf=R` 12658 query SnapHomePageQuery($id: String!, $preview: Boolean!, $locale: String!) { 12659 snapHomePage(id: $id, preview: $preview, locale: $locale) { 12660 ...ContentfulSysId 12661 navigationItemsCollection(limit: 20) { 12662 items { 12663 ...ContentfulSysId 12664 title { 12665 json 12666 } 12667 url 12668 } 12669 } 12670 blocksCollection { 12671 items { 12672 ...ContentfulSysId 12673 } 12674 } 12675 } 12676 } 12677 ${G} 12678`;var Cf=R` 12679 query SnapHomePageV2Query($id: String!, $preview: Boolean!, $locale: String!) { 12680 snapHomePageV2(id: $id, preview: $preview, locale: $locale) { 12681 ...ContentfulSysId 12682 title 12683 carouselTitle 12684 carouselCardsCollection { 12685 items { 12686 ...ContentfulSysId 12687 body 12688 media { 12689 __typename 12690 ... on Video { 12691 ...VideoAll 12692 } 12693 ... on Image { 12694 ...ImageAll 12695 } 12696 } 12697 url 12698 logo { 12699 __typename 12700 ... on Image { 12701 ...ImageAll 12702 } 12703 } 12704 } 12705 } 12706 } 12707 } 12708 ${G} 12709 ${Le.all} 12710 ${nt.all} 12711`;var AV={AiAgent:void 0,LatestPosts:rf,MultiVideoBlock:lf,Content:xg.all,CarouselV3:Ug,Gallery:of,Tabs:pf.all,Mosaic:sf.all,Form:jg.all,ChartToggle:ff,BarChart:cf.all,LineChart:yf.all,GeoVisualization:uf.all,VisualizationSelector:bf.all,TableVisualization:mf.all,Accordion:Hg.all,BlockHero:GH,Break:J7,SubNavigation:WH,LatestGalleryCardHero:void 0,AnimatedAccordion:Vg,AvalonProductHero:void 0,AvalonFormBlock:void 0,MosaicGridBlock:void 0,AvalonScrollSection:void 0,FixedPositionBlock:void 0,ValuePropsBlock:void 0,ArArkoseProtectedFormBlock:void 0,ArDownloadFormBlock:void 0,ArDownloadLinkCard:void 0,ArLinkOutsBlock:void 0,LiveEvent:void 0,MultiValuePropBlock:Y7,NewsBlock:Sf,SnapHomePage:hf,SnapHomePageV2:Cf,BlockTabs:X7,SplitBlock:UH,StinsonBreadcrumbsBlock:void 0,StinsonCollectionsCarousel:void 0,StinsonMediaFeatureBlock:void 0,StinsonSplitBlock:void 0,StinsonStoreEventsBlock:void 0,StinsonMultiVideoBlock:void 0,StinsonMultiVideoCarouselBlock:void 0,...void 0,StinsonRevealHome:void 0,StinsonUseCasesBlock:void 0,StinsonMediaBlock:void 0,StinsonVideoBlock:void 0,...void 0};function mr(e){let t=e.loc?.source.name;return e.definitions.filter(n=>n.kind==="OperationDefinition").map(n=>n).find(n=>n.operation==="query")?.name?.value??t??"Anonymous"}var _V=T(P()),$o=(0,_V.createContext)({isShareable:!1});var Jt=T(P());var Poe="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",Noe=new RegExp(`[${Poe}]`,"g"),wV=e=>e&&Noe.test(e)?"rtl":"ltr";var vf=e=>{let t=e.substring(1);return t===""?"home":pp(t)};var DV=T(P());var Eoe=["lang"],Roe=(e=O.metadataQueryParamsAllowlist??[])=>new Set([...Eoe,...e]),If=(e,t=Roe())=>{let o=new URL(e),n=new URL(o.href);n.hash="",n.search="";for(let[r,s]of o.searchParams.entries())t.has(r)&&n.searchParams.append(r,s);return n},kf=(e,t)=>{let o=new URL(e),n=new URL(o.href);n.hash="",n.search="";
12711for(let[r,s]of o.searchParams.entries())t[r]?.includes(s)&&n.searchParams.append(r,s);return n};var NV=({localizedIn:e=[ao]})=>{let{getCurrentUrl:t}=(0,DV.useContext)(Z),o=O.site==="stinson"?kf(t(),void 0):If(t());o.searchParams.delete("lang");let n=e.filter(r=>r!==ao);return x(kt,{children:[i("link",{rel:"alternate",hrefLang:"x-default",href:o.href}),i("link",{rel:"alternate",hrefLang:ao,href:o.href},ao),n?.map(r=>{let s=new URL(o.href);return s.searchParams.set("lang",r),i("link",{rel:"alternate",hrefLang:r,href:s.href},r)})]})};var LV=T(P());var Hl=T(P());var EV=e=>e!=="stinson"?{}:{playIcon:i("img",{alt:"","aria-hidden":!0,draggable:!1,height:16,src:"/play.svg",width:16}),pauseIcon:i("img",{alt:"","aria-hidden":!0,draggable:!1,height:16,src:"/stop.svg",width:16})};function Yv(e){return e.media??e.image}var Rpt=c` 12712 ${H} { 12713 padding-top: ${32}px; 12714 } 12715`,RV=e=>{let t=(0,Hl.useContext)(Se).elementLocation,{data:o}=ce(Vg,{variables:{id:e.sys.id}}),{accordionContentsCollection:n,mediaDirection:r="End",autoPlaySpeed:s=10,textAlignmentMobile:l=re.Start,useFullWidthLayout:p=!1,mediaAspectRatio:d}=o?.animatedAccordion??{},u=n?.items??[],y=(0,Hl.useMemo)(()=>u.map(C=>Yv(C)),[u]),m=mg(y),{getImageSources:g}=Ie(),{playIcon:f,pauseIcon:b}=(0,Hl.useMemo)(()=>EV(O.site),[]),S=(0,Hl.useMemo)(()=>u.map((C,I)=>{let k=Fo(C.title),v=go(C.body),A=Yv(C),{titleDataset:w,bodyDataset:D}=Re({entryId:C.sys.id,fieldIds:["title","body"]}),M={title:k,body:v,titleDataset:w,bodyDataset:D};if(!A)return M;if(A.__typename==="Video"){let{media:_,mobileMedia:F,thumbnailSource:$}=m[I]??{media:{},mobileMedia:{}};return{...M,videoSource:_.videoSource,mobileVideoSource:F.videoSource,sourceType:_.contentType,mobileSourceType:F.contentType,posterSource:$}}if(A.__typename==="Image"){let _=A,{imageSource:F,imageAltText:$}=Qe(_.media),{imageSource:B}=Qe(_.mobileMedia),{desktopSettings:V,mobileSettings:L}=ot({desktopHeight:_.media?.height??0,mobileHeight:_.mobileMedia?.height,enableHighDpi:_.enableHighDpi,quality:_.quality}),z=$e({desktop:g(F,V),mobile:g(B,L)});return{...M,imgSrcs:z,imageAltText:$}}return M}),[u,g,m]);return i(jA,{items:S,mediaDirection:r,autoPlaySpeed:s,textAlignmentMobile:l,useFullWidthLayout:p,mediaAspectRatio:d,playIcon:f,pauseIcon:b,onItemSelect:C=>{ge({eventCategory:"AnimatedAccordion",eventAction:"Click",eventLabel:`section: ${C}`,context:{elementLocation:t}})},onVideoPlayToggle:C=>{ge({eventCategory:"AnimatedAccordion",eventAction:"Click",eventLabel:C?"play video":"pause video",context:{elementLocation:t}})}})};var So=T(P());var Mf=T(P());var Xv=({analytics:e,date:t,label:o,media:n,slugReference:r,sys:s,title:l,url:p,brand:d})=>{let{formatDate:u}=Zn(),{logEvent:y}=(0,Mf.useContext)(nn),{getImageSources:m}=Ie(),{isRTL:g}=(0,Mf.useContext)(Z),{formatMessage:f}=(0,Mf.useContext)(We),b=ln(),S=p??(r?.slug?`/${r.slug}`:void 0),C=()=>{S&&y?.({component:"Editorial Gallery Card",type:"Click",label:e?.label?`${e.label} - ${S}`:S,url:S})},{imageSource:I,imageAltText:k}=Qe(n?.media),{imageSource:v}=Qe(n?.mobileMedia);I||(I=Xg,k=Jg);let A=oi[n?.quality??"Standard"],w={size:Zg(A)},D=$e({desktop:m(I,w),mobile:m(v,w)}),{contentfulDescriptionDataset:M,brandDataset:_,titleDataset:F,labelDataset:$,mediaDataset:B,dateDataset:V}=Re({entryId:s.id,fieldIds:["title","brand","label","date","media","contentfulDescription"]});return i(MS,{brand:d,title:Fo(l),description:Fo(o),dateTime:t?new Date(t):void 0,date:u(t,EH).replaceAll("/","."),onClick:C,imgSrcs:D,imgAltText:k,link:S,ctaLabel:f({id:"editorial-gallery-cta-label",defaultMessage:"Read More"}),isRtl:g,dataset:M,brandDataset:_,titleDataset:F,descriptionDataset:$,mediaDataset:B,dateDataset:V,buttonSize:b==="specs"?xr.Compact:xr.Regular},s.id)};Xv.displayName="EditorialGalleryCard";var Jv=({emptyPlaceholder:e,tiles:t,emptyPlaceholderDataset:o,isGalleryLoading:n,defaultTileImage:r,brandDefaultTileImages:s,numberOfTiles:l})=>{let p=t?.map(m=>m.tileSysId)??[],{data:d,loading:u}=ce(Dl,{variables:{ids:p},skip:p.length===0||n}),y=d?.tileCollection?.items.slice().sort((m,g)=>p.indexOf(m.sys.id)-p.indexOf(g.sys.id));return n||u?i(ue,{children:Array.from({length:l??6}).map((m,g)=>i(TS,{},`skeleton-editorial-gallery-card-${g}`))}):i(ue,{children:y?.length?y.map(m=>{let g=m.brand?s?.find(f=>f?.brand===m.brand)?.image:void 0;return i(Xv,{...m,media:m.media??g??r},m.sys.id)}):i("div",{"data-testid":"mwp-editorial-gallery-placeholder",className:nf,children:i("p",{...te(o),children:e})})})};Jv.displayName="EditorialGalleryLazyTiles";var bo=T(P());var Qi=T(P());function Tf({galleryId:e,page:t,tags:o,pageSize:n=12,sortBy:r=Yg}){let s=(0,Qi.useContext)(Z),l=(0,Qi.useContext)(Ze),p=(0,Qi.useRef)(0),d=(0,Qi.useMemo)(()=>{let f=new URLSearchParams;f.append("galleryId",e),f.append("pageSize",`${n}`),f.append("sortBy",r),o.length&&f.append("tags",o.join(",")),f.append("page",`${t-1}`),s.currentLocale&&f.append("locale",s.currentLocale),s.userLocation.country&&f.append("country",s.userLocation.country);let b=l.getLowEntropyHints().platform;b&&f.append("platform",b);let S=l.getLowEntropyHints().isMobile?"Mobile":"Non-Mobile";return S&&f.append("device",S),f},[e,o,t,n,s.currentLocale,s.userLocation.country,l,r]),y=`${O.isClient?"":`http://localhost:${process.env.PORT??3e3}`}/api/gallery?${d}`,{data:m,isLoading:g}=cn({dataId:`/api/gallery?${d}`,dataAsync:async()=>{try{return await(await fetch(y)).json()}catch(f){ke.logError({component:"UseGalleryTiles",message:"Error loading gallery tiles",error:f})}}});return m?.total&&(p.current=m?.total),{paginationData:g?{tiles:[],total:p.current}:m,isLoading:g}}var Zv=e=>{window.requestAnimationFrame(()=>{let t=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue(lt),10),o=e?.getBoundingClientRect().top??0,n=window.scrollY;
12715window.scrollTo({top:o+n-(t+20),behavior:"smooth"})})},eI=e=>{let{gallery:t}=e,o=t.sys.id,{getUrlParams:n,setUrlParams:r}=(0,bo.useContext)(nn),{onRedirect:s,getCurrentUrl:l}=(0,bo.useContext)(Z),p=n?.()??{},[d,u]=(0,bo.useState)(t.hidePagination?1:Number(p?.page??1)),y=(0,bo.useMemo)(()=>{if(t?.dropdownsCollection)return af(t.dropdownsCollection.items,!0)},[t]),m=(0,bo.useMemo)(()=>y?y.map(M=>M.id):[],[y]),[g,f]=(0,bo.useState)(ri(p,m));(0,bo.useEffect)(()=>{let M=n?.()??{},_=ri(M,m),F=Number(M?.page??1);f(_),u(F)},[m,n]);let{paginationData:b,isLoading:S}=Tf({galleryId:o,page:d,pageSize:t?.itemsPerPage,tags:Object.values(g),sortBy:t?.sortBy}),C=(0,bo.useRef)(null),I=(0,bo.useCallback)((M,_)=>{if(!r)return;let F=Ao(g),$=n?.()??{},B=Ht($,m);_?F[M]=_:F=Ht(F,M),f(F),u(1),r({...B,...F,page:"1"})},[m,n,r,g]),k=(0,bo.useCallback)(M=>{if(!r)return;let _=n?.()??{},F=Ao(_);F.page=`${M}`,u(M),r(F),Zv(C.current)},[n,r,C.current]),v=(0,bo.useCallback)(()=>{if(!r)return;let M=n?.()??{},_=Ht(M,m);u(1),f({}),r({..._,page:"1"})},[m,n,r]),{mobileFiltersWrapperTextDataset:A,clearFiltersCtaCopyDataset:w,emptyPlaceholderDataset:D}=Re({entryId:o,fieldIds:["emptyPlaceholder","loadMoreCtaCopy","mobileFiltersWrapperText","clearFiltersCtaCopy"]});if(s&&O?.redirects?.queryRedirects){let M=new Set(Object.keys(O.redirects.queryRedirects));if(Object.keys(p).some($=>M.has($))){let $=new URL(l()),B=new URL(`${$.protocol}//${$.host}${$.pathname}`);for(let[V,L]of Object.entries(p)){if(M.has(V)){B.searchParams.set(`${wl}${V}`,String(L));continue}B.searchParams.set(V,String(L))}return B.hash=$.hash,s(`${B.pathname}${B.search}${B.hash}`,{newTab:!1}),null}}return x("div",{"data-testid":"mwp-lazy-gallery",ref:C,className:HH,children:[y&&!t.hideFilters?i(Fp,{searchMenus:y,selectedFilters:g,onChangeFilter:(M,_)=>I(M,_),onClearFilters:v,clearButtonLabel:t?.clearFiltersCtaCopy,mobileFiltersToggleLabel:t?.mobileFiltersWrapperText,mobileFiltersWrapperTextDataset:A,clearFiltersCtaCopyDataset:w}):null,i(Hv,{emptyPlaceholder:t.emptyPlaceholder,tiles:b?.tiles,showDates:t.showDates,showDescriptions:t.showDescriptions,showMedia:t.showMedia,emptyPlaceholderDataset:D,isGalleryLoading:S,defaultTileImage:t.defaultImage??void 0,brandDefaultTileImages:t.brandDefaultImagesCollection?.items,numberOfTiles:t?.itemsPerPage??12}),b?.total&&!t.hidePagination?i(wi,{totalPages:Math.floor((b.total-1)/(t?.itemsPerPage??12))+1,currentPage:d,onChange:k}):null]})};eI.displayName="Gallery";var tI=e=>{let{gallery:t}=e,o=t.sys.id,{getUrlParams:n,setUrlParams:r}=(0,So.useContext)(nn),{onRedirect:s,getCurrentUrl:l}=(0,So.useContext)(Z),p=n?.()??{},[d,u]=(0,So.useState)(t.hidePagination?1:Number(p?.page??1)),y=(0,So.useMemo)(()=>{if(t?.dropdownsCollection)return af(t.dropdownsCollection.items,!0)},[t]),m=(0,So.useMemo)(()=>y?y.map(M=>M.id):[],[y]),[g,f]=(0,So.useState)(ri(p,m));(0,So.useEffect)(()=>{let M=n?.()??{},_=ri(M,m),F=Number(M?.page??1);f(_),u(F)},[m,n]);let{paginationData:b,isLoading:S}=Tf({galleryId:o,page:d,pageSize:t?.itemsPerPage||6,tags:Object.values(g),sortBy:t?.sortBy}),C=(0,So.useRef)(null),I=(0,So.useCallback)((M,_)=>{if(!r)return;let F=Ao(g),$=n?.()??{},B=Ht($,m);_?F[M]=_:F=Ht(F,M),f(F),u(1),r({...B,...F,page:"1"})},[m,n,r,g]),k=(0,So.useCallback)(M=>{if(!r)return;let _=n?.()??{},F=Ao(_);F.page=`${M}`,u(M),r(F),Zv(C.current)},[n,r,C.current]),v=(0,So.useCallback)(()=>{if(!r)return;let M=n?.()??{},_=Ht(M,m);u(1),f({}),r({..._,page:"1"})},[m,n,r]),{mobileFiltersWrapperTextDataset:A,clearFiltersCtaCopyDataset:w,emptyPlaceholderDataset:D}=Re({entryId:o,fieldIds:["emptyPlaceholder","loadMoreCtaCopy","mobileFiltersWrapperText","clearFiltersCtaCopy"]});if(s&&O?.redirects?.queryRedirects){let M=new Set(Object.keys(O.redirects.queryRedirects));if(Object.keys(p).some($=>M.has($))){let $=new URL(l()),B=new URL(`${$.protocol}//${$.host}${$.pathname}`);for(let[V,L]of Object.entries(p)){if(M.has(V)){B.searchParams.set(`${wl}${V}`,String(L));continue}B.searchParams.set(V,String(L))}return B.hash=$.hash,s(`${B.pathname}${B.search}${B.hash}`,{newTab:!1}),null}}return x("div",{"data-testid":"mwp-lazy-editorial-gallery",ref:C,className:VH,children:[y&&!t.hideFilters?i(Fp,{searchMenus:y,selectedFilters:g,onChangeFilter:(M,_)=>I(M,_),onClearFilters:v,clearButtonLabel:t?.clearFiltersCtaCopy,mobileFiltersToggleLabel:t?.mobileFiltersWrapperText,mobileFiltersWrapperTextDataset:A,clearFiltersCtaCopyDataset:w}):null,i("div",{className:h({[Kw]:!S&&b&&b?.tiles?.length>0}),children:i(Jv,{emptyPlaceholder:t.emptyPlaceholder,tiles:b?.tiles,emptyPlaceholderDataset:D,isGalleryLoading:S,defaultTileImage:t.defaultImage??void 0,brandDefaultTileImages:t.brandDefaultImagesCollection?.items,numberOfTiles:t?.itemsPerPage??6})}),b?.total&&!t.hidePagination?i(wi,{totalPages:Math.floor((b.total-1)/(t?.itemsPerPage??6))+1,currentPage:d,onChange:k,className:OH}):null]})};tI.displayName="EditorialGallery";var oI=e=>{let t=e.sys.id,{data:o}=ce(of,{variables:{id:t}}),n=o?.gallery,r=n?.galleryType==="Editorial";return n?r?i(tI,{gallery:n}):i(eI,{gallery:n}):null};oI.displayName="LazyGallery";var nI=e=>{let{data:t}=ce(sf.all,{variables:{id:e.sys.id}});return t?.mosaic?i(Ov,{...t.mosaic,__typename:"Mosaic"}):null};nI.displayName="Mosaic";var aI=T(Ua());var rI=T(P());var FV=R` 12716 query TileAndRelatedContentQuery( 12717 $preview: Boolean! 12718 $locale: String! 12719 $ids: [String]! 12720 $relatedContentId: String! 12721 $slugId: String 12722 ) { 12723 tileCollection( 12724 preview: $preview 12725 locale: $locale 12726 where: { sys: { id_in: $ids }, slugReference: { sys: { id_not: $slugId } } } 12727 ) { 12728 total 12729 items { 12730 ...TileAll 12731 } 12732 } 12733 relatedContent(preview: $preview, locale: $locale, id: $relatedContentId) { 12734 defaultImage { 12735 ...ImageAll 12736 } 12737 } 12738 } 12739 ${si.all} 12740 ${Le.all} 12741`;var qi=T(P());function BV({page:e,tags:t,pageSize:o=12,sortBy:n=Yg}){let r=(0,qi.useContext)(Z),s=(0,qi.useContext)(Ze),l=(0,qi.useRef)(0),p=(0,qi.useMemo)(()=>{let g=new URLSearchParams;g.append("pageSize",`${o}`),g.append("sortBy",n),t.length&&g.append("tags",t.join(",")),g.append("page",`${e-1}`),r.currentLocale&&g.append("locale",r.currentLocale),r.userLocation.country&&g.append("country",r.userLocation.country);
12741let f=s.getLowEntropyHints().platform;f&&g.append("platform",f);let b=s.getLowEntropyHints().isMobile?"Mobile":"Non-Mobile";return b&&g.append("device",b),g},[t,e,o,r.currentLocale,r.userLocation.country,s,n]),u=`${O.isClient?"":`http://localhost:${process.env.PORT??3e3}`}/api/related-content?${p}`,{data:y,isLoading:m}=cn({dataId:`/api/related-content?${p}`,dataAsync:async()=>{try{return await(await fetch(u)).json()}catch(g){ke.logError({component:"UseRelatedContent",message:"Error loading related content tiles",error:g})}}});return y?.total&&(l.current=y?.total),{paginationData:m?{tiles:[],total:l.current}:y,isLoading:m}}var Foe=10,Boe={day:"2-digit",month:"2-digit",year:"2-digit",timeZone:"UTC"},$V=e=>{let{topics:t,slugId:o=""}=(0,rI.useContext)($o),{getImageSources:n}=Ie(),{isRTL:r}=(0,rI.useContext)(Z),{formatDate:s}=Zn(),l=t?.map(C=>C.topicId||"")??[],{paginationData:p,isLoading:d}=BV({page:1,pageSize:Foe,tags:l}),{data:u,loading:y}=ce(FV,{variables:{ids:p?.tiles?.map(C=>C?.tileSysId)??[],relatedContentId:e.sys.id,slugId:o}}),m="https://images.ctfassets.net/kp51zybwznx4/120IJvdruE5HeC9XBYjFiU/879b8f63bde0d27c0750ade94c4b1a39/Default_Gallery_Image.png",{media:{imageSource:g,imageAltText:f},mobileMedia:{imageSource:b}}=jt(u?.relatedContent?.defaultImage),S=u?.tileCollection?.items.length||0;return!d&&!y&&S>0?i(fa,{isRtl:r,children:u?.tileCollection?.items.map(C=>{let I=C.media?.media?.contentType,k=I?.startsWith("video/"),v=!!I,A=v?C.media:u?.relatedContent?.defaultImage,w=oi[A?.quality??"Standard"],D={size:wv(w),quality:w},M=$e({desktop:n(v?C.media?.media.url:g||m,D),mobile:n(v?C.media?.mobileMedia?.url:b,D)}),_=C.slugReference?.slug||"",F=C.title?.json?C.title.json:"",$=C.label?.json?C.label?.json:"",B=C.date?s(C.date,Boe).replaceAll("/","."):"";return i(Un,{title:(0,aI.documentToPlainTextString)(F),body:(0,aI.documentToPlainTextString)($),date:B,brand:C?.brand,url:_?`/${_}`:void 0,imgSrcs:k?void 0:M,imgAltText:C.media?.media?.description||f,videoSource:k?C.media?.media?.url:void 0,mobileVideoSource:k?C.media?.mobileMedia?.url:void 0,aspectRatio:"9:16",hideLinkArrow:Ld[O.site]?.includes("snap"),relatedContent:!0},`${C.__typename}-${C.sys.id}`)})}):null};var HV=e=>{switch(e.__typename){case"Gallery":return i(oI,{...e});case"CarouselV3":return i(Gc,{...e});case"Tabs":return i(Uv,{...e});case"Mosaic":return i(nI,{...e,__typename:"Mosaic"});case"Form":return i(Uc,{...e});case"ChartToggle":return i(jv,{...e});case"BarChart":return i(El,{...e});case"LineChart":return i(Bl,{...e});case"GeoVisualization":return i(Fl,{...e});case"VisualizationSelector":return i(oV,{...e});case"TableVisualization":return i($l,{...e});case"Content":return i(Qc,{...e});case"Accordion":return i(U7,{...e});case"AnimatedAccordion":return i(RV,{...e});case"RelatedContent":return i($V,{...e});default:return Be({component:"Block",message:`Unknown content type: ${e.__typename} with id: ${e.sys.id}`}),i(ue,{children:"\u{1F47F}"})}};HV.displayName="BlockContent";var Vl=e=>{let{maxColumns:t,eyebrow:o,title:n,subtitle:r,titleAlignment:s,titleAlignmentMobile:l,contentsCollection:p,callsToActionCollection:d,anchorId:u,isNarrow:y,widthStyle:m,fullHeight:g,brandBackgroundColor:f,backgroundColor:b,backgroundMediaV2:S,theme:C,isNextSameBackgroundColor:I,isPreviousSameBackgroundColor:k,className:v,sys:A,preChildren:w,postChildren:D,showCurtain:M,denseLayout:_,topSpacing:F,bottomSpacing:$}=e,B=tt(f),{replacements:V}=(0,LV.useContext)($o),L=p;if(p?.items.length&&V){let ie=[...p.items];for(let ee=0;ee<ie.length;ee++){let be=ie[ee]?.sys?.id,Q=ie[ee]?.__typename;if(be&&V&&be in V){let le=V[be];le===void 0?ie.splice(ee,1):le&&le.__typename===Q&&(ie[ee]={sys:{id:le.sys.id},__typename:le.__typename})}}L={items:ie}}let{media:{imageSource:z,imageAltText:K,videoSource:ye},mobileMedia:{imageSource:se,imageAltText:ne,videoSource:oe},thumbnailSource:pe}=jt(S),ae=(L?.items??[]).map(ie=>i(HV,{...ie},ie.sys.id)),j=d.items.map(ie=>i(ft,{...ie},ie.sys.id)),{getImageSources:Y}=Ie(),J;if(S?.__typename==="Image"){let{desktopSettings:ie,mobileSettings:ee}=ot({desktopHeight:S.media?.height??0,mobileHeight:S.mobileMedia?.height,enableHighDpi:S.enableHighDpi,quality:S.qual
12741ity});J=$e({desktop:Y(z,ie),mobile:Y(se,ee)})}let U=S?.stickersCollection?.items?.map(ie=>({imgSrcs:Y(ie?.asset?.url),position:ie?.position,rotation:ie?.rotation})),E=Re({entryId:A.id,fieldIds:["eyebrow","title","subtitle"]}),X=(!!J||!!ye)&&M!==!1,W=i(oo,{callsToAction:j,anchorId:u,maxColumns:t??void 0,subtitle:Vi(r),eyebrow:o,title:so(n),titleAlignment:s,titleAlignmentMobile:l,widthStyle:m??(y?"narrow":void 0),motifScheme:B,backgroundColor:b??C,isNextSameBackgroundColor:I,isPreviousSameBackgroundColor:k,fullHeight:g,className:v,...E,preChildren:w,postChildren:D,backgroundVideoSource:ye,backgroundPosterSource:pe,mobileBackgroundVideoSource:oe,backgroundImageSources:J,backgroundImageAltText:K??ne,showCurtain:X,backgroundMediaStickers:U,denseLayout:_,topSpacing:F,bottomSpacing:$,children:ae});return u?i(Se.Provider,{value:{elementLocation:`block#${u}`},children:W}):W};Vl.displayName="Block";var VV=T(P());var GV=({localizedIn:e=[ao]})=>{let{currentLocale:t,getCurrentUrl:o}=(0,VV.useContext)(Z),n=O.site==="stinson"?kf(o(),void 0):If(o());return n.searchParams.delete("lang"),t!==ao&&e.includes(t)&&n.searchParams.set("lang",t),i(kt,{children:i("link",{rel:"canonical",href:n.href})})};var $oe=Symbol.for("react.lazy"),Loe=e=>e.$$typeof===$oe,Ki=({component:e})=>Loe(e)?i(Ro,{children:i(e,{})}):i(e,{});Ki.displayName="ContentlessRenderer";var Af=T(P());var zV=R` 12742 query CookieInformation($preview: Boolean!, $locale: String!) { 12743 cookieModalCollection(limit: 1, preview: $preview, locale: $locale) { 12744 items { 12745 sys { 12746 publishedAt 12747 } 12748 cookieCategoriesCollection(limit: 13) { 12749 items { 12750 title 12751 cookiesCollection(limit: 200) { 12752 items { 12753 name 12754 provider { 12755 json 12756 } 12757 domains { 12758 json 12759 } 12760 purpose { 12761 json 12762 } 12763 expiration { 12764 json 12765 } 12766 } 12767 } 12768 } 12769 } 12770 } 12771 } 12772 } 12773`;var Hoe=c` 12774 table-layout: fixed; 12775 width: 100%; 12776 overflow-wrap: break-word; 12777 min-width: 600px; 12778`,Voe=c` 12779 overflow-x: auto; 12780`,UV=()=>{let e=Kr(),{globalApolloClient:t}=(0,Af.useContext)(Ge),{currentLocale:o}=(0,Af.useContext)(Z),{formatMessage:n}=(0,Af.useContext)(We),r=n({id:"name",defaultMessage:"Name"}),s=n({id:"provider",defaultMessage:"Provider"}),l=n({id:"domains",defaultMessage:"Domains"}),p=n({id:"purpose",defaultMessage:"Purpose"}),d=n({id:"expiration",defaultMessage:"Expiration"}),u=n({id:"cookieInformation",defaultMessage:"Cookie Information"}),y=n({id:"updatedOn",defaultMessage:"Updated On: "}),{data:m}=Cn(zV,{currentLocale:e.locale,isPreview:e.preview,isSSR:O.isSSR},{client:t}),g=va(m?.cookieModalCollection.items);if(!g)return i(Dd,{});let f=g.sys?.publishedAt,S=new Date(f).toLocaleDateString(o,{year:"numeric",month:"long",day:"numeric"}),C=g.cookieCategoriesCollection.items,I=[{Header:r,accessor:"name"},{Header:s,accessor:v=>{let A=v.provider;return go(A)}},{Header:l,accessor:v=>{let A=v.domains;return go(A)}},{Header:p,accessor:v=>{let A=v.purpose;return go(A)}},{Header:d,accessor:v=>{let A=v.expiration;return go(A)}}],k=C.map(v=>{let A=v.title,w=v.cookiesCollection.items.map(D=>({name:D.name,purpose:D.purpose,provider:D.provider,expiration:D.expiration,domains:D.domains}));
12780return i(Fs,{anchorId:na(A.toLowerCase()),title:A,body:i("section",{className:Voe,children:i(FM,{data:w,columns:I,className:Hoe})})},A)});return i(oo,{title:u,maxColumns:1,subtitle:`${y} ${S}`,children:k})};var Ef=T(P());var WV=e=>{let{data:t}=ce(m9,{variables:{id:e.sys.id}});return t?.block?i(Vl,{...t.block}):null};var tO=T(P());var YV=T(P());var QV=c` 12781 height: 100%; 12782 object-fit: contain; 12783 pointer-events: none; 12784 position: relative; 12785 width: 65%; 12786`,qV=c` 12787 align-items: center; 12788 border: 2px solid ${a("--palette-black-v50")}; 12789 border-radius: ${a("--border-radius-l")}; 12790 box-shadow: none; 12791 display: flex; 12792 justify-content: center; 12793 height: 185px; 12794 overflow: hidden; 12795 position: relative; 12796 transition: border-color 0.2s linear, box-shadow 0.2s linear; 12797 width: 100%; 12798 12799 :hover { 12800 border-color: ${a("--palette-black-v200")}; 12801 box-shadow: ${a("--box-shadow-m")}; 12802 } 12803 12804 ${Mt} { 12805 height: 148px; 12806 } 12807`,KV=c` 12808 align-items: center; 12809 bottom: 0; 12810 display: flex; 12811 justify-content: center; 12812 left: 0; 12813 position: absolute; 12814 right: 0; 12815 top: 0; 12816 12817 img { 12818 transition: transform 0.2s linear; 12819 } 12820 12821 :hover img { 12822 transform: scale(1.2); 12823 } 12824`,jV=c` 12825 height: 100%; 12826 object-fit: cover; 12827 width: 100%; 12828`,iI=c` 12829 display: flex; 12830 justify-content: center; 12831 height: 100%; 12832 width: 100%; 12833`;function XV({url:e,backgroundImageSources:t,foregroundImageSources:o}){let n=(0,YV.useContext)(Se).elementLocation;return x(fn,{href:e,className:qV,onClick:()=>{ge({eventCategory:"AnimatedMediaCard",eventAction:"Click",eventLabel:`to: ${e}`,context:{targetUrl:e,elementLocation:n}}),no(e)&&ke.flush()},children:[i("div",{className:KV,children:i(Ye,{imgSrcs:t,imgClassName:jV,className:iI})}),i(Ye,{imgSrcs:o,imgClassName:QV,className:iI})]})}var JV=c` 12834 display: grid; 12835 gap: ${a("--spacing-xl")}; 12836 grid-template-columns: repeat(2, minmax(0, 1fr)); 12837 12838 ${To} { 12839 gap: ${a("--spacing-m")}; 12840 grid-template-columns: minmax(0, 1fr); 12841 } 12842`,ZV=c` 12843 margin-top: ${a("--spacing-xl")}; 12844`,eO=c` 12845 margin-bottom: ${a("--spacing-l")}; 12846`;var oO=({callsToActionCollection:e,cardsCollection:t,eyebrow:o,textAlignment:n=re.Center,textAlignmentMobile:r=re.Center})=>{let{getImageSources:s}=Ie(),l=xt(),p=(0,tO.useMemo)(()=>l?1:t?.items?.length===3?3:2,[l,t?.items?.length]),d=e?.items?.map(u=>i(ft,{...u},u.sys.id));return i(oo,{callsToAction:d,eyebrow:o,maxColumns:p,titleAlignment:n,titleAlignmentMobile:r,children:i("div",{className:h(JV,{[ZV]:!!o,[eO]:!!d?.length}),children:t?.items?.map(u=>i(XV,{url:u.url,backgroundImageSources:s(u.backgroundMedia.url),foregroundImageSources:s(u.foregroundMedia.url)},u.sys.id))})})};var Ooe=R` 12847 fragment AnimatedMediaCardAll on AnimatedMediaCard { 12848 ...ContentfulSysId 12849 backgroundMedia { 12850 ...AssetAll 12851 } 12852 foregroundMedia { 12853 ...AssetAll 12854 } 12855 url 12856 } 12857 ${$t.all} 12858 ${G} 12859`,Goe=R` 12860 fragment CardBlockAll on CardBlock { 12861 ...ContentfulSysId 12862 eyebrow 12863 cardsCollection(limit: 4) { 12864 items { 12865 ...AnimatedMediaCardAll 12866 } 12867 } 12868 callsToActionCollection(limit: 9) { 12869 items { 12870 ... on CallToAction { 12871 ...CallToActionAll 12872 } 12873 } 12874 } 12875 textAlignment 12876 textAlignmentMobile 12877 } 12878 ${mt} 12879 ${G} 12880 ${Ooe} 12881`,nO=R` 12882 query CardBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 12883 cardBlock(preview: $preview, locale: $locale, id: $id) { 12884 ...ContentfulSysId 12885 ...CardBlockAll 12886 } 12887 } 12888 ${G} 12889 ${Goe} 12890`;var aO=e=>{let{data:t}=ce(nO,{variables:{id:e.id}});return t?.cardBlock?i(oO,{...t.cardBlock}):null};var rO=c` 12891 ${To} { 12892 .${"sdsm-gallery"} > * { 12893 width: 100%; 12894 } 12895 } 12896`,iO=c` 12897 margin-top: ${a("--spacing-xl")}; 12898`;var wf=T(P());function sI(e){return new bn(function(t,o){return new es(function(n){var r,s,l;try{r=o(t).subscribe({next:function(p){if(p.errors&&(l=e({graphQLErrors:p.errors,response:p,operation:t,forward:o}),l)){s=l.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(p)},error:function(p){if(l=e({operation:t,networkError:p,graphQLErrors:p&&p.result&&p.result.errors,forward:o}),l){s=l.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(p)},complete:function(){l||n.complete.bind(n)()}})}catch(p){e({networkError:p,operation:t,forward:o}),n.error(p)}return function(){r&&r.unsubscribe(),s&&r.unsubscribe()}})})}var $yt=(function(e){bd(t,e);function t(o){var n=e.call(this)||this;return n.link=sI(o),n}return t.prototype.request=function(o,n){return this.link.request(o,n)},t})(bn);var lI=class extends Sd{writeQuery(t){let o=Bo().startSpan(`InMemoryCache.writeQuery: ${mr(t.query)}`),n=super.writeQuery(t);return o.endSpan(),n}diff(t){let o=Bo().startSpan(`InMemoryCache.diff: ${mr(t.query)}`),n=super.diff(t);return o.endSpan(),n}readQuery(t,o){let n=Bo().startSpan(`InMemoryCache.readQuery: ${mr(t.query)}`),r=super.readQuery(t,o);return n.endSpan(),r}};function sO(e,t){let o=(l,p)=>{let d=l;return d.sys?.id?`${p.typename}:${d.sys.id}`:Pk(d.sys)?`${p.typename}:${d.sys.__ref.split(":")[1]}`:(console.info(`Apollo Query missing { sys { id }}
12898. Add '...ContentfulSysId' field. Type: ${p.typename}`),Ek(l))},n=Object.fromEntries(e.Entry.flatMap(l=>[[l,{keyFields:o}]])),r={possibleTypes:e,typePolicies:n},s=new lI(r);if(t){let l=Bo().startSpan("restoringContentfulCache");s.restore(t),l.endSpan()}return s}var lO=(e="")=>{let t=0;return()=>`${e}${++t}`},pO=new bn((e,t)=>{let o={},n={},r=lO("f"),s=lO("v");sb(e.query,{VariableDefinition:u=>{let y=u.variable.name.value;n[y]||(n[y]=s())},FragmentDefinition:u=>{let y=u.name.value;o[y]||(o[y]=r())}});let l={};for(let u in e.variables){let y=n[u]||u;l[y]=e.variables[u]}e.variables=l;let p=Ao(e.query),d={VariableDefinition:u=>{let y=n[u.variable.name.value];return y?{...u,variable:{...u.variable,name:{...u.variable.name,value:y}}}:!1},Variable:u=>{let y=n[u.name.value];return y?{...u,name:{...u.name,value:y}}:!1},FragmentDefinition:u=>{let y=o[u.name.value];return y?{...u,name:{...u.name,value:y}}:!1},FragmentSpread:u=>{let y=o[u.name.value];return y?{...u,name:{...u.name,value:y}}:!1}};return e.query=sb(p,d),t(e)});var cO=new bn((e,t)=>{let o=e.operationName,n=e.variables.locale??"en-US",r="Contentful",s="request_duration",l=e.getContext().currentUrl,p=l?new URL(l).pathname:"/",d={queryName:o,locale:n,requestPath:p};return new es(u=>{e.setContext({startMs:performance.now()});let y=t(e).subscribe({next:m=>{u.next(m)},complete:()=>{let m=performance.now()-e.getContext().startMs,g=e.getContext().response,f=g?.status??200;qa({eventCategory:r,eventVariable:s,eventValue:m,eventLabel:null,context:{...d,responseStatus:f,contentfulRequestStatus:"complete","x-contentful-region":g?.headers?.get("x-contentful-region"),"x-cache":g?.headers?.get("x-cache"),"x-contentful-request-id":g?.headers?.get("x-contentful-request-id"),"x-served-by":g?.headers?.get("x-served-by")}}),u.complete()},error:m=>{let g=performance.now()-e.getContext().startMs,f=e.getContext().response,b=f?.status??500;qa({eventCategory:r,eventVariable:s,eventValue:g,eventLabel:null,context:{...d,responseStatus:b,contentfulRequestStatus:"error","x-contentful-region":f?.headers?.get("x-contentful-region"),"x-cache":f?.headers?.get("x-cache"),"x-contentful-request-id":f?.headers?.get("x-contentful-request-id"),"x-served-by":f?.headers?.get("x-served-by")}}),u.error(m)}});return()=>{y.unsubscribe()}})});var zoe="https://unknown.url",Uoe=new Map().set(400,"BadRequest").set(401,"AccessTokenInvalid").set(403,"AccessDenied").set(404,"NotFound").set(409,"VersionMismatch").set(422,"ValidationFailed").set(429,"RateLimitExceeded").set(500,"ServerError").set(502,"Hibernated"),pI=e=>{let t=e.environmentName?`https://graphql.contentful.com/content/v1/spaces/${e.spaceId}/environments/${e.environmentName}`:`https://graphql.contentful.com/content/v1/spaces/${e.spaceId}`,o={Authorization:`Bearer ${O.isPreview&&e.previewAccessToken?e.previewAccessToken:e.accessToken}`};return O.isClient||(o["fastly-debug"]="1"),{uri:t,credentials:"same-origin",headers:o,fetch:En,print(n,r){return Dk(r(n))}}},_f=(e,t,o)=>{let n=new mL({delay:{max:100},attempts:{max:VM,retryIf:(d,u)=>{if(d){let y=Ft(d),m=u.getContext().response,g=m?.status??500,f=g===429||g>=500&&g<600;return f&&Hn({eventAction:"RetryFetch",eventCategory:"Apollo",eventLabel:mr(u.query),context:{responseCode:String(g),errorMessage:y.message,"x-contentful-region":m?.headers?.get("x-contentful-region"),"x-cache":m?.headers?.get("x-cache"),"x-contentful-request-id":m?.headers?.get("x-contentful-request-id")}}),f}return!1}}}),r=sI(({graphQLErrors:d,networkError:u,operation:y})=>{if(d&&d.forEach(m=>{let g=m.extensions?.contentful?.code,f=y.getContext().response;Be({component:"Contentful",error:m,action:"GraphQlError",message:m.message,context:{errorName:g?.toLowerCase()??"unknown",variables:JSON.stringify(y.variables),queryName:mr(y.query),queryPath:m.path?.join(","),locations:m.locations?.join(","),requestUrl:y.getContext().currentUrl,"x-contentful-region":f?.headers?.get("x-contentful-region"),"x-cache":f?.headers?.get("x-cache"),"x-contentful-request-id":f?.headers?.get("x-contentful-request-id")}})}),u){let m=u.name==="ServerError"?u:void 0,g=y.getContext().response,f=m?.statusCode??599,b=Uoe.get(f)??"Unknown";Be({component:"Contentful",error:u,action:"NetworkError",message:`${u.name}/${b} (${f}
12898)`,context:{name:u.name,errorCode:f,errorName:b,url:new URL(m?.response?.url??zoe),requestUrl:y.getContext().currentUrl,"x-contentful-region":g?.headers?.get("x-contentful-region"),"x-cache":g?.headers?.get("x-cache"),"x-contentful-request-id":g?.headers?.get("x-contentful-request-id")}})}}),s=new bn((d,u)=>{let y=Bo().startSpan(`ApolloQuery: ${d.operationName}`);return u(d).map(m=>(y.endSpan(),m))}),l=bn.from([pO,s,cO,r,n,Nk(pI(e))]);return new hd({link:l,cache:sO(t,o),ssrMode:!O.isClient,ssrForceFetchDelay:O.isSSR?100:0})};var Woe=3e4,jc=new Map;!O.isClient&&!O.isTest&&setInterval(()=>{for(let[e,[t,o]]of Array.from(jc.entries())){let n=o();jc.set(e,[n,o])}},Woe);var Yc=(e,t)=>{if(O.isPreview)return _f(...t);let n=`${t[0].spaceId}/${e}`;if(jc.has(n)){let[s]=jc.get(n);return s}let r=_f(...t);return jc.set(n,[r,()=>_f(...t)]),r};var Df=()=>{let{currentLocale:e}=(0,wf.useContext)(Z),t=Qoe.has(e)?e:ao;return(0,wf.useMemo)(()=>{let n={spaceId:WM.newsroom,environmentName:"production",accessToken:zM.newsroom},r=Yc(t,[n,{Entry:["Tile"]},{}]);return{locale:t,preview:!1,fetchPolicy:"cache-first",apolloClient:r}},[t])},Qoe=new Set(["ar","bn-BD","bn-IN","da-DK","de-DE","el-GR","en-GB","en-US","es-AR","es-ES","es-MX","es","fi-FI","fil-PH","fr-FR","gu-IN","hi-IN","id-ID","it-IT","ja-JP","kn-IN","ko-KR","ml-IN","mr-IN","ms-MY","nb-NO","nl-NL","pa","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sv-SE","ta-IN","te-IN","th-TH","tr-TR","ur-PK","vi-VN","zh-Hans","zh-Hant"]);var ji=T(P());function dO({galleryId:e,locale:t,pageSize:o=2}){let n=(0,ji.useContext)(Z),r=(0,ji.useContext)(Ze),s=(0,ji.useRef)(0),l=(0,ji.useMemo)(()=>{let y=new URLSearchParams;y.append("galleryId",e),y.append("pageSize",`${o}`),y.append("sortBy","By Date"),y.append("spaceId","newsroom"),y.append("page","0"),y.append("locale",t),n.userLocation.country&&y.append("country",n.userLocation.country);let m=r.getLowEntropyHints().platform;m&&y.append("platform",m);let g=r.getLowEntropyHints().isMobile?"Mobile":"Non-Mobile";return g&&y.append("device",g),y},[e,o,t,n.userLocation.country,r]),p=`https://newsroom.snap.com/api/gallery?${l}`,{data:d,isLoading:u}=cn({dataId:`/api/gallery?${l}`,dataAsync:async()=>{try{return await(await fetch(p)).json()}catch(y){ke.logError({component:"UseNewsroomGalleryTiles",message:"Error loading gallery tiles",error:y})}}});return d?.total&&(s.current=d?.total),{paginationData:u?{tiles:[],total:s.current}:d,isLoading:u}}var uO=T(P());function yO(e){let{getCurrentUrl:t}=(0,uO.useContext)(Z),{locale:o,preview:n,fetchPolicy:r,apolloClient:s}=Df(),l={client:s,fetchPolicy:r,...e,context:{currentUrl:t(),...e?.context},variables:{preview:n,locale:o,...e?.variables},ssr:e?.ssr??O.isSSR};return Cd(Dl,l)}var mO=({numOfCards:e=2})=>i(Gr,{children:Array.from({length:e}).map((t,o)=>i(Ti,{},o))});var gO=({tileIds:e,defaultTileImage:t})=>{let{data:o,loading:n}=yO({variables:{ids:e}});if(n)return i(mO,{numOfCards:e.length});let r=o?.tileCollection?.items.slice().map(s=>{let l=s.url,p=s.slugReference?.slug??"";if(!l){let d=new URL("https://newsroom.snap.com/");d.pathname=p,l=d.href}return{...s,url:l}}).sort((s,l)=>e.indexOf(s.sys.id)-e.indexOf(l.sys.id));return i(Gr,{children:r?.map(s=>i(Wc,{...s,media:s.media??t,showDates:!0,showDescriptions:!0,showMedia:!0},s.sys.id))})};var fO=({galleryId:e,defaultTileImage:t,pageSize:o})=>{let{locale:n}=Df(),{paginationData:r}=dO({galleryId:e,locale:n,pageSize:o}),s=r?.tiles?.map(l=>l.tileSysId)??[];return s?.length?i(gO,{tileIds:s,defaultTileImage:t}):null};var bO=({eyebrow:e,numberOfNewsItems:t,textAlignment:o=re.Center,textAlignmentMobile:n=re.Center,callsToActionCollection:r,newsReference:s,defaultImage:l})=>{let p=s?.sys?.urn.split("/").at(-1)??"",d=r?.items?.map(u=>i(ft,{...u},u.sys.id));return i(oo,{eyebrow:e,callsToAction:d,maxColumns:1,titleAlignment:o,titleAlignmentMobile:n,children:p?i("div",{className:h(rO,{[iO]:!!e}),children:i(fO,{galleryId:p,pageSize:t,defaultTileImage:l})}):null})};var SO=({id:e})=>{let{data:t}=ce(Sf,{variables:{id:e}});return t?.newsBlock?i(bO,{...t?.newsBlock}):null};var cI=T(Ua());var vO=T(P());var hO=c` 12899 display: none; 12900 min-width: 300px; 12901 12902 ${H} { 12903 display: block; 12904 } 12905`,CO=c` 12906 list-style: none; 12907 position: sticky; 12908 top: var(${lt}); 12909`,xO=c` 12910 font-size: 26px; 12911 font-weight: 600; 12912 height: 54px; 12913 line-height: 54px; 12914 12915 a { 12916 color: ${a("--neutral-v700")}; 12917 overflow: hidden; 12918 padding-inline-start: ${a("--spacing-xxxxl")}; 12919 text-decoration: none; 12920 text-overflow: ellipsis; 12921 white-space: nowrap; 12922 12923 &::before { 12924 background-color: ${a("--global-header-item-hover-color")}; 12925 border-radius: ${a("--border-radius-xs")}; 12926 content: ' '; 12927 height: 32px; 12928 left: 0; 12929 margin-top: 10px; 12930 position: absolute; 12931 visibility: hidden; 12932 width: 7px; 12933 12934 *[dir='rtl'] & { 12935 left: unset; 12936 right: 0; 12937 } 12938 } 12939 12940 &:hover::before, 12941 &:active::before { 12942 visibility: visible; 12943 } 12944 } 12945`;var IO=({navItems:e})=>{let t=(0,vO.useContext)(Se).elementLocation,o=(n,r)=>{ge({eventCategory:"SnapSideMenu",eventAction:"Click",eventLabel:`to: ${n}`,context:{targetUrl:n,elementText:r,elementLocation:t}}),no(n)&&ke.flush()};return i("nav",{className:hO,children:i("ol",{className:CO,children:e?.map((n,r)=>i("li",{className:xO,children:i(tr,{title:(0,cI.documentToPlainTextString)(n?.title?.json),href:n.url,onClick:()=>o(n.url,(0,cI.documentToPlainTextString)(n?.title?.json))})},`list-item-${r}`))})})};db();var Yi=T(P());var kO=c` 12946 display: flex; 12947 flex-direction: row; 12948 gap: 0 ${a("--spacing-xxxxl")}; 12949 max-width: 100%; 12950 12951 ${To} { 12952 flex-wrap: wrap; 12953 } 12954`,MO=c` 12955 flex-grow: 2; 12956 padding: ${a("--spacing-xl")} 0; 12957 12958 > h1 { 12959 display: flex; 12960 flex-direction: column; 12961 min-width: 375px; 12962 position: relative; 12963 } 12964 12965 ${N} { 12966 display: block; 12967 width: 100%; 12968 12969 > h1 { 12970 min-width: unset; 12971 } 12972 } 12973`,TO=c` 12974 opacity: 0; 12975 position: absolute; 12976 /* Short animation to hide the ghost when user starts resizing */ 12977 transition: opacity 0.25s ease-in-out; 12978 12979 /* The following styles are to ensure consistent sizing for both image and video implementations */ 12980 div.sdsm-media-wrapper { 12981 height: 100%; 12982 } 12983 12984 img, 12985 video { 12986 height: 100%; 12987 margin: 0; 12988 object-fit: contain; 12989 } 12990`,AO=c` 12991 opacity: 1; 12992 /* Longer animation to show the ghost after user stops resizing */ 12993 transition: opacity 2s ease-in-out; 12994`,_O=c` 12995 right: 0; 12996 top: calc(-1 * ${a("--spacing-xl")}); 12997 12998 *[dir='rtl'] & { 12999 right: unset; 13000 left: 0; 13001 } 13002`,wO=c` 13003 right: 0; 13004 13005 /* Horizontally center the media in the container. 13006 This is meant to fill the space to the side of the Hero text so the component is visually balanced. */ 13007 img, 13008 video { 13009 margin: auto; 13010 } 13011 13012 *[dir='rtl'] & { 13013 right: unset; 13014 left: 0; 13015 } 13016`,DO=c` 13017 bottom: calc(-1 * ${a("--spacing-xl")}); 13018 right: 0; 13019 13020 *[dir='rtl'] & { 13021 right: unset; 13022 left: 0; 13023 } 13024`,PO=c` 13025 min-width: 200px; 13026 padding: ${a("--spacing-xl")} 0; 13027 13028 /* handle edge case (wide screen) where left container has a greater height than right container */ 13029 display: flex; 13030 flex-direction: column; 13031 13032 p { 13033 margin-bottom: 1em; 13034 } 13035 13036 ${qe} { 13037 max-width: 50%; 13038 } 13039`;var NO=({title:e,title2:t,title3:o,media:n,body:r})=>{let s=[e];t&&s.push(t),o&&s.push(o);let l=(0,Yi.useRef)(null),p=(0,Yi.useRef)(Array.from({length:s.length})),[d,u]=(0,Yi.useState)({width:0,height:0,position:"Top",isVisible:!1});(0,Yi.useEffect)(()=>
13039{if(!n)return;let f=di(()=>{u(C=>({...C,isVisible:!1}))},500,{leading:!0,trailing:!1}),b=di(()=>{let I=window.innerWidth<1025,k=l.current?.offsetWidth??0,v=p.current[0]?.offsetHeight??0,A=p.current[0]?.offsetWidth??0,w=p.current[s.length-1]?.offsetHeight??0,D=p.current[s.length-1]?.offsetWidth??0,M=p.current.reduce((L,z)=>{let K=z?.offsetWidth??0;return Math.max(L,K)},0),_=A<D,F=I&&M<k*.6,$=0,B=32,V=_&&k-A-$<50;u(V?L=>({...L,isVisible:!1}):F?{width:k-M-$,height:v*s.length,position:"Middle",isVisible:!0}:_?{width:k-A-$,height:v+B,position:"Top",isVisible:!0}:{width:k-D-$,height:w+B,position:"Bottom",isVisible:!0})},500),S=()=>{f(),b()};return b(),window.addEventListener("resize",S),()=>{window.removeEventListener("resize",S)}},[n]);let y=Sg(!1,!1),m=n?.media,g=n?.mobileMedia;return i(oo,{maxColumns:1,children:x("div",{className:kO,children:[i("div",{ref:l,className:MO,children:x("h1",{children:[s.map((f,b)=>i("span",{children:i("span",{ref:S=>{p.current[b]=S},children:f})},b)),i("span",{style:{width:d.width,height:d.height},className:h(TO,{[AO]:d.isVisible,[_O]:d.position==="Top",[wO]:d.position==="Middle",[DO]:d.position==="Bottom"}),children:m&&i(Ke,{imageSource:m.url,altText:m.description,videoSource:m.url,sourceType:m.contentType,mobileVideoSource:g?.url})})]})}),r&&i("div",{className:PO,children:y(r)})]})})};var qoe=R` 13040 fragment SnapHomeHeroFragment on SnapHomeHero { 13041 ...ContentfulSysId 13042 title 13043 title2 13044 title3 13045 media { 13046 __typename 13047 ... on Video { 13048 ...VideoAll 13049 } 13050 ... on Image { 13051 ...ImageAll 13052 } 13053 } 13054 body { 13055 json 13056 } 13057 } 13058 ${Le.all} 13059 ${nt.all} 13060 ${G} 13061`,EO=R` 13062 query SnapHomeHero($id: String!, $locale: String!, $preview: Boolean!) { 13063 snapHomeHero(id: $id, locale: $locale, preview: $preview) { 13064 ...SnapHomeHeroFragment 13065 } 13066 } 13067 ${qoe} 13068`;var RO=e=>{let{data:t}=ce(EO,{variables:{id:e.id}});return t?.snapHomeHero?i(NO,{...t?.snapHomeHero}):null};var Nf=T(P());var Pf="--snap-com-background-color";var FO=c` 13069 display: flex; 13070 margin-top: calc(0px - var(${lt})); 13071 min-height: 100vh; 13072 min-width: 100%; 13073 padding-top: var(${lt}); 13074 13075 /* TODO: determine whether there is a more appropriate place to put the styles below */ 13076 13077 /* Override styles of Carousel component for better alignment with custom components: CardBlock, NewsBlock */ 13078 .${"sdsm-carousel"}.${"sdsm-carousel-multi-view"} > div { 13079 margin-inline-start: calc((${a("--carousel-card-mobile-grid-gap")} / 2) * -1); 13080 width: calc(100% + (${a("--carousel-card-mobile-grid-gap")} / 2)); 13081 13082 ${H} { 13083 margin-inline-start: calc((${a("--carousel-card-desktop-grid-gap")} / 2) * -1); 13084 width: calc(100% + (${a("--carousel-card-desktop-grid-gap")} / 2)); 13085 } 13086 } 13087`;var BO=({children:e})=>((0,Nf.useLayoutEffect)(()=>(document.body.style.setProperty(Pf,"transparent"),()=>{document.body.style.removeProperty(Pf)})),(0,Nf.useEffect)(()=>{let t=()=>{let o=hl(),r=Math.min(.4,window.scrollY/o);document.body.style.setProperty(Pf,`rgba(255, 252, 0, ${r})`)};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[]),i("section",{className:FO,children:e}));var $O=c` 13088 display: flex; 13089 flex-direction: column; 13090 flex-grow: 1; 13091 margin-bottom: ${a("--spacing-xxxl")}; 13092 13093 ${Mt} { 13094 margin-bottom: ${a("--spacing-xl")}; 13095 } 13096`;var LO=e=>{let{data:t}=ce(hf,{variables:{id:e.id}}),{setHasCustomSideNav:o}=(0,Ef.useContext)(sn);(0,Ef.useEffect)(()=>{o?.(!0)},[o]);let n=t?.snapHomePage.blocksCollection?.items??[],r=t?.snapHomePage.navigationItemsCollection?.items??[];return x(BO,{children:[r.length?i(IO,{navItems:r}):null,i("div",{className:$O,children:n?.map(s=>{let l=s.sys.id;switch(s.__typename){case"SnapHomeHero":return i(RO,{id:l},l);case"CardBlock":return i(aO,{id:l},l);case"NewsBlock":return i(SO,{id:l},l);case"Block":return i(WV,{...s},l);default:return null}})})]})};var qO=T(P());var Koe=1024,dI=Ga({min:Koe+1}),joe=Ga({max:vd}),HO=c` 13097 display: flex; 13098 flex-direction: column; 13099 flex-grow: 1; 13100 /* Set font-family here or the var from the default motif is used */ 13101 font-family: ${a("--font-family")}; 13102 margin-bottom: ${a("--spacing-xxxxl")}; 13103 padding-inline: ${a("--spacing-xl")}; 13104 13105 ${H} { 13106 /* Minus header height (64px) and footer height (66px) */ 13107 min-height: calc(100vh - 64px - 66px); 13108 } 13109 13110 ${dI} { 13111 margin-inline: auto; 13112 max-width: ${Qt}px; 13113 padding-inline: ${a("--spacing-xxxxl")}; 13114 width: 100%; 13115 } 13116`,VO=c` 13117 /* Override the desktop grid gap so that smaller desktop screens have the same gap as mobile */ 13118 ${joe} { 13119 --carousel-card-desktop-grid-gap: ${a("--carousel-card-mobile-grid-gap")}; 13120 } 13121 13122 .sdsm-carousel { 13123 /** 13124 * Remove the vertical spacing from the carousel container to allow the bottom of the cards 13125 * to be closer to the bottom of the screen. This is because there will be extra space below 13126 * the cards if there are no pagination dots. 13127 * */ 13128 & > div > div { 13129 margin-block: 0; 13130 } 13131 13132 /* Add spacing to the top of the pagination dots to make up for the removed container spacing above. */ 13133 & >
13133 nav { 13134 margin-top: ${a("--spacing-xl")}; 13135 } 13136 13137 /* 13138 * Override the height of the carousel card text container to 120px for SnapHomePageV2. 13139 */ 13140 & :has(> .sdsm-carousel-card-text) { 13141 ${N} { 13142 height: 120px; 13143 } 13144 } 13145 13146 /* Remove the min-height and absolute positioning from the carousel card text container */ 13147 .sdsm-carousel-card-text { 13148 min-height: unset; 13149 position: unset; 13150 13151 p { 13152 ${H} { 13153 text-align: center; 13154 } 13155 /** 13156 * The carousel changes font size for mobile and desktop, 13157 * but we need to increase at a different breakpoint 13158 * */ 13159 ${dI} { 13160 font-size: 16px; 13161 } 13162 } 13163 } 13164 } 13165`,OO=c` 13166 align-items: center; 13167 display: flex; 13168 flex-grow: 1; 13169 && { 13170 font-size: 26px; 13171 font-weight: 400; 13172 } 13173 max-width: 540px; 13174 /* Minus header height (64px) and height of carousel title and arrow indicator (70px) */ 13175 min-height: calc(100vh - 64px - 70px); 13176 padding-block: 56px; 13177 text-wrap: pretty; 13178 width: 100%; 13179 13180 /* If supported, use dvh for min-height to avoid address bar covering content on mobile */ 13181 @supports (min-height: 100dvh) { 13182 min-height: calc(100dvh - 64px - 70px); 13183 } 13184 13185 ${H} { 13186 && { 13187 font-size: 28px; 13188 } 13189 max-width: calc(590px + (2 * ${a("--spacing-xxxl")})); 13190 min-height: unset; 13191 padding: 56px ${a("--spacing-xxxl")}; 13192 } 13193 13194 ${dI} { 13195 && { 13196 font-size: 44px; 13197 } 13198 max-width: calc(1040px + (2 * ${a("--spacing-xxxl")})); 13199 } 13200`,GO=c` 13201 align-items: center; 13202 color: ${a("--block-eyebrow-color")}; 13203 display: flex; 13204 flex-direction: column; 13205 font-size: 14px; 13206 font-weight: 600; 13207 gap: ${a("--spacing-xs")}; 13208 justify-content: center; 13209 letter-spacing: -0.01em; 13210 line-height: 20px; 13211 margin-bottom: ${a("--spacing-m")}; 13212 text-align: center; 13213 13214 ${H} { 13215 margin-bottom: ${a("--spacing-xxxl")}; 13216 } 13217`,zO=c` 13218 ${H} { 13219 display: none; 13220 } 13221`,Yoe=Xo` 13222 from { 13223 opacity: 0; 13224 transform: translateY(-64px); 13225 } 13226 to { 13227 opacity: 1; 13228 transform: translateY(0); 13229 } 13230`,Xoe=Xo` 13231 from { 13232 opacity: 0; 13233 transform: translateY(-48px); 13234 } 13235 to { 13236 opacity: 1; 13237 transform: translateY(0); 13238 } 13239`,UO=c` 13240 animation-delay: 600ms; 13241 animation-duration: 800ms; 13242 animation-fill-mode: forwards; 13243 animation-timing-function: ease-in-out; 13244 opacity: 0; /* Start hidden immediately */ 13245 13246 @media (prefers-reduced-motion: reduce) { 13247 animation: none; 13248 opacity: 1; 13249 transform: none; 13250 } 13251`,WO=c` 13252 ${UO} 13253 animation-name: ${Yoe}; 13254`,QO=c` 13255 ${UO} 13256 animation-name: ${Xoe}; 13257`,uI=c` 13258 opacity: 0; 13259`;var KO=e=>{let{isRTL:t}=(0,qO.useContext)(Z),{data:o}=ce(Cf,{variables:{id:e.id}}),n=o?.snapHomePageV2?.title,r=o?.snapHomePageV2?.carouselTitle,s=o?.snapHomePageV2?.carouselCardsCollection?.items;return x("div",{className:h("sdsm-quinary",HO),children:[i("h1",{className:h(OO,o?WO:uI),children:n}),!!s?.length&&x("div",{className:h(VO,o?QO:uI),children:[x("div",{className:GO,children:[r,i(Te,{className:zO,name:"chevron-down",size:28})]}),i(fa,{isSingleView:!1,autoPlay:!1,isRtl:t,enableOverflowDecoration:!0,isResponsiveWidth:!0,children:s.map(l=>{let p=l;return p?.media?.__typename==="Video"?i(Oc,{cardItem:p,mediaAspectRatio:"16:9",enableVideoControls:!1,isResponsiveWidth:!0,hideLinkArrow:!0},p.sys.id):i(Vc,{cardItem:p,mediaAspectRatio:"16:9",isResponsiveWidth:!0,hideLinkArrow:!0},p.sys.id)})})]})]})};var jO={questionnaireAll:R` 13260 fragment QuestionnaireBlockAll on QuestionnaireBlock { 13261 ...ContentfulSysId 13262 questionnaireTitle: title 13263 body { 13264 json 13265 } 13266 image { 13267 url 13268 } 13269 questionsCollection(limit: 20) { 13270 items { 13271 ...QuestionnaireQuestionAll 13272 } 13273 } 13274 startLabel 13275 submitLabel 13276 nextLabel 13277 backLabel 13278 skipLabel 13279 trackingIdLabel 13280 anchorId 13281 } 13282 `,questionnaireQuestionAll:R` 13283 fragment QuestionnaireQuestionAll on QuestionnaireQuestion { 13284 ...ContentfulSysId 13285 questionType 13286 question 13287 backgroundImage { 13288 url 13289 } 13290 body { 13291 json 13292 } 13293 answersCollection { 13294 items { 13295 ... on QuestionnaireAnswer { 13296 ...ContentfulSysId 13297 title 13298 description { 13299 json 13300 } 13301 image { 13302 url 13303 } 13304 } 13305 } 13306 } 13307 required 13308 } 13309 ${G} 13310 `},YO=R` 13311 query QuestionnaireEntryQuery($preview: Boolean!, $locale: String!, $id: String!) { 13312 questionnaireBlock(preview: $preview, locale: $locale, id: $id) { 13313 ...QuestionnaireBlockAll 13314 } 13315 } 13316 ${jO.questionnaireAll} 13317 ${jO.questionnaireQuestionAll} 13318`;var yI=e=>{let{data:t}=ce(YO,{variables:{id:e.id}}),o=Joe(t);return o?i(void 0,{...o}):null};yI.displayName="QuestionnaireBlock";function Joe(e){if(!e)return null;let{questionnaireBlock:t}=e,{questionsCollection:o}=t,n=o.items.map(r=>({id:r.sys.id,question:r.question,body:r.body,questionType:r.questionType,image:r.backgroundImage?.url,answers:Zoe(r.answersCollection),required:r.required}));return{title:t.questionnaireTitle,body:t.body,image:t.image?.url,submitLabel:t.submitLabel,startLabel:t.startLabel,nextLabel:t.nextLabel,backLabel:t.backLabel,skipLabel:t.skipLabel,anchorId:t.anchorId,questions:n}}function Zoe(e){return e?e.items.map(o=>({id:o.sys.id,text:o.title,imageUrl:o.image?.url,isSelected:!1})):[]}function mI(){let e={AiAgent:void 0,ArDownloadFormBlock:void 0,ArDownloadIdCaptureBlock:void 0,ArDownloadLinkCard:void 0,ArLinkOutsBlock:void 0,AvalonHomeHero:void 0,AvalonDeepLinkBlock:void 0,AvalonProductHero:void 0,AvalonF
13318ormBlock:void 0,AvalonScrollSection:void 0,FixedPositionBlock:void 0,ValuePropsBlock:void 0,CheeriosBlock:void 0,CheeriosStaticBlock:void 0,ChiliPiperFormBlock:void 0,CookieInformationBlock:UV,JobApplyNowBlock:void 0,JobDescriptionBlock:void 0,JobHero:void 0,JobPostings:void 0,JobMobileCallToAction:void 0,QuestionnaireBlock:yI,SandboxCookieTest:void 0,LatestGalleryCardHero:void 0,RegistrationFormBlock:void 0,ArArkoseProtectedFormBlock:void 0,LeadGenFormBlock:void 0,ExperienceSps2024Registration:void 0,ExperienceSps2024Confirmation:void 0,CventAuthenticator:void 0,ZkipsterAuthenticator:void 0,MosaicGridBlock:void 0,LiveEvent:void 0,StinsonDeepLinkBlock:void 0,SnapHomePage:LO,SnapHomePageV2:KO,StinsonBreadcrumbsBlock:void 0,StinsonCollectionsCarousel:void 0,StinsonMediaFeatureBlock:void 0,StinsonMultiVideoBlock:void 0,StinsonMultiVideoCarouselBlock:void 0,StinsonSplitBlock:void 0,StinsonStoreEventsBlock:void 0,StinsonPhaseOneHome:void 0,StinsonPhaseOnePdpHero:void 0,StinsonRevealHome:void 0,StinsonUseCasesBlock:void 0,StinsonMediaBlock:void 0,StinsonVideoBlock:void 0},t={};for(let[o,n]of Object.entries(e))n&&(t[o]=n);return t}var Ol=T(P());var gI=R` 13319 fragment BreadcrumbsAll on Slug { 13320 breadcrumbText 13321 slugParent { 13322 ...ContentfulSysId 13323 slug 13324 breadcrumbText 13325 slugParent { 13326 ...ContentfulSysId 13327 slug 13328 breadcrumbText 13329 slugParent { 13330 ...ContentfulSysId 13331 slug 13332 breadcrumbText 13333 } 13334 } 13335 } 13336 } 13337 ${G} 13338`,Yft=R` 13339 query BreadcrumbsQuery($preview: Boolean!, $locale: String!, $id: String!) { 13340 slug(preview: $preview, locale: $locale, id: $id) { 13341 ...ContentfulSysId 13342 slug 13343 ...BreadcrumbsAll 13344 } 13345 } 13346 ${G} 13347 ${gI} 13348`;var fI=e=>{if(!e)return;let t=e.slugParent,o=e.breadcrumbText;if(!t||!o)return;let n=[];if(e.slugParent?.slugParent?.breadcrumbText){let r=e.slugParent.slugParent,s=e.slugParent.slugParent.breadcrumbText;n.push({id:r.sys?.id??`breadcrumb-${n.length}`,slug:r.slug?`/${r.slug}`:void 0,breadcrumbText:s})}if(e.slugParent?.breadcrumbText){let r=e.slugParent,s=e.slugParent.breadcrumbText;n.push({id:r.sys?.id??`breadcrumb-${n.length}`,slug:r.slug?`/${r.slug}`:void 0,breadcrumbText:s})}return e.breadcrumbText&&n.push({id:e.sys?.id??`breadcrumb-${n.length}`,slug:e.slug?`/${e.slug}`:void 0,breadcrumbText:e.breadcrumbText}),n.length>1?n:void 0},OG=e=>{if(typeof window>"u")return;let t=fI(e);if(t?.length)return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((o,n)=>({"@type":"ListItem",position:n+1,name:o.breadcrumbText,item:o.slug?`${window.location.origin}${o.slug}`:void 0}))}};var GG=T(Ua()),zG=e=>{if(e)return typeof e=="string"?e:(0,GG.documentToPlainTextString)(e.json)};var UG={month:"long",day:"2-digit",year:"numeric",timeZone:"UTC"},WG=({fallbackDate:e,header:t,isExpectingDate:o})=>{if(!o&&t)return()=>i(ue,{children:Fo(t)});let n=typeof t=="string"?t:zG(t)??"",r=new Date(n),s=!Number.isNaN(r.getTime());return o&&s?()=>{let{formatDate:l}=Zn();return i(ue,{children:l(r,UG)})}:o&&e?()=>{let{formatDate:l}=Zn();return i(ue,{children:l(e,UG)})}:null};var bI=e=>e?.__typename==="CarouselV3";var ene={sizeToUrl:[1,2,3].map(e=>({size:`${e}x`,settings:{width:460*e,height:84*e}})),sizes:Em},tne=(e,t)=>{let o=s=>{let l=s?.width??0,p=s?.height??0;if(!(l<=0||p<=0))return{height:p,width:l}},n=o(e),r=o(t);if(!(!n&&!r))return{desktop:n,mobile:r}},one=(e,t,o,n,r)=>{let s;if((Mc(e)||yg(e))&&(s=e?.stickersCollection?.items?.map(l=>({imgSrcs:t(l?.asset?.url),position:l?.position,rotation:l?.rotation}))),Mc(e)){let l=Qe(e.mobileMedia).videoSource;return i(xn,{mobileVideoSource:l,videoSource:n,posterSource:r,dataset:o,stickers:s})}if(yg(e)){let{imageSource:l,imageAltText:p}=Qe(e.media),{imageSource:d}=Qe(e.mobileMedia),{desktopSettings:u,mobileSettings:y}=ot({desktopHeight:e.media?.height??0,mobileHeight:e.mobileMedia?.height,desktopDefaultHeight:650,mobileDefaultHeight:650,enableHighDpi:e.enableHighDpi,quality:e.quality}),m=$e({desktop:t(l,u),mobile:t(d??l,y)});return i(xn,{imgSrcs:m,altText:p,dataset:o,stickers:s})}if(bI(e))return i(Gc,{...e,isInsideHero:!0});if(e.__typename==="SnapchatEmbed")return i(js,{...e,dataset:o})},Xc=e=>{let{eyebrow:t,title:o,subTitle:n,body:r,backgroundMediaLayout:s=A
13348i.FullScreen,backgroundMediaV2:l,callsToActionCollection:p,isHeaderDate:d=!1,header:u,headerMediaV2:y,brandBackgroundColor:m,backgroundColor:g,theme:f,textAlign:b,textAlignMobile:S,verticalTextAlign:C,fitWindow:I=!1,curtainOpacityPercentage:k,foreground:v,mediaWrap:A,className:w,footer:D,showMediaMobile:M,anchorId:_,sys:F,postChildren:$,size:B,showScrollButton:V,topics:L=[],displayTopics:z,increaseTitleFontSize:K}=e,ye=tt(m),se=(0,Ol.useContext)(Ze),ne=(0,Ol.useContext)(Se).elementLocation,{breadcrumbData:oe}=(0,Ol.useContext)($o),pe=fI(oe),ae=(0,Ol.useRef)(null),{fallbackDate:j,shareable:Y=!1}=e,{media:{imageSource:J,imageAltText:U,videoSource:E,imageSize:X},mobileMedia:{imageSource:W,imageAltText:ie,videoSource:ee,imageSize:be},thumbnailSource:Q}=jt(l),le=y?.media,{imageSource:De,imageAltText:me,imageSize:ve}=Qe(le),Ce=y?.mobileMedia,{imageSource:_e,imageSize:Pt}=Qe(Ce),pt=tne(ve,Pt),lo=p?.items?.map(Rt=>i(ft,{...Rt},Rt.sys.id)),ho=Re({entryId:F.id,fieldIds:["eyebrow","title","subTitle","body","header","foreground"]}),{getImageSources:at}=Ie(),{media:{videoSource:Me},thumbnailSource:Fe}=jt(v&&Mc(v)?v:void 0),jo=v?one(v,at,ho.foregroundDataset,Me,Fe):void 0,po=ht(g)?void 0:g,de=ht(f)?void 0:f,Lt=WG({header:u,isExpectingDate:d,fallbackDate:j}),gt={size:ene},St=$e({desktop:at(De,gt),mobile:at(_e,gt)}),Nt=zC(800,X?.height??0),Co;if(l?.__typename==="Image"){let{desktopSettings:Rt,mobileSettings:br}=ot({desktopHeight:X?.height??0,mobileHeight:be?.height,enableHighDpi:l.enableHighDpi,quality:l.quality});Co=$e({desktop:at(J,Rt),mobile:at(W,br)})}let Et,xo;if(fd(se.getLowEntropyHints())&&J&&Co){let Rt=Co.sources?.find(br=>br.type==="image/avif")?.url;Nt.additionalDpr?(Et={url:Aa(J,{image:{format:"avif",...Nt.baseDprSettings}}),dpr:Nt.additionalDpr.dpr-1e-4},xo={url:Aa(J,{image:{...Nt.additionalDpr.settings,format:"avif"}}),dpr:Nt.additionalDpr.dpr}):Rt&&(Et={url:Rt})}let Lo=B??"Regular";v&&bI(v)&&(Lo="Regular");let vo=()=>{if(!ae.current)return;ge({eventCategory:"Hero",eventAction:"Click",eventLabel:null,context:{elementLocation:ne}});let Rt=hl()??0,ib=ae.current.getBoundingClientRect().bottom+window.scrollY-Rt;window.scrollTo({top:ib,left:0,behavior:"smooth"})},ld=z&&L.map(Rt=>i(w$,{displayText:Rt.displayText||"",url:Rt.linksTo},Rt.sys.id)),pd=l?.stickersCollection?.items?.map(Rt=>({imgSrcs:at(Rt?.asset?.url),position:Rt?.position,rotation:Rt?.rotation}));return x(ue,{children:[!O.isClient&&Et&&x(kt,{children:[i("link",{rel:"preload",href:Et.url,as:"image",fetchpriority:"high",media:xo?`(-webkit-max-device-pixel-ratio: ${Et.dpr})`:""}),xo&&i("link",{rel:"preload",href:xo.url,as:"image",fetchpriority:"high",media:`(-webkit-min-device-pixel-ratio: ${xo.dpr})`})]}),i(Hh,{ref:ae,eyebrow:t,title:so(o),subTitle:Na(n),body:Na(r),backgroundMediaLayout:s,backgroundVideoSource:E,backgroundPosterSource:Q,mobileBackgroundVideoSource:ee,callsToAction:lo?.length?lo:void 0,header:Lt?i(Lt,{}):void 0,foregroundMedia:jo,motifScheme:ye,backgroundColor:po||de,bgImgSrcs:Co,bgImgAltText:U??ie,headerImgSrcs:St,headerImgAltText:me,headerMediaPixelSize:pt,textAlign:b,textAlignMobile:S,verticalTextAlign:C,fitWindow:ht(I)?!1:I,curtainOpacityPercentage:k??void 0,wrapMedia:A,shareable:Y,className:w,footer:D,showMediaMobile:M,anchorId:_,...Ht(ho,"foregroundDataset"),postChildren:$,size:Lo,showScrollButton:V,onScrollDownButtonClick:vo,breadcrumbs:pe,breadcrumbsPropsOverride:O.theme?.componentPropsOverrides?.breadcrumbs,topics:ld,backgroundMediaStickers:pd,increaseTitleFontSize:K})]})};Xc.displayName="Hero";var SI=T(BM());var KG=T(P());var QG=R` 13349 fragment PageBlocksCollection on Page { 13350 ...ContentfulSysId 13351 blocksCollection(limit: ${Oi}) { 13352 items { 13353 __typename 13354 ... on BlockHero { 13355 ...BlockHeroAll 13356 } 13357 ... on Block { 13358 ...ContentfulSysId 13359 title { 13360 json 13361 } 13362 } 13363 } 13364 } 13365 } 13366 ${G} 13367`,qG=R` 13368 query LatestPostHero($locale: String!, $preview: Boolean!) { 13369 slugCollection( 13370 limit: 1 13371 order: postedDate_DESC 13372 where: { AND: [{ slugType_contains: "Blog" }] } 13373 locale: $locale 13374 preview: $preview 13375 ) { 13376 items { 13377 ...ContentfulSysId 13378 slug 13379 postedDate 13380 author { 13381 ...ContentfulSysId 13382 name 13383 position 13384 slug 13385 } 13386 page { 13387 ...PageAssetAll 13388 ...ExperimentOnPageLoadingPageBlocksCollection 13389 } 13390 } 13391 } 13392 } 13393 ${G} 13394 ${Pl.all} 13395 ${QG} 13396 ${ni("Page","PageBlocksCollection",QG)} 13397 ${Nl} 13398`;var jG=({backgroundColor:e,postChildren:t})=>{let{data:o}=ce(qG),{formatMessage:n}=(0,KG.useContext)(We),{pathname:r}=Gt(),s=n({id:"viewArticle",defaultMessage:"View Article"}),l={json:{data:{},content:[{data:{},content:[{data:{},marks:[],value:s,nodeType:"text"}],nodeType:SI.BLOCKS.PARAGRAPH}],nodeType:SI.BLOCKS.DOCUMENT},links:void 0},p=o?.slugCollection.items[0],d=p?.slug,u,y;switch(p?.page.__typename){case"Page":y=p.page.blocksCollection,u=y.items.find(f=>f.__typename==="BlockHero");break;case"PageAsset":u={__typename:"BlockHero",sys:{id:"asset_block_hero"},title:p?.page?.media?.title,body:p?.page?.media?.description};break;case"Experiment":{y=p.page.defaultReference.blocksCollection,u=y.items.find(f=>f.__typename==="BlockHero");break}}if(!u&&y){let f=y.items.find(b=>!!(b&&"title"in b&&b.title));f&&(Be({component:"LatestPostHero",message:`Latest post "${d}
13398" does not have a hero. Using fallback title from ${f.__typename}`}),u={__typename:"BlockHero",sys:{id:`fallback_from_${f.__typename}`},title:f.title,backgroundColor:Zt.Black})}let m={items:[{_id:"generated",sys:{id:"generated"},url:d,analytics:{_id:"generated",sys:{id:"generated"},label:`Latest Post Hero CTA: ${r}`},presentation:{__typename:"Button",_id:"generated",sys:{id:"generated"},url:d,title:l,buttonType:"Primary"}}]};if(!u)return null;let g=u.backgroundColor??e??Zt.White;return e??(e=Zt.White),i(Xc,{...u,callsToActionCollection:m,backgroundColor:g,theme:e,postChildren:t})};var Ff=T(P());var YG=e=>window.matchMedia(e),nne=(e,t=YG)=>{let o=e.getAttribute("media");return o?t(o).matches:!0},XG=(e,t=YG)=>{let o=Array.from(e.querySelectorAll("source"));for(let n of o){let r=n.getAttribute("src");if(r&&nne(n,t))return r}return null};var Jc="activeHlsSource",ane="deferHlsLoad",rne="hlsLoadRequested",ine="mwp-hls-load-request",JG=e=>e.dataset[ane]==="true",hI=e=>e.dataset[rne]==="true";var ZG=e=>{let t=XG(e);return t?.endsWith(".m3u8")?t:null},ez=(e,t,o)=>e.dataset[Jc]!==t?!1:o.has(e)?!0:!!(window.Hls&&!window.Hls.isSupported()),tz=(e,t,o)=>e.isConnected?o.get(e)!==t:!0,oz=e=>({savedCurrentTime:e.currentTime,wasPlaying:!e.paused}),nz=(e,t)=>{e.dataset[Jc]=t},az=(e,t,o,n,r)=>{let s=new window.Hls({startLevel:-1,autoStartLoad:!JG(e)});return s.loadSource(t),s.attachMedia(e),s.on(window.Hls.Events.MANIFEST_PARSED,()=>{r.initGenerationByVideo.get(e)===o&&(e.currentTime=n.savedCurrentTime,n.wasPlaying&&e.play()?.catch(()=>{}))}),r.hlsByVideo.set(e,s),r.managedVideos.add(e),e.dataset[Jc]=t,s},rz=(e,t,o)=>{if(e.getAttribute("preload")==="auto"&&!JG(e))return;let r=new AbortController;o.preloadListenerAbortByVideo.set(e,r);let{signal:s}=r;e.addEventListener("loadedmetadata",()=>{e.paused&&!hI(e)&&t.stopLoad()},{once:!0,signal:s}),e.addEventListener("play",()=>t.startLoad(),{signal:s}),e.addEventListener(ine,()=>{hI(e)?t.startLoad():t.stopLoad()},{signal:s}),(!e.paused||hI(e))&&t.startLoad()};var iz=({children:e})=>{let t=vt(),o=(0,Ff.useRef)(null),n=t.enableHlsPlayback==="true";return(0,Ff.useEffect)(()=>{if(!n||!o.current)return;let r=!0,s=new WeakMap,l=new Set,p=new WeakMap,d=new WeakMap,u=S=>{let C=d.get(S);C&&(C.abort(),d.delete(S));let I=s.get(S);I&&(I.destroy(),s.delete(S)),l.delete(S),delete S.dataset[Jc]},y=()=>new Promise(S=>{if(window.Hls){S();return}ta("hls.js","/hls.min.1.5.18.js",S)}),m={hlsByVideo:s,managedVideos:l,initGenerationByVideo:p,preloadListenerAbortByVideo:d},g=async S=>{let C=ZG(S);if(!C||ez(S,C,s))return;let I=(p.get(S)??0)+1;if(p.set(S,I),await y(),!r||tz(S,I,p))return;let k=oz(S);if(u(S),!window.Hls.isSupported()){nz(S,C);return}let v=az(S,C,I,k,m);rz(S,v,m)};(()=>{let S=o.current?.querySelectorAll("video")??[];for(let C of Array.from(S))g(C).catch(I=>{Be({component:"HlsInitializer",message:"Failed to initialize Hls for video",error:I})})})();let b=new MutationObserver(S=>{for(let D of l)D.isConnected||u(D);let I=S.filter(D=>D.type==="childList").flatMap(D=>Array.from(D.addedNodes)).filter(D=>D instanceof HTMLElement),k=I.filter(D=>D instanceof HTMLVideoElement),A=I.filter(D=>!(D instanceof HTMLVideoElement)).flatMap(D=>Array.from(D.querySelectorAll("video"))),w=[...k,...A];for(let D of w)g(D).catch(M=>{Be({component:"HlsInitializer",message:"Failed to initialize Hls for video",error:M})})});return b.observe(o.current,{childList:!0,subtree:!0}),()=>{r=!1;for(let S of[...l])u(S);b.disconnect()}},[n]),i("article",{ref:o,"data-testid":"mwp-hls-init",children:e})};var CI=T(Ua());var sz=e=>{let{getImageSources:t}=Ie(),{media:{imageSource:o,videoSource:n,contentType:r},mobileMedia:{imageSource:s,videoSource:l,contentType:p},thumbnailSource:d}=jt(e.media),u,y;if(e.media?.__typename==="Image"){let{desktopSettings:b,mobileSettings:S}=ot({desktopHeight:e.media.media?.height??0,mobileHeight:e.media.mobileMedia?.height,enableHighDpi:e.media.enableHighDpi,quality:e.media.quality});u=$e({desktop:t(o,b),mobile:t(s,S)})}e.media?.__typename==="Video"&&(y={source:n??"",mobileSource:l,sourceType:r,mobileSourceType:p,posterSource:d});let m=e.slugReference?.slug||"",g=e.title?.json?e.title.json:"",f=e.label?.json?e.label?.json:"";return i(Un,{title:(0,CI.documentToPlainTextString)(g),body:(0,CI.documentToPlainTextString)(f),url:m?`/${m}`:void 0,imgSrcs:u,imgAltText:e.media?.media?.description,videoSource:y?.source,mobileVideoSource:y?.mobileSource,posterSource:y?.posterSource,aspectRatio:"9:16",shouldLoad:!0},`${e.__typename}-${e.sys.id}`)};var xI=e=>{let{title:t,tilesDirection:o,text:n,textAlignmentMobile:r,eyebrow:s,brandBackgroun
13398dColor:l,backgroundColor:p,anchor:d,tilesCollection:u}=e,y=tt(l);return i(Oh,{title:so(t),eyebrow:s,tilesDirection:o,text:n,textAlignmentMobile:r,motifScheme:y,backgroundColor:p,anchor:d,children:u.items.map(m=>sz(m))})};xI.displayName="ImmersiveScrollBlock";var vI=T(P());var sne=e=>{let{isRTL:t}=(0,vI.useContext)(Z),{getImageSources:o}=Ie(),n=(0,vI.useContext)(Se).elementLocation,{data:r}=ce(LH.all,{skip:ag(e),variables:{id:e.sys.id}}),s=r?.tile??e;if(!s)return null;let{url:l}=e,{title:p,label:d,media:u,imageSize:y,imageFit:m,url:g}=s,{afterClick:f,beforeClick:b,onClick:S,imageSize:C,imageFit:I}=e,{imageSource:k,imageAltText:v}=Qe(u?.media),A=()=>{b?.(),S?.(),ge({eventCategory:"Tile",eventAction:"Click",eventLabel:null,context:{targetUrl:M,elementLocation:n}}),f?.()},w=y??C,D=m??I,M=g??l,_=o(k,{image:{height:tc[w??xa.Large]*2}});return i(CC,{title:Fo(p),label:Fo(d),onClick:A,imageSize:w,imageFit:D,imgSrcs:_,imgAltText:v,imagePadding:w===xa.Small&&D===Qn.Contain,link:M,isRTL:t})};sne.displayName="Tile";var II=R` 13399 fragment ImmersiveScrollBlockAll on ImmersiveScrollBlock { 13400 ...ContentfulSysId 13401 eyebrow 13402 title { 13403 json 13404 links { 13405 entries { 13406 inline { 13407 ...ContentfulSysId 13408 ... on EmphasizedText { 13409 ...EmphasizedTextAll 13410 } 13411 } 13412 } 13413 } 13414 } 13415 text 13416 tilesCollection(limit: 4) { 13417 items { 13418 ...ContentfulSysId 13419 ...ImmersiveScrollBlockTile 13420 } 13421 } 13422 tilesDirection 13423 textAlignmentMobile 13424 brandBackgroundColor 13425 backgroundColor 13426 anchor 13427 } 13428 ${G} 13429 ${ti} 13430 ${si.immersiveScrollBlockTile} 13431`,jSt=R` 13432 query ImmersiveScrollBlockQuery($preview: Boolean!, $locale: String!, $id: String!) { 13433 immersiveScrollBlock(preview: $preview, locale: $locale, id: $id) { 13434 ...ImmersiveScrollBlockAll 13435 } 13436 } 13437 ${II} 13438`;function lne(e){if(e=e.trim(),e.startsWith("<meta")){let t=/name="([^"]+)"/.exec(e)?.[1]??"unknown",o=/content="([^"]+)"/.exec(e)?.[1]??"unknown";return{name:encodeURIComponent(t),content:encodeURIComponent(o)}}if(!/['"><]/.test(e)&&e.includes("=")){let[t,o]=e.split("=");return{name:encodeURIComponent(t.trim()),content:encodeURIComponent(o.trim())}}return ke.logWarning({component:"Meta",action:"parse-custom-meta",message:`Unable to parse custom metadata: "${encodeURIComponent(e)}"`}),{name:"unparseable-meta",content:encodeURIComponent(e)}}var kI=e=>{let{customMetas:t}=e,o=t?.map(lne)??[],n=e.ogImage&&Tn({imageUrl:e.ogImage.url,settings:{height:512}}),r={description:e.description,ogTitle:e.ogTitle,ogImage:n,ogVideo:e.ogVideo?.url,noIndex:!!e.noIndex,noFollow:!!e.noFollow,customMetas:o};return i(vi,{...r})};kI.displayName="Metas";var lz=R` 13439 fragment BlogSchemaAll on BlogSchema { 13440 ...ContentfulSysId 13441 headline 13442 description 13443 imagesCollection(limit: 10) { 13444 items { 13445 url 13446 } 13447 } 13448 } 13449 ${G} 13450`;var pz=R` 13451 fragment FaqPageSchemaAll on FaqPageSchema { 13452 itemsCollection { 13453 items { 13454 ...ContentfulSysId 13455 question 13456 answer { 13457 json 13458 } 13459 } 13460 } 13461 } 13462 ${G} 13463`;var cz=T(_C()),MI="https://schema.org";function dz(e,t,o,n,r){switch(t.__typename){case"BlogSchema":return pne(e,t,o,n,r);case"OrganizationSchema":return cne(e,t);case"FaqPageSchema":return dne(t);default:return}}function uz(e){return{"@type":"Organization",name:e.name,logo:e.logo?.url&&{"@type":"ImageObject",url:e.logo?.url},url:e.url}}function pne(e,t,o,n,r){let s=r&&uz(r),l=t.imagesCollection?.items?.map(p=>p.url).filter(p=>p!==void 0);return{"@context":MI,"@type":"BlogPosting",mainEntityOfPage:{"@type":"WebPage","@id":e},headline:t.headline,description:t.description,image:l,author:s,publisher:s,datePublished:o?.toISOString(),dateModified:n?.toISOString()}}function cne(e,t){let o=uz(t);return{"@context":MI,"@type":"Organization",brand:o,description:t?.description,name:t?.name,sameAs:t?.sameAs,url:e}}function dne(e){let t=e.itemsCollection?.items?.map(o=>({"@type":"Question",name:o.question,acceptedAnswer:{"@type":"Answer",text:(0,cz.documentToHtmlString)(o.answer.json)}}))??[];return{"@context":MI,"@type":"FAQPage",mainEntity:t}}var TI=R` 13464 fragment OrganizationSchemaAll on OrganizationSchema { 13465 ...ContentfulSysId 13466 name 13467 description 13468 url 13469 logo { 13470 url 13471 } 13472 sameAs 13473 } 13474 ${G} 13475`,yz=R` 13476 query OrganizationSchemaCollectionQuery($preview: Boolean!, $locale: String!) { 13477 organizationSchemaCollection(preview: $preview, locale: $locale, limit: 1) { 13478 items { 13479 ...OrganizationSchemaAll 13480 } 13481 } 13482 } 13483 ${TI} 13484`;var AI=T(P());var _I=e=>{let{schemas:t}=e,{getCurrentUrl:o}=(0,AI.useContext)(Z),{publishedAt:n,postedDate:r}=(0,AI.useContext)($o),s=o(),{data:l}=ce(yz),p=t.map(d=>dz(s,d,r,n,ts(l?.organizationSchemaCollection?.items||[])));return i(kt,{children:p.map((d,u)=>d&&i("script",{type:"application/ld+json",children:JSON.stringify(d)},`schema-${u}`))})};_I.displayName="WebSchemas";var wI={all:R` 13485 fragment MetaAll on Metas { 13486 ...ContentfulSysId 13487 description 13488 ogTitle 13489 ogImage { 13490 url 13491 } 13492 ogVideo { 13493 url 13494 } 13495 noIndex 13496 noFollow 13497 customMetas 13498 schemasCollection(limit: 5) { 13499 items { 13500 ...ContentfulSysId 13501 ...BlogSchemaAll 13502 ...OrganizationSchemaAll 13503 ...FaqPageSchemaAll 13504 } 13505 } 13506 } 13507 ${lz} 13508 ${TI} 13509 ${pz} 13510 ${G} 13511 `},Eht=R` 13512 query MetasQuery($preview: Boolean!, $locale: String!, $id: String!) { 13513 metas(preview: $preview, locale: $locale, id: $id) { 13514 ...MetaAll 13515 } 13516 } 13517 ${wI.all} 13518`;var Bf=e=>!e||!e.length?[]:e.map(t=>({...t,id:t.sys.id})),DI=({children:e,id:t,togglePanelClassName:o,togglePanelLabel:n,preChildren:r,postChildren:s,...l})=>{let{data:p}=ce(lf,{variables:{id:t}});if(p){let{anchorId:d,panelPosition:u,primaryVideosCollection:y,secondaryVideosCollection:m,mobilePrimaryVideosCollection:g,mobileSecondaryVideosCollection:f}=p.multiVideoBlock;return i(jh,{anchorId:d,id:t,toggleButtonIcons:["hover","reveal","follow","orbit"],panelPosition:u,primaryVideos:Bf(y?.items),secondaryVideos:Bf(m?.items),mobilePrimaryVideos:Bf(g?.items),mobileSecondaryVideos:Bf(f?.items),togglePanelLabel:n,togglePanelClassName:o,preChildren:r,postChildren:s,...l,children:e})}return null};DI.displayName="MultiVideoBlock";var Gl=T(P());var mz=c` 13519 background-color: ${a("--bg-color")}; 13520 bottom: 0; 13521 opacity: 0; 13522 padding: ${a("--spacing-xs")}; 13523 position: sticky; 13524 transition: opacity 300ms ease-in-out, visibility 0s 300ms; 13525 visibility: hidden; 13526 z-index: ${Pe.MOBILE_CTA}; 13527 13528 .${"sdsm-button"}.${"sdsm-button"} {
13529 align-items: center; 13530 border-radius: ${a("--persistent-cta-button-border-radius")}; 13531 display: flex; 13532 justify-content: center; 13533 min-height: 54px; /* Custom for this feature. */ 13534 } 13535`,gz=c` 13536 opacity: 1; 13537 transition: opacity 300ms ease-in-out, visibility 0s 0s; 13538 visibility: visible; 13539`;var PI=({mobileCta:e,shouldScrollToShow:t})=>{let[o,n]=(0,Gl.useState)(!t),r=(0,Gl.useMemo)(()=>e.presentation?{...e.presentation,buttonType:Vo.Primary}:void 0,[e.presentation]);return(0,Gl.useEffect)(()=>{if(!r||!t)return;let s=()=>{let l=window.scrollY>=window.innerHeight;n(l)};return document.addEventListener("scroll",s,{passive:!0}),s(),()=>{document.removeEventListener("scroll",s)}},[r,t]),r?i("aside",{"data-testid":"mwp-persistent-cta",className:h("sdsm-secondary",mz,{[gz]:o}),"aria-hidden":!o,children:i(ft,{...e,presentation:r})}):null};PI.displayName="PersistentCta";var une=R` 13540 fragment ScrollAnimatedVideoAll on ScrollAnimatedVideo { 13541 ...ContentfulSysId 13542 mp4Source { 13543 ...AssetAll 13544 } 13545 webmSource { 13546 ...AssetAll 13547 } 13548 scrubStart 13549 scrubEnd 13550 videoStart 13551 videoEnd 13552 } 13553 ${G} 13554 ${Pn} 13555`,NI=R` 13556 fragment ScrollAnimatedSectionAll on ScrollAnimatedSection { 13557 ...ContentfulSysId 13558 scrollHeight 13559 animatedContentCollection { 13560 items { 13561 ...ScrollAnimatedVideoAll 13562 } 13563 } 13564 mobileContentCollection { 13565 items { 13566 ...BlockAll 13567 } 13568 } 13569 anchorId 13570 } 13571 ${une} 13572 ${G} 13573 ${Pn} 13574 ${ml} 13575`,lCt=R` 13576 query ScrollAnimatedSectionQuery($preview: Boolean!, $locale: String!, $id: String!) { 13577 scrollAnimatedSection(preview: $preview, locale: $locale, id: $id) { 13578 ...ScrollAnimatedSectionAll 13579 } 13580 } 13581 ${NI} 13582`;var gr=T(P());var yne=c` 13583 height: calc(100vh - var(${lt})); 13584 top: var(${lt}); 13585`,mne=c` 13586 position: absolute; 13587 object-fit: cover; 13588 width: 100%; 13589 height: 100%; 13590`,fz=({anchorId:e,scrollHeight:t=1,animatedContentCollection:o})=>{let n=(0,gr.useRef)(null),r=(0,gr.useRef)(64);(0,gr.useEffect)(()=>{r.current=hl()},[]);let s=(0,gr.useCallback)(()=>{if(!n.current)return 0;let p=(n.current.getBoundingClientRect().top-r.current)*-1,d=n.current.offsetHeight-window.innerHeight;return p/d},[]),l=(0,gr.useMemo)(()=>({height:`${t*100}vh`}),[t]);return i(JB,{anchorId:e,innerContainerClassName:yne,containerRef:n,style:l,children:o?.items.map(p=>{let{sys:d,mp4Source:u,webmSource:y,videoStart:m,videoEnd:g,scrubStart:f=0,scrubEnd:b=100}=p;return!u?.url||!y?.url?null:i(ZB,{calculateScrollProgress:s,className:mne,scrubEnd:b,scrubStart:f,videoEnd:g,videoMp4Src:u.url,videoStart:m,videoWebmSrc:y?.url},d.id)})})};var $f=c` 13591 display: flex; 13592 width: 100%; 13593 justify-content: left; 13594 margin: auto; 13595 max-width: ${Qt}px; 13596 13597 html[dir='rtl'] & { 13598 justify-content: right; 13599 } 13600 13601 ${N} { 13602 display: block; 13603 } 13604`,Lf=c` 13605 ::before { 13606 background-color: ${a("--gutter-color")}; 13607 content: ''; 13608 height: 100vh; 13609 inset: 0; 13610 position: fixed; 13611 width: 100vw; 13612 z-index: -10; 13613 } 13614`,bz=c` 13615 overflow: clip; 13616`,zl=c` 13617 min-height: calc(100vh - var(--total-header-height)); 13618 min-height: calc(100dvh - var(--total-header-height)); 13619`;var Sz=e=>{let{getImageSources:t}=Ie(),{splitBlockTitle:o,splitBlockSubtitle:n,splitBlockBody:r,media:s,callsToActionCollection:l,splitBlockBody:p,mediaCaption:d,anchorId:u,brandBackgroundColor:y,sys:m,...g}=e,f=tt(y),b=Re({entryId:m.id,fieldIds:["title","subtitle","body","mediaCaption"]}),{media:{imageSource:S,imageAltText:C,videoSource:I,contentType:k},mobileMedia:{imageSource:v,imageAltText:A,videoSource:w,contentType:D},thumbnailSource:M}=jt(s),_=s.__typename,F,$;if(_==="Image"){let{desktopSettings:L,mobileSettings:z}=ot({desktopHeight:s.media?.height??0,mobileHeight:s.mobileMedia?.height,enableHighDpi:s.enableHighDpi,quality:s.quality});F=$e({desktop:t(S,L),mobile:t(v,z)})}_==="Video"&&($={videoSource:I,mobileVideoSource:w,mediaContentType:k,mobileMediaContentType:D,posterSource:M});let B=l?.items?.map(L=>i(ft,{...L},L.sys.id)),V=s?.stickersCollection?.items?.map(L=>({imgSrcs:t(L?.asset?.url),position:L?.position,rotation:L?.rotation}));return i(F4,{title:o,subtitle:n,body:go(r),callsToAction:B?.length?B:void 0,imageSources:F,imageAltText:C??A??d,mediaCaption:d,stickers:V,motifScheme:f,anchorId:u,...b,...$,...g})};var fr=T(P());var hz=["wheel","touchstart","pointerdown","keydown"],Cz={capture:!0,passive:!0},Hf,gne=e=>{e.scrollIntoView({behavior:"smooth"})},Zc=(e,t=gne)=>{Hf?.();let o=document.getElementById(e.slice(1));if(!o||(t(o),typeof ResizeObserver>"u"))return;let n=new ResizeObserver(()=>t(o)),r=()=>{n.disconnect(),clearTimeout(s);for(let l of hz)window.removeEventListener(l,r,Cz);Hf===r&&(Hf=void 0)},s=setTimeout(r,2e3);for(let l of hz)window.addEventListener(l,r,Cz);n.observe(document.body),Hf=r};var xz="mwp-page-sibling";var Vf=R` 13620 fragment PageShallow on Page { 13621 ...ContentfulSysId 13622 blocksCollection(limit: ${Oi}) { 13623 items { 13624 # For non-standard blocks, just preload their ids. 13625 ...ContentfulSysId 13626 # For blocks, alse preload the content ids. 13627 ... on Block { 13628 ...BlockShallow 13629 } 13630 } 13631 } 13632 } 13633 ${vg} 13634 ${G} 13635`,fne=R` 13636 fragment BannerAll on Banner { 13637 ...ContentfulSysId 13638 content { 13639 json 13640 links {
13641 entries { 13642 inline { 13643 ... on CallToAction { 13644 ...CallToActionAll 13645 } 13646 } 13647 } 13648 } 13649 } 13650 brandBackgroundColor 13651 backgroundColor 13652 } 13653 ${G} 13654 ${mt} 13655`,bne={all:R` 13656 fragment PageAll on Page { 13657 ...ContentfulSysId 13658 title 13659 metas { 13660 ...MetaAll 13661 } 13662 banner { 13663 ...BannerAll 13664 # In case there's a MobileCta inside banner, we want to retrieve its ID. 13665 ...ContentfulSysId 13666 } 13667 brandBackgroundColor 13668 backgroundColor 13669 backgroundMediaV2 { 13670 __typename 13671 ... on Video { 13672 ...VideoAll 13673 } 13674 ... on Image { 13675 ...ImageAll 13676 } 13677 } 13678 backgroundMediaStyle 13679 stretchPageBackgroundColor 13680 blocksCollection(limit: ${Oi}) { 13681 items { 13682 ...ContentfulSysId 13683 ... on Block { 13684 ...BlockAll 13685 } 13686 ... on BlockHero { 13687 ...BlockHeroAll 13688 } 13689 ... on LatestPosts { 13690 brandBackgroundColor 13691 backgroundColor 13692 } 13693 ... on Break { 13694 ...BreakAll 13695 } 13696 ... on SubNavigation { 13697 ...SubNavigationAll 13698 } 13699 ... on ScrollAnimatedSection { 13700 ...ScrollAnimatedSectionAll 13701 } 13702 ... on SplitBlock { 13703 ...SplitBlockAll 13704 } 13705 ... on MultiValuePropBlock { 13706 ...MultiValuePropBlockAll 13707 } 13708 ... on BlockTabs { 13709 ...BlockTabsAll 13710 } 13711 ... on ImmersiveScrollBlock { 13712 ...ImmersiveScrollBlockAll 13713 } 13714 } 13715 } 13716 mobileCta { 13717 ...CallToActionAll 13718 } 13719 footnotesCollection(limit: 50) { 13720 items { 13721 ... on FootNotes { 13722 ...FootNotesAll 13723 } 13724 } 13725 } 13726 collapseFootnotes 13727 footerView 13728 headerView 13729 scrollSnap 13730 localizedIn 13731 showAiLocalizationBanner 13732 denseLayout 13733 } 13734 ${fne} 13735 ${ml} 13736 ${NI} 13737 ${$t.all} 13738 ${mt} 13739 ${Pl.all} 13740 ${Rc.all} 13741 ${wI.all} 13742 ${G} 13743 ${zv} 13744 ${Av} 13745 ${Gv} 13746 ${Hc} 13747 ${Tv} 13748 ${II} 13749 `},vz=R` 13750 fragment PageNavigationShallow on Page { 13751 ...ContentfulSysId 13752 sideNavigation { 13753 ...ContentfulSysId 13754 } 13755 } 13756 ${G} 13757`,Iz=R` 13758 query PageQuery($preview: Boolean!, $locale: String!, $id: String!) { 13759 page(preview: $preview, locale: $locale, id: $id) { 13760 ...PageAll 13761 } 13762 } 13763 ${bne.all} 13764`,kz=R` 13765 fragment SiteMapPage on Page { 13766 sys { 13767 id 13768 } 13769 metas { 13770 noIndex 13771 } 13772 localizedIn 13773 } 13774`,Mz=R` 13775 query PageBlocksCollectionQuery( 13776 $preview: Boolean! 13777 $locale: String! 13778 $ids: [String]! 13779 $limit: Int = 10 13780 ) { 13781 entryCollection( 13782 preview: $preview 13783 locale: $locale 13784 where: { sys: { id_in: $ids } } 13785 limit: $limit 13786 ) { 13787 items { 13788 ...ContentfulSysId 13789 ... on Block { 13790 ...BlockAll 13791 } 13792 ... on BlockHero { 13793 ...BlockHeroAll 13794 } 13795 } 13796 } 13797 } 13798 ${G} 13799 ${ml} 13800 ${Pl.all} 13801`;var ed="--page-sticky-height";var Sne=(e,t)=>{let o=e.getBoundingClientRect(),n=t.getBoundingClientRect();return o.left>=n.left&&o.right<=n.right},hne=c` 13802 top: calc(var(${ed}) + var(${lt})); 13803`,Cne=e=>{let t=Number(getComputedStyle(document.documentElement).getPropertyValue(lt).replace("px",""));window.scrollTo({behavior:"smooth",top:e.getBoundingClientRect().top-document.body.getBoundingClientRect().top-t-56})},Tz=({brandBackgroundColor:e,backgroundColor:t,sys:o,items:n=[]})=>{let r=tt(e),s=(0,fr.useRef)(null),[l,p]=(0,fr.useState)(),d=(0,fr.useRef)(typeof window<"u"?-1:0),u=(0,fr.useRef)();(0,fr.useEffect)(()=>{let g=()=>{let f=window.scrollY;d.current===-1&&(d.current=f),f>d.current?u.current="DOWN":f<d.current&&(u.current="UP"),d.current=f<=0?0:f};return window.addEventListener("scroll",g,{passive:!0}),()=>{window.removeEventListener("scroll",g)}},[]),(0,fr.useEffect)(()=>{let g=b=>{let S=b.filter(I=>I.isIntersecting),C=u.current==="DOWN"?S[S.length-1]:S[0];if(C){let I=C.target.id;p(I);let k=s?.current,v=k?.querySelector(`a[href='#${I}']`);k&&v&&!Sne(v,k)&&k?.scroll({left:v?.offsetLeft-64,behavior:"smooth"})}},f=new IntersectionObserver(g,{rootMargin:"-30% 0px -70% 0px"});return n?.map(b=>b.anchorId).filter(b=>!!b).map(b=>document.getElementById(b)).filter(b=>!!b).forEach(b=>f.observe(b)),()=>{f.disconnect()}},[n]);let y=g=>f=>{f.preventDefault(),g&&Zc(`#${g}`,Cne)},{contentfulDescriptionDataset:m}=Re({entryId:o.id,fieldIds:["contentfulDescription"]});return i(K4,{motifScheme:r,backgroundColor:t,className:hne,horizontalScrollRef:s,dataset:m,children:n?.map(g=>{let f=g.anchorId,{textDataset:b}=Re({entryId:g.sys.id,fieldIds:["text"]});return i(uC,{href:`#${f}`,onLinkClick:y(f),isActive:f===l,dataset:b,children:g.text},f)})})};var Of=T(P());var Gf=()=>{let e=(0,Of.useRef)(null);return(0,Of.useEffect)(()=>Bo().addEventListener((t,o,n,r)=>
13803{e.current&&(e.current.dataset.events=`${r}`)}),[]),i("div",{"data-testid":"mwp-active-traced-events",ref:e,"data-events":"0",hidden:!0})};var Az=c` 13804 flex-grow: 1; 13805 max-width: ${Qt}px; 13806`,_z=c` 13807 max-width: ${Qt-Do}px; 13808`,EI=c` 13809 position: sticky; 13810 top: var(${lt}); 13811 z-index: ${Pe.SUB_NAVIGATION}; 13812`,wz=c` 13813 line-height: 20px; 13814 white-space: pre-wrap; 13815 13816 /* TODO: Swap this rule when use a proper <p> element for paragraphs */ 13817 .sdsm-p { 13818 margin-bottom: 0; 13819 } 13820 13821 .${zx} { 13822 font-size: 14px; 13823 /* 13824 need to unset lineheight because it messes with alignment :( 13825 also need vertical align bottom to make it actually aligned for some reason 13826 */ 13827 line-height: unset; 13828 vertical-align: bottom; 13829 13830 /* 13831 hack because icons mess up alignment due to their taller size and 13832 we don't want to use flex because the text nodes won't be able to wrap 13833 properly then 13834 */ 13835 i { 13836 font-size: 14px; 13837 transform: scale(1.25); 13838 } 13839 13840 /* same as above for images, bad and will update in future */ 13841 img { 13842 height: 14px; 13843 transform: scale(1.5); 13844 margin-left: 2px; 13845 } 13846 } 13847`,Dz=c` 13848 bottom: 0; 13849 /* Host is a full-width strip; children opt back in. Otherwise empty regions eat clicks. */ 13850 pointer-events: none; 13851 position: sticky; 13852 z-index: ${Pe.MOBILE_CTA}; 13853`,Pz=c` 13854 position: fixed; 13855 bottom: 0; 13856 z-index: ${Pe.PAGE_FIXED_PORTAL}; 13857`;var zf=T(P()),xne=T(Cr());var vne="mwp-page-bottom-sticky-portal",Ine=()=>{switch(O.site){case"stinson":return i(void 0,{});default:return null}},Ez=(0,zf.memo)(e=>{let{pageBottomStickyPortalRef:t}=(0,zf.useContext)(Z);return i("aside",{className:e.className,"data-testid":vne,ref:t,children:i(Ine,{})})});var Ul=T(P()),kne=T(Cr());var Mne="mwp-page-fixed-portal",Rz=(0,Ul.memo)(e=>{let{pageFixedPortalRef:t}=(0,Ul.useContext)(Z);return i("aside",{className:e.className,"data-testid":Mne,ref:t})});var Tne=[Xe.Straight,Xe.Skirt,Xe.Straight,Xe.HeadFlipped,Xe.Straight,Xe.Head],Ane=c` 13858 display: flex; 13859 flex-direction: column; 13860 min-height: calc(100vh - var(${lt})); 13861`,_ne=c` 13862 display: flex; 13863 flex-direction: column; 13864 margin-top: auto; 13865`,wne=60,Dne=c` 13866 display: flex; 13867 flex-direction: column; 13868 min-height: calc(100vh - calc(var(${lt}) + ${wne}px)); 13869`,Pne={lazy:!0},Nne={lazy:!1},Ene=["Break","SubNavigation","BlockHero","LatestPosts","MultiVideoBlock","Block","SplitBlock","MultiValuePropBlock","BlockTabs"],Fz=e=>!Ene.includes(e),RI=e=>{let{pathname:t}=Gt(),o=vt(),{formatMessage:n}=(0,Jt.useContext)(We),{currentLocale:r}=(0,Jt.useContext)(Z),{getImageSources:s}=Ie(),l=xt(),d=ln()==="snap",u=tt(e.brandBackgroundColor),y=tt(e.banner?.__typename==="Banner"?e.banner?.brandBackgroundColor:void 0),m=Xr(O,"page"),g=(0,Jt.useRef)(null),f=(0,Jt.useRef)(null),b=(0,Jt.useRef)(e.banner&&e.banner.__typename==="Banner"?50:0),S=(0,Jt.useMemo)(()=>{if(typeof window<"u")return new ResizeObserver(de=>{let{height:Lt}=de[0].contentRect;b.current!==Lt&&(b.current=Lt,f.current?.style.setProperty(ed,`${Lt}px`))})},[]);(0,Jt.useEffect)(()=>{if(g.current&&S)return S.observe(g.current,{box:"border-box"}),()=>{S.disconnect()}},[S]),Ko(()=>{Je({subscribedEventType:"page_load"})},[t]);let{headerView:C,footerView:I,hasSideNav:k,hasSubNav:v,setHeaderView:A,setFooterView:w}=(0,Jt.useContext)(sn),D=e.headerView??"Full Header",M=e.footerView??"Full Footer";O.isClient||(A?.(D),w?.(M)),(0,Jt.useEffect)(()=>{D!==C&&A?.(D)},[D,C,A]),(0,Jt.useEffect)(()=>{M!==I&&w?.(M)},[M,I,w]);let _=(0,Jt.useContext)($o),{title:F,metas:$,blocksCollection:B,footnotesCollection:V,collapseFootnotes:L,backgroundColor:z,backgroundMediaV2:K,backgroundMediaStyle:ye,scrollSnap:se,mobileCta:ne,showAiLocalizationBanner:oe=[],denseLayout:pe}=e,ae=o.testFeatureFlag,j=z??O.theme?.defaultPageBackgroundColor,Y=(void 0)?.[vf(t)],J=V?.items?.map(de=>i(ov,{...de},de.sys.id)),U=n({id:"footnotesTitle",defaultMessage:""}),E=J?.length?i(nh,{title:U,isOpenInitially:!L,children:J}):void 0,X=n({id:"aiLocalizationBannerTitle",defaultMessage:""}),W=n({id:"aiLocalizationBannerDescription",defaultMessage:""}),ie=oe?.includes(r)?i(AT,{title:X,description:W}):void 0,ee=[];ee.push(...B?.items??[]);let be=m?.breakTemplates??O.theme?.breakTemplates??Tne,Q=0,le=-1,De=[];ee.forEach((de,Lt)=>{let{sys:gt,__typename:St}=de,Nt=Lt===ee.length-1,Co=ee?.[Lt-1],Et=ee?.[Lt+1],xo=de?.backgroundColor,Lo=Co?.backgroundColor,vo=Et?.backgroundColor,ld=de?.brandBackgroun
13869dColor,pd=Co?.brandBackgroundColor,Rt=Et?.brandBackgroundColor,br=!!de?.backgroundMediaV2,ib=!!Co?.backgroundMediaV2,cd=!!Et?.backgroundMediaV2,ak=br||!ld&&!xo?void 0:ld??Ne(xo),rk=cd||!Rt&&!vo?void 0:Rt??Ne(vo);switch(le===-1&&St!=="SubNavigation"&&(le=Lt),St){case"Break":{let Ha=de.brandType??de.type;if(Ha&&Ha!=="None"){let Sr=d?void 0:de.topColor?de.topColor==="Transparent"?"Transparent":Ne(de.topColor):void 0,Fn=d?void 0:de.bottomColor?de.bottomColor==="Transparent"?"Transparent":Ne(de.bottomColor):void 0,dd=ib||!pd&&!Lo?"Transparent":pd??Ne(Lo),Xi;Nt&&E?Xi=Ne(Q2):Xi=cd||!Rt&&!vo?"Transparent":Rt??Ne(vo);let Ji=(d?de.brandTopColor||"sdsm-default":de.brandTopColor)??Sr??dd,Zi=(d?de.brandBottomColor||"sdsm-default":de.brandBottomColor)??Fn??Xi,YW=Ji==="Transparent"?void 0:Ji,XW=Zi==="Transparent"?void 0:Zi,{desktopSettings:JW,mobileSettings:ZW}=ot({desktopHeight:de.media?.media?.height??0,mobileHeight:de.media?.mobileMedia?.height,enableHighDpi:de.media?.enableHighDpi,quality:de.media?.quality}),eQ=$e({desktop:s(de.media?.media.url,JW),mobile:s(de.media?.mobileMedia?.url,ZW)});De.push({data:{...de,brandTopColor:Ji,brandBottomColor:Zi},component:i(Lu,{template:Xe[Ha],imgSrcs:eQ,topColor:YW,bottomColor:XW,isOverlaid:de.isOverlaid&&!Nt},de.sys.id)})}break}case"ScrollAnimatedSection":{if(l){let Ha=de.mobileContentCollection?.items??[];for(let Sr of Ha){let Fn=Sr;De.push({data:de,component:i(Vl,{...Fn,isPreviousSameBackgroundColor:Fn.backgroundColor===Lo,isNextSameBackgroundColor:Fn.backgroundColor===vo,fullHeight:se||Fn.fullHeight},gt.id)})}break}De.push({data:de,component:i(fz,{...de},gt.id)});break}case"SubNavigation":{De.push({data:de,component:i(Tz,{items:de?.subNavigationItemsCollection?.items??[],...de},gt.id)});break}case"BlockHero":{De.push({data:de,component:de.useLatestPost?i(jG,{backgroundColor:de.backgroundColor},gt.id):i(Xc,{...de,fitWindow:se||de.fitWindow,fallbackDate:_.postedDate??_.publishedAt,shareable:_.isShareable,topics:_.topics},gt.id)});break}case"LatestPosts":{De.push({data:de,component:Xl(Vv,{...de,key:gt.id})});break}case"MultiVideoBlock":{De.push({data:de,component:i(DI,{id:gt.id},gt.id)});break}case"Block":{De.push({data:de,component:i(Vl,{...de,isPreviousSameBackgroundColor:de.backgroundColor===Lo,isNextSameBackgroundColor:de.backgroundColor===vo,fullHeight:se||de.fullHeight,denseLayout:de.denseLayout??pe},gt.id)});break}case"SplitBlock":{De.push({data:de,component:i(Sz,{...de},gt.id)});break}case"MultiValuePropBlock":{De.push({data:de,component:i(Og,{...de},gt.id)});break}case"BlockTabs":{De.push({data:de,component:i(j7,{...de},gt.id)});break}case"ImmersiveScrollBlock":{De.push({data:de,component:i(xI,{...de},gt.id)});break}default:{let Ha=mI();if(St in Ha){let Sr=Ha[St];De.push({data:de,component:i(Sr,{id:gt.id},gt.id)})}else De.push({data:{__typename:"Break",sys:{id:"__generated_error"},brandType:"Straight"},component:i(Jt.Fragment,{children:!O.isCompilationModeProd&&`Dev error: Unknown component type ${St} with id ${gt.id}`},gt.id)})}}if(!Nt&&!(St==="Break"||Et?.__typename==="Break"||St==="SubNavigation"||Et?.__typename==="SubNavigation"||Fz(St)||Fz(Et?.__typename)||br&&cd||ak===rk&&!br&&!cd||be.length<=0)){let Sr=m?.heroBreakTemplate??O.theme?.heroBreakTemplate,Fn;Sr===Xe.None?Fn=Xe.None:Sr===Xe.Straight?Fn=Xe.Straight:Fn=Xe.Skirt3;let dd=St==="BlockHero"?Fn:be[Q],Xi=ak,Ji=rk,Zi=!1;De.push({data:{__typename:"Break",sys:{id:"__generated"},brandType:dd,brandTopColor:Xi,brandBottomColor:Ji,isOverlaid:Zi},component:i(Lu,{template:dd,topColor:Xi,bottomColor:Ji,isOverlaid:Zi},`break ${Lt}`)}),St!=="BlockHero"&&(Q=(Q+1)%be.length)}});let me=De.map((de,Lt)=>{let{component:gt}=de,St=De?.[Lt-1],Nt=De?.[Lt+1],Co={};if(St&&St.data.__typename==="Break"){let Et=St?.data.brandType??St?.data.type;if(Et!==Xe.Straight&&Et!=="None"){let xo=St.data.brandTopColor??St.data.topColor,Lo=St.data.brandBottomColor??St.data.bottomColor,vo=Mp({template:Et,isTopTransparent:!xo||xo==="Transparent",isBottomTransparent:!Lo||Lo==="Transparent",isOverlaid:St.data.isOverlaid});Co.preChildren=i(Tp,{type:vo,location:"top"})}}if(Nt&&Nt.data.__typename==="Break"){let Et=Nt?.data.brandType??Nt?.data.type;if(Et!==Xe.Straight&&Et!=="None"){let xo=Nt.data.brandTopColor??Nt.data.topColor,Lo=Nt.data.brandBottomColor??Nt.data.bottomColor,vo=Mp({template:Et,isTopTransparent:!xo||xo==="Transparent",isBottomTransparent:!Lo||Lo==="Transparent",isOverlaid:Nt.data.isOverlaid});Co.postChildren=i(Tp,{type:vo,location:"bottom"})}}return!Nt&&!Co.postChildren&&(Co.postChildren=i(Tp,{type:"topHalf",location:"bottom"})),(0,Jt.cloneElement)(gt,Co)}),ve=E||ie?x("div",{className:_ne,children:[E,ie]}):void 0,{media:{imageSource:Ce,videoSource:_e},mobileMedia:{imageSource:Pt,videoSource:pt},thumbnailSource:lo}=jt(K),ho;if(K?.__typename==="Image"){let{desktopSettings:de,mobileSettings:Lt}=ot({desktopHeight:K.media?.height??0,mobileHeight:K.mobileMedia?.height,enableHighDpi:K.enableHighDpi,quality:K.qual
13869ity});ho=$e({desktop:s(Ce,de),mobile:s(Pt,Lt)})}let at=wV(F),Me=e.contentless?i(Ki,{component:e.contentless.component}):null,Fe=x(ue,{children:[e.contentless?.placement==="before-blocks"&&Me,x(P8,{children:[i(ap.Provider,{value:Nne,children:me.slice(0,le+1)}),i(ap.Provider,{value:Pne,children:me.slice(le+1)}),i(Bx,{})]}),e.contentless?.placement==="after-blocks"&&Me,ve]}),jo=null,po=null;if(e?.banner?.__typename==="Banner"){let{contentfulDescriptionDataset:de}=Re({entryId:e.banner.sys.id,fieldIds:["contentfulDescription"]});jo=i(A_,{className:EI,contentClassName:wz,motifScheme:y,backgroundColor:e.banner?.backgroundColor,dataset:de,children:go(e.banner?.content)})}else if(e?.banner?.__typename){let de=mI();if(de[e.banner.__typename]){let Lt=de[e.banner.__typename];po=i(Lt,{id:e.banner.sys.id})}}return x("div",{"data-testid":"page",ref:f,className:h(Az,u??Ne(j),{[_z]:k},zl,"mwp-page"),dir:at,"data-test-feature":ae,style:{[ed]:`${b.current}px`,...Y?{maxWidth:Y}:{}},children:[i(GV,{localizedIn:e.localizedIn}),i(NV,{localizedIn:e.localizedIn}),!!$&&i(kI,{...$}),!!$?.schemasCollection?.items&&i(_I,{schemas:$.schemasCollection.items}),jo?i("div",{className:EI,ref:g,children:jo}):null,x(iz,{children:[i(vi,{title:F,ogTitle:$?.ogTitle}),x(Jh,{motifScheme:u,backgroundColor:j,backgroundImageSources:ho,backgroundMediaStyle:ye,backgroundVideoSource:_e,gutterMatchesPageBackground:e.stretchPageBackgroundColor,mobileBackgroundVideoSource:pt,backgroundPosterSource:lo,className:h({[Ane]:!v,[Dne]:v}),scrollSnap:se,children:[Fe,po,l&&ne&&i(PI,{mobileCta:ne,shouldScrollToShow:o.enablePersistentCtaScrollVisibility==="true"}),i(Ez,{className:Dz}),i(Rz,{className:Pz})]}),i("div",{className:xz})]}),i(Gf,{})]})};RI.displayName="Page";var Wl=e=>{let{data:t}=ce(Iz,{variables:{id:e.sys.id}}),o=(0,td.useRef)(new Set),n=Rk(),{currentLocale:r,getCurrentUrl:s}=(0,td.useContext)(Z),{replacements:l}=(0,td.useContext)($o),p=l?e.blocksCollection.items.reduce((f,b)=>(l?.[b.sys.id]&&f.push(l[b.sys.id]?.sys.id??""),f),[]):[],d=ce(Mz,{skip:!p.length,variables:{ids:p}});function u(f){let b=AV[f.__typename];if(!b){Qa({component:"PageShallow",message:`Cannot preload item "${f.__typename}". Add it to 'contentfulTypeQueries'`,context:{type:f.__typename}});return}let S=`${mr(b)}:${f.sys.id}`;o.current.has(S)||(n.query({query:b,context:{currentUrl:s()},variables:{id:f.sys.id,preview:O.isPreview,locale:r}}).catch(C=>{Qa({component:"PageShallow",message:`Failed to preload item "${f.__typename}" due to error: ${Ft(C).message}`,context:{type:f.__typename}})}),o.current.add(S))}function y(){for(let f of e.blocksCollection.items)if(f.__typename==="Block"){let b=f;l?.[f.sys.id]?.sys.id&&(b={...f,sys:{id:l[f.sys.id]?.sys.id}});for(let S of b.contentsCollection.items)u(S)}else u(f)}if(!t||d.loading)return y(),null;let m=t.page.banner,g=t.page.blocksCollection;if(l&&t.page.banner&&t.page.banner.sys.id in l&&(m=d.data?.entryCollection.items.find(f=>t.page.banner?f.sys.id===l[t.page.banner.sys.id]?.sys.id:!1)),t.page.blocksCollection&&l){let f=[...t.page.blocksCollection.items];for(let b=0;b<f.length;b++){let S=f[b]?.sys?.id;if(S&&S in l){let C=d.data?.entryCollection.items.find(I=>I.sys.id===l[S]?.sys.id);C===void 0?f.splice(b,1):C&&C.__typename!=="Banner"&&(f[b]=C)}}g={items:f}}return i(RI,{...t.page,blocksCollection:g,banner:m,contentless:e.contentless})};Wl.displayName="PageShallow";var Oz=T(P());var $z=O.theme?.defaultPageBackgroundColor??Zt.White,Kvt=c` 13870 display: flex; 13871 justify-content: center; 13872`,Lz=c` 13873 align-items: center; 13874 display: flex; 13875 flex-direction: column; 13876 justify-content: center; 13877 background-color: ${a("--bg-color")}; 13878 color: ${a("--fg-color")}; 13879 min-height: max(600px, calc(100vh - var(--total-header-height))); 13880 padding: ${a("--spacing-xxl")}; 13881 text-align: center; 13882 width: 100%; 13883`,Hz=c` 13884 margin-bottom: 10px; 13885 13886 ${Da.over1024_desktop_medium} { 13887 font-size: 5rem; 13888 line-height: 5.5rem; 13889 } 13890`,Vz=c` 13891 min-height: calc(100vh - var(--total-header-height)); 13892 min-height: calc(100dvh - var(--total-header-height)); 13893`;var Rne=c` 13894 max-width: 500px; 13895 width: 80%; 13896`,od=()=>{let{formatMessage:e}=(0,Oz.useContext)(We),t=e({id:"noMatch.title",defaultMessage:"Well, this is awkward!"}),o=e({id:"noMatch.subtitle",defaultMessage:"We could not find what you were looking for."});return x("div",{className:h(Ne($z),Lz,Vz),"data-testid":"mwp-404-page",children:[i("h1",{className:Hz,children:t}),i("h2",{children:o}),i("img",{className:Rne,src:"/images/404.png",alt:"404 Ghost Image"})]})};od.displayName="NoMatchDefault";var Fne=R` 13897 fragment Custom404 on Slug { 13898 ...ContentfulSysId 13899 page { 13900 ...ExperimentOnPageLoadingPageShallow 13901 } 13902 } 13903 ${Ig("Page","PageShallow",Vf)} 13904 ${G} 13905`,Gz=R` 13906 query Custom404CollectionQuery($preview: Boolean!, $locale: String!) { 13907 slugCollection(preview: $preview, locale: $locale, where: { slug: "not-found" }, limit: 1) { 13908 items { 13909 ...Custom404 13910 } 13911 } 13912 } 13913 ${Fne} 13914`;var ea=()=>{let{staticContext:e}=(0,zz.useContext)(wa),{data:t}=ce(Gz),{decideExperiment:o}=pn();if(e&&(e.statusCode=404),!t)return null;let n=t.slugCollection.items?.[0]?.page;if(!n)return i(od,{});if(n.__typename==="Page")return i("section",{className:h($f,zl,Lf),"data-testid":"mwp-404-page",children:i(Wl,{...n})});let r=o(n,{logImpression:!0});return i($o.Provider,{value:{isShareable:!1,replacements:r.replacements},children:i("section",{"data-testid":"mwp-404-page",children:i(Wl,{...r.decision})})})};ea.displayName="NoMatch";function Uf(e){switch(e){case"sandbox":return void 0;default:return{}}}var FI=({match:e})=>{let t=Uf(O.site)[e.params.name];return t?i(Ki,{component:t}):i(ea,{})};FI.displayName="ContentlessPreview";var RIt=R` 13915 query AllPageSideNavQuery($preview: Boolean!, $locale: String!, $limit: Int, $skip: Int) { 13916 slugCollection( 13917 limit: $limit 13918 skip: $skip 13919 preview: $preview 13920 locale: $locale 13921 where: { page_exists: true } 13922 ) { 13923 total 13924 items { 13925 ...ContentfulSysId 13926 slug 13927 page { 13928 ...ExperimentOnPageLoadingPageNavigationShallow 13929 } 13930 unlistedCriteria { 13931 ...CriteriaAll 13932 } 13933 } 13934 } 13935 } 13936 ${G} 13937 ${ni("Page","PageNavigationShallow",vz)} 13938`;var ql=T(P());var BI=R` 13939 fragment NavigationItemLink on NavigatorItem { 13940 ...ContentfulSysId 13941 title { 13942 json 13943 } 13944 url 13945 hideCriteria { 13946 ...CriteriaAll 13947 } 13948 analytics { 13949 ...AnalyticsAll 13950 } 13951 } 13952 ${G} 13953 ${Yt} 13954 ${fo.all} 13955`;var Bne={all:R` 13956 fragment SideNavigationAll on SideNavigation { 13957 ...ContentfulSysId
13958 brandBackgroundColor 13959 backgroundColor 13960 brandBackgroundColorMobile 13961 mobileBackgroundColor 13962 navigatorItemsCollection(limit: 14) { 13963 items { 13964 ...NavigationItemLink 13965 navigatorItemsCollection(limit: 15) { 13966 items { 13967 ...NavigationItemLink 13968 } 13969 } 13970 } 13971 } 13972 } 13973 ${BI} 13974 `},Wz=R` 13975 query SideNavigationQuery($preview: Boolean!, $locale: String!, $id: String!) { 13976 sideNavigation(preview: $preview, locale: $locale, id: $id) { 13977 ...SideNavigationAll 13978 } 13979 } 13980 ${Bne.all} 13981`;var $I=T(Ua());var qz=T(P());var Qz=c` 13982 ${H} { 13983 & > * { 13984 position: sticky; 13985 top: var(--total-header-height); 13986 } 13987 } 13988 13989 ${N} { 13990 position: sticky; 13991 top: var(--total-header-height); 13992 } 13993`;var $ne=({navigatorItemsCollection:e,brandBackgroundColor:t,backgroundColor:o,brandBackgroundColorMobile:n,mobileBackgroundColor:r,sys:s})=>{let l=tt(t),p=tt(n),{checkCriteria:d}=pn(),{isUrlCurrent:u}=wg(),y=b=>d(b.hideCriteria),m=e.items.filter(y).map(b=>{let{titleDataset:S}=Re({entryId:b.sys.id,fieldIds:["title"]});return{title:b.title?(0,$I.documentToPlainTextString)(b.title.json):"",links:(b.navigatorItemsCollection?.items??[]).filter(y).map(C=>{let{titleDataset:I}=Re({entryId:C.sys.id,fieldIds:["title"]});return{title:C.title?(0,$I.documentToPlainTextString)(C.title.json):"",url:C.url??"",dataset:I}}),dataset:S}}),{contentfulDescriptionDataset:g}=Re({entryId:s.id,fieldIds:["contentfulDescription"]}),f=(0,qz.useContext)(Se).elementLocation;return i(JS,{className:Qz,items:m,isUrlCurrent:u,dataset:g,motifScheme:l,motifSchemeMobile:p,backgroundColor:o,mobileBackgroundColor:r,onSectionClick:(b,S)=>
13993{ge({eventCategory:"SideNavigation",eventAction:S?"Open":"Close",eventLabel:null,context:{elementText:b,elementLocation:f}})}})},LI=e=>{let t=ro(e)?e.sys.id:void 0,{data:o}=ce(Wz,{skip:!t,variables:{id:t}});return o?i($ne,{...o.sideNavigation}):null};LI.displayName="SideNavigation";var Kz={"latest-dev":0,staging:1,production:2};function jz(e){let t=O.contentlessComponentsBySlug?.[e];if(!t||Kz[O.deploymentType]>Kz[t.applyUpTo])return;let o=Uf(O.site)[t.component];return o?{component:o,placement:t.placement}:void 0}var Wf=T(P());var Lne=c` 13994 padding: 20px; 13995`,Ql=({path:e,newTab:t,isPermanent:o})=>{let{onRedirect:n,getCurrentUrl:r,currentLocale:s}=(0,Wf.useContext)(Z),l=e||"/",p=new URL(r()),{href:d}=Gm({destination:l,currentUrl:p,locale:s,newTab:t}),u=d?new URL(d,p):void 0,y=u?qo(u)?`${u.pathname}${u.search}${u.hash}`:u.href:l;return O.isClient||n?.(y,{isPermanent:o,newTab:t}),(0,Wf.useEffect)(()=>{n?.(y,{isPermanent:o,newTab:t})},[n,y,t,o]),x("section",{className:Lne,children:["Redirecting to ",i("a",{href:y,children:y}),"."]})};var HI=R` 13996 fragment Redirect on Redirect { 13997 ...ContentfulSysId 13998 externalUrl 13999 isPermanent 14000 slug { 14001 sys { 14002 id 14003 } 14004 slug 14005 } 14006 } 14007 ${G} 14008`,Yz=R` 14009 fragment SiteMapRedirect on Redirect { 14010 ...ContentfulSysId 14011 } 14012 ${G} 14013`;var Xz=R` 14014 fragment Slug on Slug { 14015 sys { 14016 id 14017 publishedAt 14018 firstPublishedAt 14019 } 14020 __typename 14021 slug 14022 postedDate 14023 page { 14024 ...PageAssetAll 14025 ...ExperimentOnPageLoadingPageShallow 14026 ...ExperimentOnRedirectLoadingRedirect 14027 ...Redirect 14028 } 14029 unlistedCriteria { 14030 ...CriteriaAll 14031 } 14032 shareable 14033 ...BreadcrumbsAll 14034 topicsCollection { 14035 items { 14036 ...TopicAll 14037 } 14038 } 14039 } 14040 ${Ig("Page","PageShallow",Vf)} 14041 ${ni("Redirect","Redirect",HI)} 14042 ${G} 14043 ${Nl} 14044 ${HI} 14045 ${gI} 14046 ${tf} 14047`,Fkt=R` 14048 fragment SiteMapSlug on Slug { 14049 sys { 14050 id 14051 firstPublishedAt 14052 } 14053 __typename 14054 postedDate 14055 slug 14056 page { 14057 ...SiteMapPage 14058 ...SiteMapExperiment 14059 ...SiteMapRedirect 14060 } 14061 unlistedCriteria { 14062 ...CriteriaAll 14063 } 14064 } 14065 ${kz} 14066 ${g9} 14067 ${Yz} 14068 ${Yt} 14069`;var Jz=R` 14070 query SlugCollectionQuery($preview: Boolean!, $locale: String!, $slug: String!) { 14071 slugCollection(preview: $preview, locale: $locale, where: { slug: $slug }, limit: 1) { 14072 total 14073 items { 14074 ...Slug 14075 } 14076 } 14077 } 14078 ${Xz} 14079`;var Hne="/404",VI=e=>{let{decideExperiment:t}=pn(),{data:o}=ce(Jz,{variables:{slug:e.slug}}),n=jz(e.slug);if(!o)return null;let r=ts(o?.slugCollection.items),s=r?.page,l,p;if(s?.__typename==="Experiment"){let f=t(s,{logImpression:!0});if(O.isClient){let b=document.getElementsByTagName("main")[0];f?.experimentId&&b.setAttribute("data-experiment-id",f.experimentId),f.variantId&&b.setAttribute("data-experiment-arm-id",f.variantId)}l=f.decision,p=f.replacements}else l=s;if(!l||!r)return n?i(Ki,{component:n.component}):(Je({eventCategory:"NoMatch",eventAction:"404-redirect",eventLabel:e.slug,subscribedEventType:"internal"}),i(Ql,{path:Hne}));if(l.__typename==="PageAsset")return l.media?.url?i(Ql,{path:l.media.url,newTab:!1}):i(ea,{});if(l.__typename==="Redirect")return Je({eventCategory:"Redirect",eventAction:"page-redirect",eventLabel:l.slug?.slug??l.externalUrl??null,subscribedEventType:"internal"}),l.slug?.slug?l.slug.slug==="home"?i(Ql,{path:"",newTab:!1,isPermanent:l.isPermanent}):i(Ql,{path:`/${l.slug.slug}`,newTab:!1,isPermanent:l.isPermanent}):l.externalUrl?i(Ql,{path:l.externalUrl,newTab:!1,isPermanent:l.isPermanent}):i(ea,{});let d;r.sys.publishedAt&&(d=new Date(r.sys.publishedAt));let u=r.postedDate??r.sys.firstPublishedAt,y=u?new Date(u):void 0,m={sys:r.sys,slug:r.slug,breadcrumbText:r.breadcrumbText,slugParent:r.slugParent},g=OG(m);return x(ue,{children:[g&&i(kt,{children:i("script",{type:"application/ld+json",children:JSON.stringify(g)})}),i($o.Provider,{value:{publishedAt:d,postedDate:y,isShareable:r.shareable??!1,replacements:p,breadcrumbData:m,topics:r.topicsCollection?.items,slugId:r.sys.id},children:i(Wl,{...l,contentless:n})})]})};VI.displayName="SlugCollection";var Zz=R` 14080 query PagesWithSubOrSideNavQuery($preview: Boolean!) { 14081 pageCollection( 14082 locale: "en-US" # Always en-US because "linkedFrom" do not work in other languages. 14083 preview: $preview 14084 where: { sideNavigation_exists: true } 14085 limit: 500 14086 ) { 14087 total 14088 items { 14089 sideNavigation { 14090 ...ContentfulSysId 14091 } 14092 linkedFrom { 14093 entryCollection { 14094 total 14095 items { 14096 ...ContentfulSysId 14097 ... on Slug { 14098 slug 14099 } 14100 } 14101 } 14102 } 14103 ...ContentfulSysId 14104 } 14105 } 14106 } 14107 ${G} 14108`,eU=R` 14109 query ExperimentsByIdsLinkingToSlugsQuery($preview: Boolean!, $ids: [String]!) { 14110 experimentCollection( 14111 locale: "en-US" # Always en-US because "linkedFrom" do not work in other languages. 14112 preview: $preview 14113 where: { sys: { id_in: $ids } } 14114 limit: 500 14115 ) { 14116 total 14117 items { 14118 ...ContentfulSysId 14119 linkedFrom { 14120 entryCollection { 14121 total 14122 items { 14123 ...ContentfulSysId 14124 ... on Slug { 14125 slug 14126 } 14127 } 14128 } 14129 } 14130 } 14131 } 14132 } 14133 ${G} 14134`;function tU(){let e=new Map,t=new Map,o=new Map,n=new Map,{data:r}=ce(Zz);for(let p of r?.pageCollection.items??[])for(let d of p.linkedFrom.entryCollection.items)if(d)switch(d.__typename){case"Experiment":{p.sideNavigation&&o.set(d.sys.id,p.sideNavigation),p.subNavigation&&n.set(d.sys.id,p.subNavigation);break}case"Slug":{d.slug&&p.sideNavigation&&e.set(d.slug,p.sideNavigation),d.slug&&p.subNavigation&&t.set(d.slug,p.subNavigation);break}}let s=new Set([...o.keys(),...n.keys()]),{data:l}=ce(eU,{variables:{ids:[...s]},skip:s.size===0});for(let p of l?.experimentCollection.items??[])for(let d of p.linkedFrom.entryCollection.items)if(d.__typename==="Slug"&&d.slug){let u=o.get(p.sys.id);u&&e.set(d.slug,u);let y=n.get(p.sys.id);y&&t.set(d.slug,y)}return{sideNavMap:e,subNavMap:t}}var nU=()=>{let e=Gt(),t=e.pathname.substring(1),o=vf(e.pathname),n=vt(),r=(void 0)?.[o],s=n.homeRedirect==="true";(0,ql.useEffect)(()=>
14134{if(s&&t==="home"&&O.isClient){let b=new URL(window.location.href);b.pathname="",window.history.replaceState(null,"",b)}},[t,s]),(0,ql.useEffect)(()=>{window.scrollTo(0,0)},[o]);let{sideNavMap:l,subNavMap:p}=tU(),d=l.has(o),u=l.get(o)?.sys.id,y=p.has(o),m=p.get(o)?.sys.id,{setHasSideNav:g,setHasSubNav:f}=(0,ql.useContext)(sn);return(0,ql.useEffect)(()=>{g?.(d),f?.(y)},[d,y,g,f]),u&&m&&Qa({component:"Slug",message:"Having both a SideNav and a SubNav isn't supported.",context:{slug:o}}),x("div",{"data-testid":"mwp-slug",className:h($f,zl,Lf,{[bz]:d}),style:r?{maxWidth:r}:void 0,children:[u&&i(Se.Provider,{value:{elementLocation:"SideNavigation"},children:i(LI,{sys:{id:u}})}),i(VI,{slug:o},o)]})};var Qf=T(P());var Vne=Zt.White,aU=c` 14135 padding-top: 0; 14136`,rU=({cookieDomain:e,deploymentType:t,domainName:o,isClient:n,backgroundColor:r=Vne,globalPrivacyControl:s})=>{(0,Qf.useEffect)(()=>{window.scrollTo(0,0)},[]);let{store:l}=(0,Qf.useContext)(zt);t!=="production"&&(o="",e="");let p=O.site==="stinson",u=vt().submitShopifyTrackingConsent==="true",y=o===e||o===`www.${e}`,m=r===Zt.Black?"Black":"White";return y?n?i(oo,{backgroundColor:r,className:aU,children:i(FC,{cookieDomain:e,backgroundType:m,onSubmit:g=>{l&&u&&eg({cookieAcceptance:g.cookieAcceptance,store:l,saleOfData:!s}).catch(f=>Be({component:"CookieSettings",error:f}))}})}):p?i(oo,{backgroundColor:r,className:aU}):null:i(od,{})};var Wt=T(P());var iU=c` 14137 align-items: center; 14138 display: flex; 14139 flex-direction: column; 14140 padding-block: ${a("--spacing-xl")} 128px; 14141 width: 100%; 14142`,sU=c` 14143 margin-block-end: ${a("--spacing-xs")}; 14144`,lU=c` 14145 ${Tt} 14146 margin-block-end: ${a("--spacing-l")}; 14147`,pU=c` 14148 width: 268px; 14149 max-width: 90%; 14150`;var OI=()=>x("div",{className:iU,children:[i("h4",{className:sU,children:i(Ln,{id:"searchNotFoundTitle",defaultMessage:"Sorry, no results were found"})}),i("p",{className:lU,children:i(Ln,{id:"searchNotFoundSubtitle",defaultMessage:"Please try again with a different keyword."})}),i("img",{alt:"confused ghost logo",src:"/images/404.png",className:pU})]});OI.displayName="NoResultsFound";var cU="query",dU="offset",uU="page",yU="locale";var mU=c` 14151 margin-block: 0 ${a("--spacing-xxs")}; 14152`,gU=c` 14153 border-radius: ${a("--spacing-xxxs")}; 14154 color: ${a("--action-text-default-color")}; 14155 text-decoration: none; 14156 14157 @media (hover: hover) { 14158 &:hover { 14159 color: ${a("--action-text-hover-color")}; 14160 text-decoration-thickness: ${a("--spacing-xxxs")}; 14161 text-decoration: underline; 14162 text-underline-offset: ${a("--spacing-xxxs")}; 14163 } 14164 } 14165`,fU=c` 14166 ${Tt} 14167 -webkit-box-orient: vertical; 14168 -webkit-line-clamp: 4; 14169 color: ${a("--fg-color")}; 14170 display: -webkit-box; 14171 hyphens: auto; 14172 overflow: hidden; 14173 text-overflow: ellipsis; 14174 word-break: break-word; 14175 word-wrap: break-word; 14176 14177 ${H} { 14178 -webkit-line-clamp: 2; 14179 } 14180 14181 & strong { 14182 font-weight: 600; 14183 } 14184`;var One=e=>{let t=/<em>(.*?)<\/em>/gi;return e.split(t).map((n,r)=>r%2===1?i("strong",{children:n},r):n)},GI=({description:e,pageTitle:t,slug:o,onClick:n})=>x("article",{className:"sdsm-search",children:[i("h6",{className:mU,children:i(fn,{href:o,className:gU,onClick:n,children:t})}),e&&i("p",{className:fU,children:One(e)})]});GI.displayName="SearchResultItem";var nd=T(P());function bU(e,t,o=1,n=20){let r=(0,nd.useRef)([]),s=(0,nd.useRef)(0),l={results:[],total:0},p=l,d=(0,nd.useMemo)(()=>{let b=new URLSearchParams,S=Math.max(0,(o-1)*n);return b.append(cU,e??""),b.append(yU,t),b.append(dU,`${S}`),b.append(uU,`${n}`),b},[e,t,o,n]),y=`${O.isClient?"":`http://localhost:${process.env.PORT??3e3}`}/api/search?${d}`,{data:m,isLoading:g,error:f}=cn({dataId:`/api/search?${d}`,dataAsync:async()=>{if(!e)return l;let b=await fetch(y);if(!b.ok){let C=await b.text();throw new Error(C)}return await b.json()}});return f&&ke.logError({component:"useSearchResults",message:"Error loading search results",error:f}),m&&(r.current=m.results,s.current=m.total,p=m),{data:g?{results:r.current,total:s.current}:p,isLoading:g,isErrored:!!f}}var SU=c` 14185 background-color: ${a("--bg-color")}; 14186 margin-inline: auto; 14187 max-width: ${a("--search-container-max-width")}; 14188 min-height: calc(100vh - ${64}
14188px); 14189 min-height: calc(100dvh - ${64}px); 14190 padding-block: ${a("--spacing-xl")}; 14191 padding-inline: ${a("--spacing-xl")}; 14192 width: 100%; 14193 14194 ${N} { 14195 margin-block: ${a("--spacing-xxxl")}; 14196 } 14197`,hU=c` 14198 margin-block-end: ${a("--spacing-xxxl")}; 14199 14200 ${N} { 14201 margin-block-end: ${a("--spacing-xl")}; 14202 } 14203`,CU=c` 14204 ${qt}; 14205 color: ${a("--search-subtitle-color")}; 14206 margin-block-start: ${a("--spacing-s")}; 14207`,xU=c` 14208 margin-block-end: ${a("--spacing-xxxl")}; 14209 14210 ${N} { 14211 margin-block-end: ${a("--spacing-xl")}; 14212 } 14213`,vU=c` 14214 display: flex; 14215 flex-wrap: wrap; 14216 gap: ${a("--search-results-list-gap")}; 14217 list-style: none; 14218 > li { 14219 width: 100%; 14220 } 14221`,IU=c` 14222 display: flex; 14223 justify-content: center; 14224`;var kU=20,Gne=250,zne=1e3,Une=e=>e.map(o=>o.replace(/ ?(\u2063+)/gm,"\u2026").replace(/^\u2026+|\u2026+$/g,"")).join("\u2026 "),Wne=e=>{window.requestAnimationFrame(()=>{let t=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue(lt),10),o=e?.getBoundingClientRect().top??0,n=window.scrollY;window.scrollTo({top:o+n-(t+20),behavior:"smooth"})})},MU=()=>{let e=Wm(),t=e.get("q")??"",o=Number(e.get("page")??"1"),[n,r]=(0,Wt.useState)(!0);q("sdsm-search");let{currentLocale:s}=(0,Wt.useContext)(Z),{formatMessage:l}=(0,Wt.useContext)(We),{getUrlParams:p,setUrlParams:d}=(0,Wt.useContext)(nn),u=(0,Wt.useContext)(Se).elementLocation,y=(0,Wt.useRef)(null),[m,g]=(0,Wt.useState)(o),[f,b]=(0,Wt.useState)(t),[S,C]=(0,Wt.useState)(f);(0,Wt.useEffect)(()=>{if(f===S)return;let M=setTimeout(()=>{C(f),g(1),r(!0)},Gne);return()=>{clearTimeout(M)}},[f,S]),(0,Wt.useEffect)(()=>{let M=setTimeout(()=>{Je({subscribedEventType:"page_load"})},zne);return()=>{clearTimeout(M)}});let I=bU(S,s,m,kU);(0,Wt.useEffect)(()=>{I.isLoading||r(!1)},[I.isLoading]),(0,Wt.useEffect)(()=>{if(!p||!d)return;let M=new URLSearchParams(p());S===(M.get("q")??"")&&m.toString()===M.get("page")||(M.set("q",S),M.set("page",`${m}`),d({...Object.fromEntries(M)}))},[s,S,m,p,d]),(0,Wt.useEffect)(()=>{let M=o,_=t;g(M),b(_),C(_)},[o,t]);let k=M=>{let _=M.trimStart();b(_)},v=(0,Wt.useCallback)(M=>{g(M),Wne(y.current)},[y.current]),A=n&&I.isLoading&&!I.isErrored,w=!A&&!!I.data.total,D=!A&&!I.data.total;return x(ue,{children:[i(vi,{noIndex:!0}),x("div",{"data-testid":"mwp-search",className:SU,ref:y,children:[x("div",{className:hU,children:[i(xu,{autocompleteResults:[],collapsible:!1,hideSuggestions:!0,initialText:AM(pp(f)),loadingAutocompleteTerms:!1,onChange:k,onSelect:ko,placeholder:l({id:"placeholderSearchPageInput",defaultMessage:"Search..."})}),I&&i("p",{className:CU,children:i(Ln,{id:"searchResultsSubtitle",defaultMessage:'{total} search results for "{term}"',values:{total:String(I.data.total),term:pp(S)}})})]}
14224),x("div",{className:xU,children:[A&&i("div",{className:IU,children:i(Dd,{})}),w&&i("ul",{className:vU,children:I.data.results.map((M,_)=>i("li",{children:i(GI,{description:Une(M.highlights),pageTitle:M.pageTitle,slug:M.slug,onClick:()=>ge({eventCategory:"SearchResult",eventAction:"Click",eventLabel:M.slug,context:{targetUrl:`/${M.slug}`,elementText:M.pageTitle,elementLocation:u}})})},M.pageTitle+f+_*m))}),D&&i(OI,{})]}),w?i(wi,{currentPage:m,onChange:v,totalPages:Math.floor((I.data.total-1)/kU)+1}):null,!I.isLoading&&i(Gf,{})]})]})};var qf=T(P());var TU=c` 14225 display: flex; 14226 justify-content: center; 14227 align-items: center; 14228 min-height: calc(100vh - var(--total-header-height)); 14229 min-height: calc(100dvh - var(--total-header-height)); 14230 img, 14231 video { 14232 max-width: 300px; 14233 border-radius: ${a("--spacing-s")}; 14234 } 14235`,AU=c` 14236 border-radius: ${a("--spacing-s")}; 14237 box-shadow: 0 ${a("--spacing-xs")} ${a("--spacing-xl")} 0 rgba(0, 0, 0, 0.16); 14238 border: ${a("--spacing-s")} solid #fff; 14239`;var Qne=["mp4","mov"],qne="https://storage.googleapis.com/ad-manager-political-ads-dump-shadow",_U=({match:e})=>{let t=e?.params.assetId,{getCurrentUrl:o}=(0,qf.useContext)(Z),[n,r]=(0,qf.useState)(!1);if(Ko(()=>{Je({subscribedEventType:"page_load"})},[t]),!t)return i(ea,{});let s=o(),p=new URL(s).searchParams.get("mediaType"),d=`${qne}/${t}.${p}`,u=()=>{Be({component:"PoliticalAdsAsset",action:"Loading asset failed"}),r(!0)};if(n)return i(ea,{});let y=Qne.includes(p||"")?i("video",{src:d,autoPlay:!0,controls:!0,onError:u}):i("img",{src:d,onError:u,alt:"ad"});return i("article",{className:TU,children:i("section",{className:AU,children:y})})};var wU=({globalPrivacyControl:e})=>{let t=Gt(),o=lr(),r=vt().enableSiteSearch==="true";return(0,zI.useEffect)(()=>{if(!t.hash)return;let l=setTimeout(()=>Zc(t.hash),1e3);return()=>{clearTimeout(l)}},[]),(0,zI.useEffect)(()=>o.listen(p=>Zc(p.hash)),[o.listen]),x(lx,{children:[i(qr,{exact:!0,path:QM,render:()=>i(rU,{backgroundColor:O.theme?.defaultPageBackgroundColor,cookieDomain:O.trackingSettings.cookieDomain,deploymentType:O.deploymentType,domainName:O.domainName,isClient:O.isClient,globalPrivacyControl:e})}),r&&i(qr,{exact:!0,path:"/search",component:MU}),O.site==="snap"&&i(qr,{path:"/political-ads/asset/:assetId",component:_U}),i(qr,{path:"/404",component:ea}),!O.isDeploymentTypeProd&&i(qr,{exact:!0,path:"/preview/contentless/:name",component:FI}),i(qr,{path:"*",component:nU})]})};var DU=()=>{switch(O.site){case"arcadia":return;case"avalon":return;case"cheerios":return;default:return eT}};function FU(){switch(O.site){case"arcadia":return void 0;case"avalon":return void 0;case"cheerios":return void 0;case"careers":case"citizen":case"diversity":case"eng-blog":case"newsroom":case"snap":case"trust":return Rg;case"experience":case"stinson":return void 0;default:return ns}}var pi,rd,QU,jf,qI,qU=-1,jl=function(e){addEventListener("pageshow",(function(t){t.persisted&&(qU=t.timeStamp,e(t))}),!0)},KU=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},KI=function(){var e=KU();return e&&e.activationStart||0},$a=function(e,t){var o=KU(),n="navigate";return qU>=0?n="back-forward-cache":o&&(document.prerendering||KI()>0?n="prerender":document.wasDiscarded?n="restore":o.type&&(n=o.type.replace(/_/g,"-"))),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},Yl=function(e,t,o){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(r){Promise.resolve().then((function(){t(r.getEntries())}))}));return n.observe(Object.assign({type:e,buffered:!0},o||{})),n}}catch{}},La=function(e,t,o,n){var r,s;return function(l){t.value>=0&&(l||n)&&((s=t.value-(r||0))||r===void 0)&&(r=t.value,t.delta=s,t.rating=(function(p,d){return p>d[1]?"poor":p>d[0]?"needs-improvement":"good"})(t.value,o),e(t))}},jI=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},Xf=function(e){var t=function(o){o.type!=="pagehide"&&document.visibilityState!=="hidden"||e(o)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},YI=function(e){var t=!1;return function(o){t||(e(o),t=!0)}},Kl=-1,BU=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Yf=function(e){document.visibilityState==="hidden"&&Kl>-1&&(Kl=e.type==="visibilitychange"?e.timeStamp:0,Kne())}
14239,$U=function(){addEventListener("visibilitychange",Yf,!0),addEventListener("prerenderingchange",Yf,!0)},Kne=function(){removeEventListener("visibilitychange",Yf,!0),removeEventListener("prerenderingchange",Yf,!0)},XI=function(){return Kl<0&&(Kl=BU(),$U(),jl((function(){setTimeout((function(){Kl=BU(),$U()}),0)}))),{get firstHiddenTime(){return Kl}}},Jf=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},LU=[1800,3e3],jne=function(e,t){t=t||{},Jf((function(){var o,n=XI(),r=$a("FCP"),s=Yl("paint",(function(l){l.forEach((function(p){p.name==="first-contentful-paint"&&(s.disconnect(),p.startTime<n.firstHiddenTime&&(r.value=Math.max(p.startTime-KI(),0),r.entries.push(p),o(!0)))}))}));s&&(o=La(e,r,LU,t.reportAllChanges),jl((function(l){r=$a("FCP"),o=La(e,r,LU,t.reportAllChanges),jI((function(){r.value=performance.now()-l.timeStamp,o(!0)}))})))}))},HU=[.1,.25],jU=function(e,t){t=t||{},jne(YI((function(){var o,n=$a("CLS",0),r=0,s=[],l=function(d){d.forEach((function(u){if(!u.hadRecentInput){var y=s[0],m=s[s.length-1];r&&u.startTime-m.startTime<1e3&&u.startTime-y.startTime<5e3?(r+=u.value,s.push(u)):(r=u.value,s=[u])}})),r>n.value&&(n.value=r,n.entries=s,o())},p=Yl("layout-shift",l);p&&(o=La(e,n,HU,t.reportAllChanges),Xf((function(){l(p.takeRecords()),o(!0)})),jl((function(){r=0,n=$a("CLS",0),o=La(e,n,HU,t.reportAllChanges),jI((function(){return o()}))})),setTimeout(o,0))})))},ad={passive:!0,capture:!0},Yne=new Date,VU=function(e,t){pi||(pi=t,rd=e,QU=new Date,XU(removeEventListener),YU())},YU=function(){if(rd>=0&&rd<QU-Yne){var e={entryType:"first-input",name:pi.type,target:pi.target,cancelable:pi.cancelable,startTime:pi.timeStamp,processingStart:pi.timeStamp+rd};jf.forEach((function(t){t(e)})),jf=[]}},Xne=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;e.type=="pointerdown"?(function(o,n){var r=function(){VU(o,n),l()},s=function(){l()},l=function(){removeEventListener("pointerup",r,ad),removeEventListener("pointercancel",s,ad)};addEventListener("pointerup",r,ad),addEventListener("pointercancel",s,ad)})(t,e):VU(t,e)}},XU=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,Xne,ad)}))},OU=[100,300],JU=function(e,t){t=t||{},Jf((function(){var o,n=XI(),r=$a("FID"),s=function(d){d.startTime<n.firstHiddenTime&&(r.value=d.processingStart-d.startTime,r.entries.push(d),o(!0))},l=function(d){d.forEach(s)},p=Yl("first-input",l);o=La(e,r,OU,t.reportAllChanges),p&&Xf(YI((function(){l(p.takeRecords()),p.disconnect()}))),p&&jl((function(){var d;r=$a("FID"),o=La(e,r,OU,t.reportAllChanges),jf=[],rd=-1,pi=null,XU(addEventListener),d=s,jf.push(d),YU()}))}))},ZU=0,UI=1/0,Kf=0,Jne=function(e){e.forEach((function(t){t.interactionId&&(UI=Math.min(UI,t.interactionId),Kf=Math.max(Kf,t.interactionId),ZU=Kf?(Kf-UI)/7+1:0)}))},eW=function(){return qI?ZU:performance.interactionCount||0},Zne=function(){"interactionCount"in performance||qI||(qI=Yl("event",Jne,{type:"event",buffered:!0,durationThreshold:0}))},GU=[200,500],tW=0,zU=function(){return eW()-tW},Ba=[],WI={},UU=function(e){var t=Ba[Ba.length-1],o=WI[e.interactionId];if(o||Ba.length<10||e.duration>t.latency){if(o)o.entries.push(e),o.latency=Math.max(o.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};WI[n.id]=n,Ba.push(n)}Ba.sort((function(r,s){return s.latency-r.latency})),Ba.splice(10).forEach((function(r){delete WI[r.id]}))}},oW=function(e,t){t=t||{},Jf((function(){var o;Zne();var n,r=$a("INP"),s=function(p){p.forEach((function(y){y.interactionId&&UU(y),y.entryType==="first-input"&&!Ba.some((function(m){return m.entries.some((function(g){return y.duration===g.duration&&y.startTime===g.startTime}))}))&&UU(y)}));var d,u=(d=Math.min(Ba.length-1,Math.floor(zU()/50)),Ba[d]);u&&u.latency!==r.value&&(r.value=u.latency,r.entries=u.entries,n())},l=Yl("event",s,{durationThreshold:(o=t.durationThreshold)!==null&&o!==void 0?o:40});n=La(e,r,GU,t.reportAllChanges),l&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&l.observe({type:"first-input",buffered:!0}),Xf((function(){s(l.takeRecords()),r.value<0&&zU()>0&&(r.value=0,r.entries=[]),n(!0)})),jl((function(){Ba=[],tW=eW(),r=$a("INP"),n=La(e,r,GU,t.reportAllChanges)})))}))},WU=[2500,4e3],QI={},nW=function(e,t){t=t||{},Jf((function(){var o,n=XI(),r=$a("LCP"),s=function(d){var u=d[d.length-1];u&&u.startTime<n.firstHiddenTime&&(r.value=Math.max(u.startTime-KI(),0),r.entries=[u],o())},l=Yl("largest-contentful-paint",s);if(l){o=La(e,r,WU,t.reportAllChanges);var p=YI((function(){QI[r.id]||(s(l.takeRecords()),l.disconnect(),QI[r.id]=!0,o(!0))}));["keydown","click"].forEach((function(d){addEventListener(d,(function(){return setTimeout(p,0)}),!0)})),Xf(p),jl((function(d){r=$a("LCP"),o=La(e,r,WU,t.reportAllChanges),jI((function(){r.value=performance.now()-d.timeStamp,QI[r.id]=!0,o(!0)}))}))}}))};var aW=()=>{let e="WebVitals";jU(t=>Ar({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"cumulative_layout_shift",eventCategory:e})),JU(t=>qa({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"first_input_delay",eventCategory:e})),nW(t=>qa({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"largest_contentful_paint",eventCategory:e})),oW(t=>{qa({eventValue:t.value,eventLabel:window.location.pathname,eventVariable:"interaction_to_next_paint",eventCategory:e})})};function rW(e){let t=e.getLowEntropyHints(),o=t.browsers[0]?.majorVersion;return{isMobile:t.isMobile,brand:t.browsers[0]?.brand,brandVersion:o?String(o):void 0,platform:t.platform}}var eae=({onHistory:e})=>{let t=lr();return e?.(t),null},sW=()=>ln()==="specs"?i(void 0,{}):null;sW.displayName="SpecsFontStylesheet";var lW=({getCurrentUrl:e,currentLocale:t,supportedLocales:o,routerContext:n,userLocation:r,shopifyData:s,helmetContext:l,pageLayoutContext:p,apolloClient:d,globalApolloClient:u,siteData:y,browserFeatures:m,onRedirect:g,onHistory:f,asyncDataController:b,globalPrivacyControl:S,cookieManager:C,getUserInfo:I,getPersona:k,createUuidV4:v,singleCallbackCache:A,onHlsVideo:w,initialPersonas:D,updatePersonas:M})=>{let _=Bo().startSpan("appRender"),F=new URL(e()),$;O.isClient?$=({children:ee})=>x(QL,{children:[i(eae,{onHistory:f}),ee]}):$=({children:ee})=>i(sx,{location:F.pathname,context:n,children:ee}),$.displayName="Router",m.getHighEntropyHintsAsync({hints:["connection","reduceMotion"]});let B=rW(m),V=tg(t)==="rtl";Oa(()=>{let ee=()=>{let be=new URL(e());return{locale:t,url:be,hostname:be.hostname,userAgentHints:B,uaBrand:B?.brand,uaPlatform:B?.platform,path:be.pathname,userCountry:r.country,isRtl:V}};return ke.addContextProvider(ee),()=>ke.removeContextProvider(ee)},[t,F,V,B,r.country]),(0,Rn.useEffect)(()=>{aW()},[t,e,V,F.hostname,F.pathname,B,r.country]);let L={supportedLocales:o,currentLocale:o[t??ys.currentLocale].code,logEvent:({type:ee,label:be,url:Q,component:le})=>{ee&&(be||Q)&&Je({subscribedEventType:"user_interaction",eventCategory:le??"CTA",eventAction:ee,eventLabel:be??(Q?`to: ${Q}`:null)})},isUrlCurrent:ux(e),getUrlParams:()=>{let ee=new URL(e()).search;return l6(ee)},setUrlParams:ee=>{if(!O.isClient)return;let{pathname:be}=window.location,Q=s6(ee),le=`${be}?${Q}`;window.history.pushState(null,"",le)}};if(et.displayName!=="GlobalHeaderContextSDSM")throw new Error("Duplicate SDS-M packages found. See https://jira.sc-corp.net/browse/ENTWEB-4284");let z={onError:ee=>{Be({component:"GlobalComponents",error:ee instanceof Error?ee:void 0,message:typeof ee=="string"?ee:void 0})},Anchor:fn,currentLocale:t,isPreview:O.isPreview,isSSR:O.isSSR,hostname:O.domainName,onEvent:({component:ee,action:be,label:Q,url:le})=>{Je({subscribedEventType:"user_interaction",event:Lc,eventCategory:ee??"GlobalComponent",eventAction:be,eventLabel:Q??(le?`to: ${le}`:"generic")}),le&&!qo(new URL(le,e()))&&ke.flush()},supportedLocales:o,onLocaleChange:ee=>{let be=new URL(window.location.href);be.searchParams.set("lang",ee),window.location.replace(be)},isUrlCurrent:ux(e),globalApolloClient:u},[K,ye]=(0,Rn.useState)(y),se=(0,Rn.useRef)(null),ne=(0,Rn.useRef)(null),oe=(0,Rn.useRef)(null),pe=(0,Rn.useRef)(null),ae=(0,Rn.useRef)(D),j={currentLocale:t,supportedLocales:o,userLocation:r,getCurrentUrl:e,isRTL:V,siteData:K,setSiteData:ye,headerPortalRef:se,pageBottomStickyPortalRef:ne,pageFixedPortalRef:oe,appPortalRef:pe,onRedirect:g,cookieManager:C,getUserInfo:I,getPersona:k,createUuidV4:v,onHlsVideo:w,personasRef:ae,updatePersonas:ee=>{O.isClient||M?.(ee),ae.current=ee}},Y=r8(t,F.searchParams),J=qM(O.domainName,O.trackingSettings.cookieDomain),U=FU(),E=DU(),X=E?nT(t,U,E):U,W={...IM,Anchor:fn};O.globalStyles&&Fk(O.globalStyles);let ie=i(Rn.StrictMode,{children:i($g,{tracer:Bo(),children:i($,{children:i(Bi.Provider,{value:Y,children:i(s8,{children:i(Zl,{client:d,children:i(kb.Provider,{value:{controller:b},children:i(nn.Provider,{value:L,children:i(He.Provider,{value:W,children:i(EC,{value:z,children:i(Ze.Provider,{value:m,children:i(xi,{context:l,children:i(o7,{children:i(Z.Provider,{value:j,children:x(rv.Provider,{value:A,children:[i(u7,{}),i(g7,{}),i(p7,{}),i(f7,{}),i(Tx,{}),i(mv,{}),i(l8,{}),i(f8,{}),i(k7,{}),i(E7,{}),i(sW,{}),i(w7,{children:i(M7,{sessionValue:p,children:i(mx,{shopifyData:s,children:i(qm,{children:x(v7,{motif:X,tag:"section",children:[i(D9,{}),i(Se.Provider,{value:{elementLocation:"Header"},children:i(X9,{config:O})}),i(gv,{}),i(Se.Provider,{value:{elementLocation:"Page"},children:i(wU,{globalPrivacyControl:S})}),i(KL,{}),i(Se.Provider,{value:{elementLocation:"Footer"},children:i(_9,{cookieSettingsUrl:J})}
14239),i(p8,{backgroundColor:O.theme?.defaultPageBackgroundColor,isClient:O.isClient,globalPrivacyControl:S}),O.shopify&&O.site!=="stinson"&&i(vx,{})]})})})})})]})})})})})})})})})})})})})})});return _.endSpan(),ie};var Zf=class{constructor(){we(this,"getCookieJson",t=>{let o=this.getCookie(t);if(o)try{return JSON.parse(o)}catch(n){Be({component:"CookieManager",message:`Error parsing cookie: "${o}"`,error:n});return}});we(this,"setCookieJson",(t,o,n)=>{o?this.setCookie(t,JSON.stringify(o),n):this.setCookie(t,"",n)})}};var eb=class extends Zf{constructor(){super(...arguments);we(this,"getCookie",o=>to.get(o));we(this,"setCookie",(o,n,r)=>{to.set(o,n,r)});we(this,"deleteCookie",o=>to.remove(o))}};var tae="XXXXXXXX-XXXX-4XXX-YXXX-XXXXXXXXXXXX",oae=()=>{let e=0,t=window.crypto.getRandomValues(new Uint8Array(32));return tae.replace(/[XY]/g,o=>{let n=t[e++]%16;return o==="X"?n.toString(16):o==="Y"?(n>>2&128).toString(16):"0"})},pW=()=>"randomUUID"in window.crypto?window.crypto.randomUUID():oae();function nae(e){return function(t,o,n){var r=Object(t);if(!hr(t)){var s=tn(o,3);t=gd(t),o=function(p){return s(r[p],p,r)}}var l=e(t,o,n);return l>-1?r[s?t[l]:l]:void 0}}var cW=nae;var aae=Math.max,rae=Math.min;function iae(e,t,o){var n=e==null?0:e.length;if(!n)return-1;var r=n-1;return o!==void 0&&(r=o0(o),r=o<0?aae(n+r,0):rae(r,n-1)),n0(e,tn(t,3),r,!0)}var dW=iae;var sae=cW(dW),uW=sae;nQ();aQ();var lae="[object String]";function pae(e){return typeof e=="string"||!Yo(e)&&mk(e)&&ck(e)==lae}var yW=pae;var cae=my("length"),mW=cae;var fW="\\ud800-\\udfff",dae="\\u0300-\\u036f",uae="\\ufe20-\\ufe2f",yae="\\u20d0-\\u20ff",mae=dae+uae+yae,gae="\\ufe0e\\ufe0f",fae="["+fW+"]",JI="["+mae+"]",ZI="\\ud83c[\\udffb-\\udfff]",bae="(?:"+JI+"|"+ZI+")",bW="[^"+fW+"]",SW="(?:\\ud83c[\\udde6-\\uddff]){2}",hW="[\\ud800-\\udbff][\\udc00-\\udfff]",Sae="\\u200d",CW=bae+"?",xW="["+gae+"]?",hae="(?:"+Sae+"(?:"+[bW,SW,hW].join("|")+")"+xW+CW+")*",Cae=xW+CW+hae,xae="(?:"+[bW+JI+"?",JI,SW,hW,fae].join("|")+")",gW=RegExp(ZI+"(?="+ZI+")|"+xae+Cae,"g");function vae(e){for(var t=gW.lastIndex=0;gW.test(e);)++t;return t}var vW=vae;function Iae(e){return kM(e)?vW(e):mW(e)}var IW=Iae;var kae="[object Map]",Mae="[object Set]";function Tae(e){if(e==null)return 0;if(hr(e))return yW(e)?IW(e):e.length;var t=xk(e);return t==kae||t==Mae?e.size:fk(e).length}var kW=Tae;var Aae=(e,t)=>{let o=t.url??new URL(window.location.href),n={host:o.host,path:o.pathname,query:JSON.stringify(Object.fromEntries(o.searchParams.entries())),page_locale:t.locale};switch(t.variantId&&(n.experiment_category="Page",n.experiment_group=t.variantId,n.experiment_id=t.experimentId??"None"),e.type){case Ae.CUSTOM:{switch(e.subscribedEventType){case"page_load":case"first_page_load":return{event_name:"MARKETING_WEB_PAGE_VIEW",...n,is_landing_page:e.subscribedEventType==="first_page_load"};case"experiment_impression":return{event_name:"MARKETING_WEB_INTERNAL_EVENT",...n,type:"useExperiment",category:"Experiment",label:`${e.experimentId?.replace(/[ _]/,"-")}:${na(e.variantId)}`,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case"ecommerce":return{event_name:"MARKETING_WEB_SHOPIFY_EVENT",...n,type:e.eventAction,category:e.eventCategory,label:e.eventLabel??void 0,element_location:t.elementLocation,element_text:t.elementText,shopify_data:JSON.stringify(e.ecommerce)}}break}case Ae.USER_ACTION:return{event_name:"MARKETING_WEB_USER_INTERACTION",...n,type:e.action,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case Ae.INFO:return{event_name:"MARKETING_WEB_INTERNAL_EVENT",...n,type:e.action,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case Ae.VALUE:return{event_name:"MARKETING_WEB_VALUE_EVENT",...n,metric:e.value,type:e.variable,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl};case Ae.TIMING:return{event_name:"MARKETING_WEB_TIMING_EVENT",...n,duration:e.valueMs,type:e.variable,category:e.component,label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl}}},_ae=(e,t)=>{if(t.pixelId)return{event_name:"MARKETING_WEB_SNAP_PIXEL_EVENT",pixel_id:t.pixelId,triggering_event_name:e.event_name}},wae=(e,t)=>{if(t.webClientId)return{event_name:"MARKETING_WEB_CLIENT_ID_EVENT",web_client_id:t.webClientId,triggering_event_name:e.event_name}},tb=new Set;var id=(e,t)=>{let o=[],n=Aae(e,t);if(!n)return o;o.push(n);let r=_ae(n,t);if(r){let l=[r.event_name,r.pixel_id].join(":");tb.has(l)||(o.push(r),tb.add(l))}let s=wae(n,t);if(s){let l=[s.event_name,s.web_client_id].join(":");tb.has(l)||(o.push(s),tb.add(l))}return o};var ek=(e,t)=>{let o=t.url??new URL(window.location.href),r={uri_info:JSON.stringify({href:o.href,host:o.host,path:o.pathname,filename:uW(o.pathname.split("/"),kW)??"",query:Object.fromEntries(o.searchParams.entr
14239ies())}),experiment_name:t.experimentId,experiment_variation:t.variantId,page_locale:t.locale},s=id(e,t);switch(e.type){case Ae.CUSTOM:{switch(e.subscribedEventType){case"first_page_load":{s.push({event_name:"FOR_BUSINESS_PAGE_VIEW",...r});break}case"page_load":{s.push({event_name:"FOR_BUSINESS_PAGE_NAVIGATION",...r});break}}break}case Ae.USER_ACTION:{s.push({event_name:"FOR_BUSINESS_CLICK",...r,event_category:e.component,event_action:e.action,event_label:e.label,element_location:t.elementLocation,element_text:t.elementText,target_url:t.targetUrl});break}}return s};var MW=new Set([Ae.INFO,Ae.DEBUG,Ae.USER_ACTION,Ae.CUSTOM]),TW=e=>{switch(e.type){case Ae.TIMING:return"app_measure_event";case Ae.VALUE:return"app_measure_event";case Ae.ERROR:{if(e.component==="Csp")return"csp_error";if(e.component==="Contentful")return"contentful_error"}}return null},AW=e=>({blockedUri:e.blockedUri,sourceFile:e.sourceFile,violatedDirective:e.violatedDirective,errorCode:e.errorCode,errorName:e.errorName,region:e.region,locale:e.locale,uaBrand:e.uaBrand,uaPlatform:e.uaPlatform}),_W=e=>{if((e.type===Ae.TIMING||e.type===Ae.VALUE)&&e.component==="NavigationTiming"){let t=cp(e);return t.label="[REDACTED]",t}if(e.type===Ae.INFO&&e.component==="PersonaMatch"){let t=cp(e);return t.label="[REDACTED]",t}if((e.type===Ae.TIMING||e.type===Ae.VALUE)&&e.component==="WebVitals"){let t=cp(e);return t.label="[REDACTED]",t}if(e.type===Ae.TIMING&&e.component==="Video"){let t=cp(e);return t.label="[REDACTED]",t}return e};var Dae=["Can't find variable: ResizeObserver","Importing a module script failed.","o.flush is not a function","ResizeObserver loop limit exceeded","Cannot read properties of null (reading 'querySelector')","Form submit failed","Missing fields in LS download form: eula"],Pae=["Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed"];function wW(){return(e,t)=>{let o=e?.exception?.values?.[0]?.stacktrace?.frames,n=e.exception?.values?.[0]?.value??e.message;if(!n&&!o)return e;if(n?.includes("599")||Pae.some(l=>n?.includes(l)))return null;let r=n?.match(/Query execution error\. Link from entry(.*)cannot be resolved/);if(r?.length&&r[0])return e.fingerprint=[r[0]],e;if(n?.includes("Failed to fetch dynamically imported module"))return e.fingerprint=["Failed to fetch dynamically imported module"],e;if(n?.includes("Response closed without headers")&&o?.some(l=>l.module?.includes("@improbable-eng/grpc-web")))return e.fingerprint=["[grpc-web] Response closed without headers"],e;if(n?.includes("Failed to fetch")&&e.request?.url?.includes("download"))return e.fingerprint=["[download] Failed to fetch"],e;let s=e.request?.url??"/";for(let l of Dae)if(n?.includes(l))return e.fingerprint=[s,l],e;return e}}var Nae="X-Snap-Mwp-Auth",ob=class extends Hd{constructor(o){super({requiredPermissions:["logging"],filter:o.filter});we(this,"props");we(this,"events");we(this,"timeout");we(this,"fetch");we(this,"clock");we(this,"exportEvents",async()=>{if(this.timeout=void 0,this.events.length===0)return;let o={events:this.getSerializedEvents(),timestamp:this.clock()};this.events=[];try{let n={events:[o.events[0]],timestamp:o.timestamp},r=await Eae(n),s=window.btoa(r),l=await this.fetch("/api/events",{method:"POST",body:JSON.stringify(o),headers:{[Nae]:s,"Content-Type":"application/json"}});if(!l.ok){let p=await l.text();throw new Error(`Events export request failed - status: ${l.status}, value:${p} `)}}catch(n){this.props.onError?.(Ft(n))}this.ensureTimeout()});we(this,"getSerializedEvents",()=>this.events.map(o=>{if(o.event.type!=="error")return o;let n=o.event;return n.message||!n.error||(n.message=Ft(n.error).message),o}));we(this,"init",()=>Promise.resolve());we(this,"flushInternal",async()=>{this.timeout&&clearTimeout(this.timeout),await this.exportEvents()});this.props=o,this.fetch=o.fetch??En,this.events=[],this.clock=o.clock??Date.now}ensureTimeout(){this.timeout===void 0&&(this.timeout=setTimeout(this.exportEvents,this.props.logTimeIntervalMs))}logEventInternal(o,n){this.events.push({event:o,context:n??{}}),this.ensureTimeout()}};async function Eae(e){let t=typeof e=="string"?e:JSON.stringify(e),n=new TextEncoder().encode(t),r=await window.crypto.subtle.digest("SHA-256",
14239n);return Array.from(new Uint8Array(r)).map(s=>s.toString(16).padStart(2,"0")).join("")}var DW=5e3;function PW(e){return new RegExp(`${e}=([^;]+);`).exec(document.cookie)?.[1]}function Rae(){return{pixelId:PW("_scid")}}var tk=class{constructor(){we(this,"experimentContext",{});we(this,"getExperimentContext",()=>this.experimentContext);we(this,"allow",()=>Promise.resolve());we(this,"deny",()=>Promise.resolve());we(this,"flush",()=>Promise.resolve())}logEvent(t,o){t.type===Ae.CUSTOM&&t.subscribedEventType==="experiment_impression"&&(t.experimentId?(this.experimentContext.experimentId=t.experimentId,this.experimentContext.variantId=t.variantId):(this.experimentContext.experimentId=void 0,this.experimentContext.variantId=void 0))}},NW=e=>{if(e.isTest||!e.isClient)return;ke.addContextProvider(()=>({region:e.region,buildNumber:e.buildNumber,eventOrigin:"client"}));let t=new tk;ke.addEventListeners(t),ke.addContextProvider(()=>t.getExperimentContext()),ke.addContextProvider(Rae),ke.addContextProvider(()=>({webClientId:PW("sc-wcid")}));for(let o of e.trackingSettings.eventListeners)switch(o.vendor){case"Graphene":{ke.addEventListeners(new V7({partitionName:o.partitionName,variant:e.site,flavor:e.isDeploymentTypeProd?"production":"development",logTimeInterval:DW,getMetricName:TW,getAdditionalDimensions:AW,filter:n=>!MW.has(n.type),eventRewrite:_W}));break}case"MwpClientEventExport":{if(!e.isCompilationModeProd||!e.isDeploymentTypeProd||!e.buildNumber)break;ke.addEventListeners(new ob({useAsync:!0,logTimeIntervalMs:DW,onError:n=>console.error(n)}));break}case"GoogleTagManager":{let n=document.querySelector("script[nonce]")?.nonce,r=new Lg({useAsync:!0,gtmId:o.googleTagManagerId,nonce:n,initialContext:{locale:e.locale,globalPrivacyControl:e.globalPrivacyControl}});ke.addEventListeners(r);break}case"Blizzard":{let n=o.eventFormat==="ForBusiness"?ek:id;ke.addEventListeners(new Mv({useAsync:!0,isProd:e.isDeploymentTypeProd,cookieDomain:e.trackingSettings.cookieDomain,eventFormatter:n}));break}case"Sentry":{if(!e.isDeploymentTypeProd)break;let n=e.commit?.slice(0,9)??"unknown",r={dsn:o.dsn,tracesSampleRate:1,useAsync:!0,getContext:(s,l)=>({contexts:{location:{userCountry:l.userCountry??"unknown_country",locale:l.locale??"unknown_locale",region:l.region??"unknown_region"}}}),environment:e.deploymentType,release:`${o.projectName}@${n}`,filter(s,l){return!(s.type===Ae.ERROR&&s.component==="Csp"||s.type===Ae.DEBUG)},beforeSend:wW()};o.allowUrls&&(r.allowUrls=o.allowUrls),ke.addEventListeners(new O7(r));break}case"Console":{ke.addEventListeners(new R7({filter(n,r){return!(n.type===Ae.TIMING&&n.component==="Contentful"&&n.variable==="request_duration"&&n.valueMs<1e3)},getFlatContext(n){return{elementLocation:n.elementLocation,elementText:n.elementText,targetUrl:n.targetUrl}},customEventFormatter(n,r){return n.subscribedEventType==="experiment_impression"?!n.experimentId||!n.variantId?null:`Experiment: Impression on ${n.experimentId}.${n.variantId}`:[Ht(n,"type")]}}));break}}};var EW=5e3;function RW(e){let t=e.featureFlags?.disableLazyLoadLogging==="true"||!e.isDeploymentTypeProd,o=performance.now(),n=()=>{ke.allow("logging");let r=performance.now();ke.logTiming({component:"logInit",variable:"allowLogging",valueMs:r-o})};t?setTimeout(n,10):typeof globalThis.requestIdleCallback=="function"?setTimeout(()=>{requestIdleCallback(n,{timeout:EW})},1e3):typeof globalThis.requestAnimationFrame=="function"?setTimeout(()=>{requestAnimationFrame(n)},1e3):setTimeout(n,EW)}function FW(e,t){return O.isDeploymentTypeProd?e:{...e,environmentName:t.get("contentfulEnvironmentName")??e.environmentName}}var WW=T(UW());var ok=(0,WW.default)(async e=>{let t=pI(e),o=Bo().startSpan("generateFragmentTypes"),r=await(await En(t.uri,{method:"POST",headers:{Authorization:t.headers?.Authorization??"","Content-Type":"application/json"},body:JSON.stringify({variables:{},query:"{__schema{types{kind name possibleTypes{name}}}}"})})).json();if(!r.data)throw Error(`Schema request failed: ${JSON.stringify(r)}`);let s=Qae(r.data);return o.endSpan(),s});function Qae(e){let t={};
14239return e.__schema.types.forEach(o=>{o.possibleTypes&&(t[o.name]=o.possibleTypes.map(n=>n.name))}),t}var ab=class{constructor(){we(this,"spanCount",0);we(this,"listeners",new Set);we(this,"activeEvents",0);we(this,"startSpan",t=>{let o=`${this.spanCount++}: ${t}`;return this.activeEvents++,this.listeners.forEach(n=>n(o,t,"START",this.activeEvents)),performance.mark(`${o} start`),{endSpan:()=>this.endSpan(t,o)}});we(this,"endSpan",(t,o)=>{performance.mark(`${o} end`),performance.measure(t,`${o} start`,`${o} end`),this.activeEvents--,this.listeners.forEach(n=>n(o,t,"END",this.activeEvents))});we(this,"addEventListener",t=>(this.listeners.add(t),()=>{this.listeners.delete(t)}))}};var QW=new Set([".snapchat.com",".snap.com",".arcadiacreativestudio.com",".pixy.com",".yellowla.com",".specs.com",".spectacles.com",".snap-dev.net",".sc-corp.net","localhost"]),qW="EssentialSession",nk="sc-wcid";function KW(e){let{currentUrl:t,userLocation:o,cookieManager:n,createUuidV4:r}=e;if(n.getCookie(qW)==="false")return;let s=n.getCookie(nk);if(s)return s;let l=o.country?LM.has(o.country):!0,p=new Date;l?p.setDate(p.getDate()+1):p.setFullYear(p.getFullYear()+1);let d=Mr(t.hostname);d!=="localhost"&&(d=`.${d}`),d===".appspot.com"&&(d=".sc-corp.net");let u={expires:new Date(p),path:"/",secure:!0,httpOnly:!1,credentials:"same-origin",domain:QW.has(d)?d:void 0},y=r();return n.setCookie(nk,y,u),y}var Kae={currentLocale:ys.currentLocale,supportedLocales:ys.supportedLocales,userLocation:ys.userLocation,pageLayoutContext:{footerView:"Full Footer",headerView:"Full Header",hasSubNav:!1,hasSideNav:!1,hasCustomSideNav:!1}};async function jae(){let e=window.APP_STATE??Kae;(0,jW.printWarning)(e.currentLocale);let t={...O,locale:e.currentLocale,globalPrivacyControl:navigator.globalPrivacyControl};if(NW(t),RW(t),i7(new ab),window.location.pathname.startsWith(`/${e.currentLocale}`)){let F=new URL(window.location.href);F.pathname=F.pathname.replace(`/${e.currentLocale}`,""),e.currentLocale!==ao&&F.searchParams.set("lang",e.currentLocale),window.history.pushState({},"",F)}let o=window.APOLLO_STATE,n=window.GLOBAL_APOLLO_STATE,r=new URLSearchParams(window.location.search),s=FW(O.contentful,r),l=window.APOLLO_FRAGMENTS&&Object.keys(window.APOLLO_FRAGMENTS).length>0?window.APOLLO_FRAGMENTS:await ok(s),p=window.GLOBAL_APOLLO_FRAGMENTS&&Object.keys(window.GLOBAL_APOLLO_FRAGMENTS).length>0?window.GLOBAL_APOLLO_FRAGMENTS:await ok(O.contentfulGlobal),d=Yc(e.currentLocale,[s,l,o]),u=Yc(e.currentLocale,[O.contentfulGlobal,p,n]),y=new Map;window.ASYNC_DATA_CONTROLLER_CACHE&&(y=new Map(Object.entries(window.ASYNC_DATA_CONTROLLER_CACHE??{})));let m=new Cb({cache:y,defaultExpiryTimeMs:363e4,clock:Date.now}),g=new eb,f=pW,b=KW({cookieManager:g,createUuidV4:f,currentUrl:new URL(window.location.href),userLocation:e.userLocation}),S=()=>b?Promise.resolve({experimentBucket:{id:b}}):fetch("/api/userinfo").then(F=>F.json()).catch(()=>({experimentBucket:{id:"default"}})),C=()=>{let F=new URLSearchParams(window.location.search).get("overrideHashedIp"),B=`/api/persona${!O.isDeploymentTypeProd&&!!F?`?overrideHashedIp=${F}`:""}`;return fetch(B).then(V=>V.json()).catch(()=>({}))},I=(F,$)=>{let B=$?.newTab;if(F.startsWith("http")){window.open(F,B?"_blank":"_self");return}if(v&&!B){v.push(F),window.history.pushState(null,"",new URL(F,window.location.href));return}window.open(F,B?"_blank":"_self")},k=new r0,v,A={...e,getCurrentUrl:()=>window.location.href,routerContext:{},helmetContext:{},apolloClient:d,globalApolloClient:u,onRedirect:I,onHistory:F=>{v=F},browserFeatures:k,asyncDataController:m,globalPrivacyControl:navigator.globalPrivacyControl,cookieManager:g,createUuidV4:f,getUserInfo:S,getPersona:C,singleCallbackCache:new Map,onHlsVideo:()=>{}},w=ik({key:"marketing-web-emotion"}),D=i(pk,{value:w,children:i(lW,{...A})}),M=document.querySelector("main");M?M.hasChildNodes()??!1?(0,rb.hydrateRoot)(M,D):(0,rb.createRoot)(M).render(D):console.error("HTML must contain a <main> element.");let _=0;if(O.isLocal&&O.compilationMode==="development"){let F=new EventSource("/esbuild",{});F.addEventListener("error",()=>{console.error("/esbuild server disconnected."),_++,_>1e3&&(F.close(),console.info("Esbuild could not connnect after a 1000 attempts. Closing connection. Please reload."))}),F.addEventListener("change",$=>{let B=JSON.parse($.data);
14239B.errors?.length?B.errors.forEach(V=>{let L=V.location,z=`${L.file}:${L.line}:${L.column}`;console.error(` 'Build failed. Not reloading.', ${V.text} (${z})`)}):(console.info("Served content changed. Reloading"),location.reload())})}}jae().catch(e=>console.error(e)); 14240/*! Bundled license information: 14241 14242@contentful/rich-text-html-renderer/dist/rich-text-html-renderer.es5.js: 14243 (*! 14244 * escape-html 14245 * Copyright(c) 2012-2013 TJ Holowaychuk 14246 * Copyright(c) 2015 Andreas Lubbe 14247 * Copyright(c) 2015 Tiancheng "Timothy" Gu 14248 * MIT Licensed 14249 *) 14250*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.